Changeset d47f0e1 in mainline for arch/ia32/src/smp/ap.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/smp/ap.S

    rd1a184f rd47f0e1  
    3131#
    3232
    33 .text
     33.section K_TEXT_START_2
    3434
    3535#ifdef __SMP__
     
    4848.code16
    4949        cli
    50 
    5150        xorw %ax,%ax
    5251        movw %ax,%ds
     
    5655        orl $1,%eax
    5756        movl %eax,%cr0
     57        jmp 0f
     580:
    5859        ljmp $KTEXT,$jump_to_kernel
    5960
     
    6566        movw %ax,%es
    6667        movw %ax,%ss
    67         movl $ctx,%eax
     68        movl $(ctx-0x80000000),%eax     # KA2PA((__address) &ctx)
    6869        movl (%eax),%esp
    6970
    7071        lidt idtr
    7172
     73        call map_kernel
     74
    7275        ljmp $KTEXT,$main_ap
    7376
Note: See TracChangeset for help on using the changeset viewer.