Changeset 7df54df in mainline for arch/amd64/src/boot/boot.S


Ignore:
Timestamp:
2005-09-02T14:00:48Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
32f6e1bd
Parents:
73838ed
Message:

Fixed stack settings in boot.S in real mode.
Added ia32 memmap support.
Added cpuid support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/boot/boot.S

    r73838ed r7df54df  
    3434
    3535#define START_STACK     0x7c00 
    36 #define START_STACK_64  $0xffffffff80007c00
     36#define START_STACK_64  0xffffffff80007c00
    3737                                       
    3838#
     
    5252        movw %ax,%ds
    5353        movw %ax,%ss            # initialize stack segment register
    54         movl START_STACK,%esp   # initialize stack pointer
     54        movl $(START_STACK),%esp        # initialize stack pointer
    5555       
    56 #       call memmap_arch_init
     56        call memmap_arch_init
    5757       
    5858        movl $0x80000000, %eax 
     
    117117.code64
    118118start64:
    119         movq START_STACK_64, %rsp
     119        movq $(START_STACK_64), %rsp
    120120       
    121121        call main_bsp   # never returns
Note: See TracChangeset for help on using the changeset viewer.