Changeset 398e7688 in mainline for boot/arch/sparc64/loader/boot.S


Ignore:
Timestamp:
2006-09-29T18:01:54Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
34bd143
Parents:
c23baab
Message:

Small improvements in sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/loader/boot.S

    rc23baab r398e7688  
    5959         * Disable interrupts and disable address masking.
    6060         */
    61         rdpr %pstate, %g2
    62         and %g2, ~(PSTATE_IE_BIT|PSTATE_AM_BIT), %g2
    63         wrpr %g2, 0, %pstate
     61        wrpr %g0, PSTATE_PRIV_BIT, %pstate
    6462
    65         set initial_stack_top, %g3
    66         add %g3, -STACK_BIAS, %sp
     63        set initial_stack_top, %sp
     64        add %sp, -STACK_BIAS, %sp
    6765
    6866        set ofw_cif, %l0
Note: See TracChangeset for help on using the changeset viewer.