Changeset e84439a in mainline for arch/mips/boot/boot.S


Ignore:
Timestamp:
2005-09-06T08:51:22Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e949fd6
Parents:
39ae77b
Message:

Fixed mips boot process.
On interrupt saving registers, save $lo, $hi.
Add interrupt naming to asm files (mips).
Save only necessary registers on context switch (see mips ABI).
Fixed copyright info.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • arch/mips/boot/boot.S

    r39ae77b re84439a  
    3333.set nomacro
    3434
     35#include <arch/asm/boot.h>
     36       
    3537.global start
    3638start:
    37         # move 0x80000000 to reg $8
    38         lui $8, 0x8000
     39        lui     $ra, KERNEL_STARTUP_ADDRESS >> 16
     40        ori     $ra, KERNEL_STARTUP_ADDRESS & 0xffff
    3941
    40         # prepare stack
    41         lui $29, 0x8100
    42 
    43         j $8
     42        j $ra
    4443        nop
Note: See TracChangeset for help on using the changeset viewer.