From 5f6504956066090d81936c1621750b397f444c7b Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Thu, 2 Jul 2009 19:32:10 +0900 Subject: consolidate user cpu_{in, out}[bwl] into ioport-user.c Signed-off-by: Isaku Yamahata Signed-off-by: Anthony Liguori --- linux-user/main.c | 33 --------------------------------- 1 file changed, 33 deletions(-) (limited to 'linux-user') diff --git a/linux-user/main.c b/linux-user/main.c index d49605bd44..e331d658fb 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -85,39 +85,6 @@ void gemu_log(const char *fmt, ...) va_end(ap); } -void cpu_outb(CPUState *env, int addr, int val) -{ - fprintf(stderr, "outb: port=0x%04x, data=%02x\n", addr, val); -} - -void cpu_outw(CPUState *env, int addr, int val) -{ - fprintf(stderr, "outw: port=0x%04x, data=%04x\n", addr, val); -} - -void cpu_outl(CPUState *env, int addr, int val) -{ - fprintf(stderr, "outl: port=0x%04x, data=%08x\n", addr, val); -} - -int cpu_inb(CPUState *env, int addr) -{ - fprintf(stderr, "inb: port=0x%04x\n", addr); - return 0; -} - -int cpu_inw(CPUState *env, int addr) -{ - fprintf(stderr, "inw: port=0x%04x\n", addr); - return 0; -} - -int cpu_inl(CPUState *env, int addr) -{ - fprintf(stderr, "inl: port=0x%04x\n", addr); - return 0; -} - #if defined(TARGET_I386) int cpu_get_pic_interrupt(CPUState *env) { -- cgit v1.2.3