Changeset d47f0e1 in mainline for arch/ia32/src/boot/boot.S


Ignore:
Timestamp:
2005-06-05T15:18:24Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e3f41b6
Parents:
d1a184f
Message:

SMP recovery patch #1. (SMP still broken)
Move ap_boot() to K_TEXT_START_2 section.
Change ap_boot() to cope with mapping of kernel address space.
Change some addresses in mps.c from kernel to physical.

MIPS.
Move msim dprinter device to 0xB0000000.
This address is from kseg1 (unmapped, uncached) segment.

File:
1 edited

Legend:

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

    rd1a184f rd47f0e1  
    6363        lidt idtr
    6464
     65        call map_kernel
     66
     67        movl $_hardcoded_ktext_size, hardcoded_ktext_size
     68        movl $_hardcoded_kdata_size, hardcoded_kdata_size
     69        movl $_hardcoded_load_address, hardcoded_load_address
     70
     71        call main_bsp                   # never returns
     72
     73        cli
     74        hlt
     75
     76.global map_kernel
     77map_kernel:
    6578        #
    6679        # Here we setup mapping for both the unmapped and mapped sections of the kernel.
     
    8497        orl $(1<<31), %ebx
    8598        movl %ebx, %cr0
     99        ret
    86100
    87         movl $_hardcoded_ktext_size, hardcoded_ktext_size
    88         movl $_hardcoded_kdata_size, hardcoded_kdata_size
    89         movl $_hardcoded_load_address, hardcoded_load_address
    90 
    91         call main_bsp                   # never returns
    92 
    93         cli
    94         hlt
    95101
    96102.section K_DATA_START
Note: See TracChangeset for help on using the changeset viewer.