Changeset 3396f59 in mainline for arch/amd64/src/smp/ap.S
- Timestamp:
- 2005-09-04T08:28:55Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ff2f3f
- Parents:
- 005384ad
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/src/smp/ap.S
r005384ad r3396f59 55 55 movw %ax, %ds 56 56 57 lgdt ap_bootstrap_gdtr_boot # initialize Global Descriptor Table register57 lgdt real_bootstrap_gdtr_boot # initialize Global Descriptor Table register 58 58 59 59 movl %cr0, %eax … … 97 97 .code64 98 98 start64: 99 movq $ctx, %rax 100 movq 0(%rax), %rsp 99 movq (ctx), %rsp 101 100 call main_ap # never returns 102 101 103 .global ap_bootstrap_gdtr_boot104 ap_bootstrap_gdtr_boot:105 .word gdtselector(GDT_ITEMS)106 .long KA2PA(gdt)107 108 102 109 103 #endif /* __SMP__ */
Note:
See TracChangeset
for help on using the changeset viewer.