split out ioport related stuffs from vl.c into ioport.c.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Isaku Yamahata 2009-07-02 19:32:06 +09:00 committed by Anthony Liguori
parent 89e671e3f3
commit 3299397760
7 changed files with 317 additions and 248 deletions

View file

@ -2,13 +2,9 @@
#define HW_ISA_H
/* ISA bus */
extern target_phys_addr_t isa_mem_base;
#include "ioport.h"
int register_ioport_read(int start, int length, int size,
IOPortReadFunc *func, void *opaque);
int register_ioport_write(int start, int length, int size,
IOPortWriteFunc *func, void *opaque);
void isa_unassign_ioport(int start, int length);
extern target_phys_addr_t isa_mem_base;
void isa_mmio_init(target_phys_addr_t base, target_phys_addr_t size);