Changes in kernel/arch/ia32/include/pm.h [99d6fd0:a13c6bc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/pm.h
r99d6fd0 ra13c6bc 58 58 #endif /* CONFIG_FB */ 59 59 60 #define gdtselector(des) ((des) << 3)60 #define GDT_SELECTOR(des) ((des) << 3) 61 61 62 62 #define PL_KERNEL 0 … … 67 67 #define AR_CODE (3 << 3) 68 68 #define AR_WRITABLE (1 << 1) 69 #define AR_INTERRUPT (0x0e) 70 #define AR_TSS (0x09) 69 #define AR_INTERRUPT (0xe) 70 #define AR_TRAP (0xf) 71 #define AR_TSS (0x9) 71 72 72 73 #define DPL_KERNEL (PL_KERNEL << 5) … … 74 75 75 76 #define TSS_BASIC_SIZE 104 76 #define TSS_IOMAP_SIZE ( 16 * 1024 + 1) /* 16K for bitmap + 1 terminating byte for convenience */77 #define TSS_IOMAP_SIZE (8 * 1024 + 1) /* 8K for bitmap + 1 terminating byte for convenience */ 77 78 78 79 #define IO_PORTS (64 * 1024) … … 80 81 #ifndef __ASM__ 81 82 82 #include < arch/types.h>83 #include <typedefs.h> 83 84 #include <arch/context.h> 84 85 … … 152 153 153 154 extern ptr_16_32_t gdtr; 154 extern ptr_16_32_t bootstrap_gdtr;155 155 extern ptr_16_32_t protected_ap_gdtr; 156 156 extern tss_t *tss_p;
Note:
See TracChangeset
for help on using the changeset viewer.