mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -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
10
hw/pckbd.c
10
hw/pckbd.c
|
@ -123,7 +123,7 @@ typedef struct KBDState {
|
|||
|
||||
qemu_irq irq_kbd;
|
||||
qemu_irq irq_mouse;
|
||||
a_target_phys_addr mask;
|
||||
target_phys_addr_t mask;
|
||||
} KBDState;
|
||||
|
||||
static KBDState kbd_state;
|
||||
|
@ -354,7 +354,7 @@ static const VMStateDescription vmstate_kbd = {
|
|||
};
|
||||
|
||||
/* Memory mapped interface */
|
||||
static uint32_t kbd_mm_readb (void *opaque, a_target_phys_addr addr)
|
||||
static uint32_t kbd_mm_readb (void *opaque, target_phys_addr_t addr)
|
||||
{
|
||||
KBDState *s = opaque;
|
||||
|
||||
|
@ -364,7 +364,7 @@ static uint32_t kbd_mm_readb (void *opaque, a_target_phys_addr addr)
|
|||
return kbd_read_data(s, 0) & 0xff;
|
||||
}
|
||||
|
||||
static void kbd_mm_writeb (void *opaque, a_target_phys_addr addr, uint32_t value)
|
||||
static void kbd_mm_writeb (void *opaque, target_phys_addr_t addr, uint32_t value)
|
||||
{
|
||||
KBDState *s = opaque;
|
||||
|
||||
|
@ -387,8 +387,8 @@ static CPUWriteMemoryFunc * const kbd_mm_write[] = {
|
|||
};
|
||||
|
||||
void i8042_mm_init(qemu_irq kbd_irq, qemu_irq mouse_irq,
|
||||
a_target_phys_addr base, a_ram_addr size,
|
||||
a_target_phys_addr mask)
|
||||
target_phys_addr_t base, ram_addr_t size,
|
||||
target_phys_addr_t mask)
|
||||
{
|
||||
KBDState *s = &kbd_state;
|
||||
int s_io_memory;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue