Revision ba1c6e37 linux-user/main.c
b/linux-user/main.c | ||
---|---|---|
193 | 193 |
/***********************************************************/ |
194 | 194 |
/* new CPU core */ |
195 | 195 |
|
196 |
void port_outb(int addr, int val)
|
|
196 |
void cpu_x86_outb(int addr, int val)
|
|
197 | 197 |
{ |
198 | 198 |
fprintf(stderr, "outb: port=0x%04x, data=%02x\n", addr, val); |
199 | 199 |
} |
200 | 200 |
|
201 |
void port_outw(int addr, int val)
|
|
201 |
void cpu_x86_outw(int addr, int val)
|
|
202 | 202 |
{ |
203 | 203 |
fprintf(stderr, "outw: port=0x%04x, data=%04x\n", addr, val); |
204 | 204 |
} |
205 | 205 |
|
206 |
void port_outl(int addr, int val)
|
|
206 |
void cpu_x86_outl(int addr, int val)
|
|
207 | 207 |
{ |
208 | 208 |
fprintf(stderr, "outl: port=0x%04x, data=%08x\n", addr, val); |
209 | 209 |
} |
210 | 210 |
|
211 |
int port_inb(int addr)
|
|
211 |
int cpu_x86_inb(int addr)
|
|
212 | 212 |
{ |
213 | 213 |
fprintf(stderr, "inb: port=0x%04x\n", addr); |
214 | 214 |
return 0; |
215 | 215 |
} |
216 | 216 |
|
217 |
int port_inw(int addr)
|
|
217 |
int cpu_x86_inw(int addr)
|
|
218 | 218 |
{ |
219 | 219 |
fprintf(stderr, "inw: port=0x%04x\n", addr); |
220 | 220 |
return 0; |
221 | 221 |
} |
222 | 222 |
|
223 |
int port_inl(int addr)
|
|
223 |
int cpu_x86_inl(int addr)
|
|
224 | 224 |
{ |
225 | 225 |
fprintf(stderr, "inl: port=0x%04x\n", addr); |
226 | 226 |
return 0; |
Also available in: Unified diff