Changeset 6f878b7 in mainline for arch/amd64/src/pm.c
- Timestamp:
- 2005-08-30T15:06:03Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9387ea
- Parents:
- 1e9a463
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/pm.c
r1e9a463 r6f878b7 45 45 .base_0_15 = 0, 46 46 .base_16_23 = 0, 47 .access = AR_PRESENT | AR_CODE | DPL_KERNEL ,47 .access = AR_PRESENT | AR_CODE | DPL_KERNEL | AR_READABLE , 48 48 .limit_16_19 = 0xf, 49 49 .available = 0, 50 50 .longmode = 1, 51 .special = 0, 51 .special = 0, 52 52 .granularity = 1, 53 53 .base_24_31 = 0 }, … … 61 61 .longmode = 0, 62 62 .special = 0, 63 .granularity = 0,63 .granularity = 1, 64 64 .base_24_31 = 0 }, 65 65 /* UTEXT descriptor */ … … 85 85 .granularity = 1, 86 86 .base_24_31 = 0 }, 87 /* KTEXT 16-bit protected */ 88 { .limit_0_15 = 0xffff, 89 .base_0_15 = 0, 90 .base_16_23 = 0, 91 .access = AR_PRESENT | AR_CODE | DPL_KERNEL | AR_READABLE, 92 .limit_16_19 = 0xf, 93 .available = 0, 94 .longmode = 0, 95 .special = 0, 96 .granularity = 1, 97 .base_24_31 = 0 }, 87 98 /* TSS descriptor - set up will be completed later */ 88 99 { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } … … 93 104 static struct tss tss; 94 105 95 /* gdtr is changed by kmp before next CPU is initialized */ 96 struct ptr_16_32 gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt) }; 97 //struct ptr_16_32 gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt) }; 98 struct ptr_16_32 idtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(idt) }; 106 /* Does not compile correctly if it does not exist */ 107 int __attribute__ ((section ("K_DATA_START"))) __fake;
Note:
See TracChangeset
for help on using the changeset viewer.