Changeset 375237d1 in mainline for arch/ia32/src/pm.c
- Timestamp:
- 2005-09-02T15:36:48Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4bb86b4
- Parents:
- 32f6e1bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/pm.c
r32f6e1bd r375237d1 38 38 #include <mm/heap.h> 39 39 #include <memstr.h> 40 #include <arch/boot/boot.h> 40 41 41 42 /* … … 70 71 71 72 /* gdtr is changed by kmp before next CPU is initialized */ 72 struct ptr_16_32 gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt ) };73 struct ptr_16_32 gdtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(gdt), .base = KA2PA((__address) gdt - BOOT_OFFSET) }; 73 74 struct ptr_16_32 idtr __attribute__ ((section ("K_DATA_START"))) = { .limit = sizeof(idt), .base = KA2PA((__address) idt) }; 74 75
Note:
See TracChangeset
for help on using the changeset viewer.