mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Something
like this _must_ be presented on the list first so people can provide input
and cope with it.
This reverts commit 99a0949b72
.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
99a0949b72
commit
c227f0995e
316 changed files with 3332 additions and 3325 deletions
|
@ -54,7 +54,7 @@
|
|||
|
||||
struct VirtQueue;
|
||||
|
||||
static inline a_target_phys_addr vring_align(a_target_phys_addr addr,
|
||||
static inline target_phys_addr_t vring_align(target_phys_addr_t addr,
|
||||
unsigned long align)
|
||||
{
|
||||
return (addr + align - 1) & ~(align - 1);
|
||||
|
@ -70,7 +70,7 @@ typedef struct VirtQueueElement
|
|||
unsigned int index;
|
||||
unsigned int out_num;
|
||||
unsigned int in_num;
|
||||
a_target_phys_addr in_addr[VIRTQUEUE_MAX_SIZE];
|
||||
target_phys_addr_t in_addr[VIRTQUEUE_MAX_SIZE];
|
||||
struct iovec in_sg[VIRTQUEUE_MAX_SIZE];
|
||||
struct iovec out_sg[VIRTQUEUE_MAX_SIZE];
|
||||
} VirtQueueElement;
|
||||
|
@ -149,8 +149,8 @@ uint32_t virtio_config_readl(VirtIODevice *vdev, uint32_t addr);
|
|||
void virtio_config_writeb(VirtIODevice *vdev, uint32_t addr, uint32_t data);
|
||||
void virtio_config_writew(VirtIODevice *vdev, uint32_t addr, uint32_t data);
|
||||
void virtio_config_writel(VirtIODevice *vdev, uint32_t addr, uint32_t data);
|
||||
void virtio_queue_set_addr(VirtIODevice *vdev, int n, a_target_phys_addr addr);
|
||||
a_target_phys_addr virtio_queue_get_addr(VirtIODevice *vdev, int n);
|
||||
void virtio_queue_set_addr(VirtIODevice *vdev, int n, target_phys_addr_t addr);
|
||||
target_phys_addr_t virtio_queue_get_addr(VirtIODevice *vdev, int n);
|
||||
int virtio_queue_get_num(VirtIODevice *vdev, int n);
|
||||
void virtio_queue_notify(VirtIODevice *vdev, int n);
|
||||
uint16_t virtio_queue_vector(VirtIODevice *vdev, int n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue