20 #ifndef __X86EMU_X86EMUI_H 21 #define __X86EMU_X86EMUI_H 22 #define NO_SYS_HEADERS 28 #if defined(__cplusplus) && !defined(_NO_INLINE) 29 #define _INLINE inline 31 #define _INLINE static 37 #define X86EMU_UNUSED(v) 39 #define X86EMU_UNUSED(v) v 42 #include "../x86emu.h" 43 #include "../x86emu/debug.h" 44 #include "../x86emu/decode.h" 45 #include "../x86emu/fpu.h" 46 #include "../x86emu/fpu_regs.h" 47 #include "../x86emu/ops.h" 48 #include "../x86emu/prim_ops.h" 49 #include "../x86emu/regs.h" 51 #ifndef NO_SYS_HEADERS 62 extern u8(X86APIP sys_rdb)(u32 addr);
63 extern u16(X86APIP sys_rdw)(u32 addr);
64 extern u32(X86APIP sys_rdl)(u32 addr);
65 extern void(X86APIP sys_wrb)(u32 addr, u8 val);
66 extern void(X86APIP sys_wrw)(u32 addr, u16 val);
67 extern void(X86APIP sys_wrl)(u32 addr, u32 val);
69 extern u8(X86APIP sys_inb)(X86EMU_pioAddr addr);
70 extern u16(X86APIP sys_inw)(X86EMU_pioAddr addr);
71 extern u32(X86APIP sys_inl)(X86EMU_pioAddr addr);
72 extern void(X86APIP sys_outb)(X86EMU_pioAddr addr, u8 val);
73 extern void(X86APIP sys_outw)(X86EMU_pioAddr addr, u16 val);
74 extern void(X86APIP sys_outl)(X86EMU_pioAddr addr, u32 val);