Changeset 946b630 in mainline for arch/amd64/src
- Timestamp:
- 2005-09-03T21:01:23Z (21 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5260478
- Parents:
- c835e7c
- Location:
- arch/amd64/src
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/boot/boot.S
rc835e7c r946b630 83 83 jmp 1b 84 84 85 # Protected 16-bit. We want to reuse the code-seg descriptor, 86 # the Default operand size must not be 1 when entering long mode 85 # Protected 32-bit. We want to reuse the code-seg descriptor, 86 # the Default operand size must not be 1 when entering long mode 87 .code32 87 88 now_in_prot: 88 89 # Set up stack & data descriptors 89 90 movw $gdtselector(KDATA_DES), %ax 90 91 movw %ax, %ds 91 movw %ax, %fs92 movw %ax, %gs93 92 movw %ax, %ss 94 93 … … 172 171 .word gdtselector(GDT_ITEMS) 173 172 .long KA2PA(gdt)-BOOT_OFFSET 174 175 .global ap_bootstrap_gdtr176 ap_bootstrap_gdtr:177 .word gdtselector(GDT_ITEMS)178 .long KA2PA(gdt)-BOOT_OFFSET -
arch/amd64/src/dummy.s
rc835e7c r946b630 28 28 29 29 .text 30 31 .global ap_boot32 33 ap_boot:34 ret -
arch/amd64/src/pm.c
rc835e7c r946b630 92 92 .granularity = 1, 93 93 .base_24_31 = 0 }, 94 /* KTEXT 16-bit protected */94 /* KTEXT 32-bit protected */ 95 95 { .limit_0_15 = 0xffff, 96 96 .base_0_15 = 0, … … 100 100 .available = 0, 101 101 .longmode = 0, 102 .special = 0,102 .special = 1, 103 103 .granularity = 1, 104 104 .base_24_31 = 0 },
Note:
See TracChangeset
for help on using the changeset viewer.
