diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2016-02-01 11:18:11 +0530 |
---|---|---|
committer | Alexey Kardashevskiy <aik@ozlabs.ru> | 2016-02-08 16:40:39 +1100 |
commit | 9d4ff9d75cb483f7b8da30506859c83b45af4913 (patch) | |
tree | bd2100db3a3ef42800bc7a81952d001443cab7b5 /lib/libc | |
parent | f83299621cde03cd406cbb665fc5eb1f348afc9b (diff) | |
download | SLOF-9d4ff9d75cb483f7b8da30506859c83b45af4913.zip SLOF-9d4ff9d75cb483f7b8da30506859c83b45af4913.tar.gz SLOF-9d4ff9d75cb483f7b8da30506859c83b45af4913.tar.bz2 |
virtio: 1.0 helper to read 16/32/64 bit value
To avoid cluttering the driver code with modern/legacy code introduce
virtio_cpu_to_modern{16,32,64} and virtio_modern{16,32,64}_to_cpu in a
separate header file virtio-internal.h.
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Suggested-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions