Changeset 3396f59 in mainline for arch/amd64/src/smp/ap.S


Ignore:
Timestamp:
2005-09-04T08:28:55Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8ff2f3f
Parents:
005384ad
Message:

Fixed gdtr naming issues after ia32 changes.
Fixed stack alignment on new thread to by multiple of 16,
we are now ABI-correct and we do not #GP on va_arg to boot.
Fixed bad exception register names reporting.
Fixed bad _hardcoded_load_addr, which caused allocation of kernel text
frames.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/smp/ap.S

    r005384ad r3396f59  
    5555        movw %ax, %ds
    5656
    57         lgdt ap_bootstrap_gdtr_boot     # initialize Global Descriptor Table register
     57        lgdt real_bootstrap_gdtr_boot   # initialize Global Descriptor Table register
    5858       
    5959        movl %cr0, %eax
     
    9797.code64
    9898start64:
    99         movq $ctx, %rax
    100         movq 0(%rax), %rsp
     99        movq (ctx), %rsp
    101100        call main_ap   # never returns
    102101       
    103 .global ap_bootstrap_gdtr_boot
    104 ap_bootstrap_gdtr_boot:
    105         .word gdtselector(GDT_ITEMS)
    106         .long KA2PA(gdt)
    107 
    108102       
    109103#endif /* __SMP__ */
Note: See TracChangeset for help on using the changeset viewer.