Revision c227f099 ioport-user.c
b/ioport-user.c | ||
---|---|---|
23 | 23 |
#include "qemu-common.h" |
24 | 24 |
#include "ioport.h" |
25 | 25 |
|
26 |
void cpu_outb(a_pio_addr addr, uint8_t val)
|
|
26 |
void cpu_outb(pio_addr_t addr, uint8_t val)
|
|
27 | 27 |
{ |
28 | 28 |
fprintf(stderr, "outb: port=0x%04"FMT_pioaddr", data=%02"PRIx8"\n", |
29 | 29 |
addr, val); |
30 | 30 |
} |
31 | 31 |
|
32 |
void cpu_outw(a_pio_addr addr, uint16_t val)
|
|
32 |
void cpu_outw(pio_addr_t addr, uint16_t val)
|
|
33 | 33 |
{ |
34 | 34 |
fprintf(stderr, "outw: port=0x%04"FMT_pioaddr", data=%04"PRIx16"\n", |
35 | 35 |
addr, val); |
36 | 36 |
} |
37 | 37 |
|
38 |
void cpu_outl(a_pio_addr addr, uint32_t val)
|
|
38 |
void cpu_outl(pio_addr_t addr, uint32_t val)
|
|
39 | 39 |
{ |
40 | 40 |
fprintf(stderr, "outl: port=0x%04"FMT_pioaddr", data=%08"PRIx32"\n", |
41 | 41 |
addr, val); |
42 | 42 |
} |
43 | 43 |
|
44 |
uint8_t cpu_inb(a_pio_addr addr)
|
|
44 |
uint8_t cpu_inb(pio_addr_t addr)
|
|
45 | 45 |
{ |
46 | 46 |
fprintf(stderr, "inb: port=0x%04"FMT_pioaddr"\n", addr); |
47 | 47 |
return 0; |
48 | 48 |
} |
49 | 49 |
|
50 |
uint16_t cpu_inw(a_pio_addr addr)
|
|
50 |
uint16_t cpu_inw(pio_addr_t addr)
|
|
51 | 51 |
{ |
52 | 52 |
fprintf(stderr, "inw: port=0x%04"FMT_pioaddr"\n", addr); |
53 | 53 |
return 0; |
54 | 54 |
} |
55 | 55 |
|
56 |
uint32_t cpu_inl(a_pio_addr addr)
|
|
56 |
uint32_t cpu_inl(pio_addr_t addr)
|
|
57 | 57 |
{ |
58 | 58 |
fprintf(stderr, "inl: port=0x%04"FMT_pioaddr"\n", addr); |
59 | 59 |
return 0; |
Also available in: Unified diff