Changeset dc790e1 in mainline for boot/arch/mips32/src/asm.S


Ignore:
Timestamp:
2011-03-05T19:30:09Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7cedc46a
Parents:
c672195
Message:

make sure we are running in 32-bit mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/mips32/src/asm.S

    rc672195 rdc790e1  
    4141
    4242start:
     43        /*
     44         * Setup the CP0 configuration
     45         *  - Disable 64-bit kernel addressing mode
     46         *  - DIsable 64-bit supervisor adressing mode
     47         *  - Disable 64-bit user addressing mode
     48         */
     49        mfc0 $a0, $status
     50        la $a1, 0xffffff1f
     51        and $a0, $a1, $a0
     52        mtc0 $a0, $status
     53       
    4354        /* Setup CPU map (on msim this code
    4455           is executed in parallel on all CPUs,
Note: See TracChangeset for help on using the changeset viewer.