Changeset 7e956eb in mainline for kernel/arch/ia32/include/pm.h
- Timestamp:
- 2007-11-17T19:49:31Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6c383b0
- Parents:
- 9cc0d7c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/pm.h
r9cc0d7c r7e956eb 36 36 #define KERN_ia32_PM_H_ 37 37 38 #define IDT_ITEMS 6439 #define GDT_ITEMS 38 #define IDT_ITEMS 64 39 #define GDT_ITEMS 7 40 40 41 41 #define VESA_INIT_SEGMENT 0x8000 … … 64 64 #define PL_USER 3 65 65 66 #define AR_PRESENT (1 <<7)67 #define AR_DATA (2 <<3)68 #define AR_CODE (3 <<3)69 #define AR_WRITABLE (1 <<1)66 #define AR_PRESENT (1 << 7) 67 #define AR_DATA (2 << 3) 68 #define AR_CODE (3 << 3) 69 #define AR_WRITABLE (1 << 1) 70 70 #define AR_INTERRUPT (0xe) 71 71 #define AR_TSS (0x9) 72 72 73 #define DPL_KERNEL (PL_KERNEL <<5)74 #define DPL_USER (PL_USER <<5)73 #define DPL_KERNEL (PL_KERNEL << 5) 74 #define DPL_USER (PL_USER << 5) 75 75 76 76 #define TSS_BASIC_SIZE 104 77 #define TSS_IOMAP_SIZE (16 *1024+1) /* 16K for bitmap + 1 terminating byte for convenience */77 #define TSS_IOMAP_SIZE (16 * 1024 + 1) /* 16K for bitmap + 1 terminating byte for convenience */ 78 78 79 #define IO_PORTS (64 *1024)79 #define IO_PORTS (64 * 1024) 80 80 81 81 #ifndef __ASM__
Note:
See TracChangeset
for help on using the changeset viewer.