|
|
| version 1.10, 2004/01/23 16:32:36 | version 1.12, 2004/02/03 14:49:39 |
|---|---|
| Line 75 typedef union { | Line 75 typedef union { |
| } | } |
| #endif | #endif |
| #include "cpu_io.h" | |
| #include "cpu_mem.h" | |
| #include "exception.h" | |
| #include "paging.h" | |
| #include "resolve.h" | |
| #include "segments.h" | #include "segments.h" |
| #include "task.h" | |
| #ifdef __cplusplus | #ifdef __cplusplus |
| extern "C" { | extern "C" { |
| Line 170 typedef struct { | Line 164 typedef struct { |
| BYTE paging; | BYTE paging; |
| BYTE vm86; | BYTE vm86; |
| DWORD pde_base; | |
| DWORD ioaddr; /* I/O bitmap linear address */ | DWORD ioaddr; /* I/O bitmap linear address */ |
| WORD iolimit; /* I/O bitmap count */ | WORD iolimit; /* I/O bitmap count */ |
| Line 246 extern sigjmp_buf exec_1step_jmpbuf; | Line 242 extern sigjmp_buf exec_1step_jmpbuf; |
| /* version */ | /* version */ |
| #define CPU_FAMILY 4 | #define CPU_FAMILY 4 |
| #define CPU_MODEL 1 | #define CPU_MODEL 2 |
| #define CPU_STEPPING 3 | #define CPU_STEPPING 3 |
| /* feature */ | /* feature */ |
| Line 416 void set_eflags(DWORD new_flags, DWORD m | Line 412 void set_eflags(DWORD new_flags, DWORD m |
| #define CPU_STAT_VM86 CPU_STATSAVE.cpu_stat.vm86 | #define CPU_STAT_VM86 CPU_STATSAVE.cpu_stat.vm86 |
| #define CPU_STAT_PAGING CPU_STATSAVE.cpu_stat.paging | #define CPU_STAT_PAGING CPU_STATSAVE.cpu_stat.paging |
| #define CPU_STAT_CPL CPU_STATSAVE.cpu_stat.cpl | #define CPU_STAT_CPL CPU_STATSAVE.cpu_stat.cpl |
| #define CPU_STAT_PDE_BASE CPU_STATSAVE.cpu_stat.pde_base | |
| #define CPU_STAT_IOPL ((CPU_EFLAG & IOPL_FLAG) >> 12) | #define CPU_STAT_IOPL ((CPU_EFLAG & IOPL_FLAG) >> 12) |
| #define CPU_IOPL0 0 | #define CPU_IOPL0 0 |
| Line 545 void tr_dump(WORD selector, DWORD base, | Line 542 void tr_dump(WORD selector, DWORD base, |
| } | } |
| #endif | #endif |
| #include "cpu_io.h" | |
| #include "cpu_mem.h" | |
| #include "exception.h" | |
| #include "paging.h" | |
| #include "resolve.h" | |
| #include "task.h" | |
| #endif /* !IA32_CPU_CPU_H__ */ | #endif /* !IA32_CPU_CPU_H__ */ |