Changeset 63cda71 in mainline for boot/arch/sparc64/loader/boot.S
- Timestamp:
- 2006-07-13T14:58:57Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94d614e
- Parents:
- eda7bf81
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/boot.S
reda7bf81 r63cda71 30 30 31 31 #define PSTATE_IE_BIT 2 32 #define PSTATE_AM_BIT 8 32 33 33 34 .register %g2, #scratch … … 56 57 57 58 /* 58 * Disable interrupts .59 * Disable interrupts and disable address masking. 59 60 */ 60 61 rdpr %pstate, %g2 61 and %g2, ~ PSTATE_IE_BIT, %g2 ! mask the Interrupt Enable bit62 and %g2, ~(PSTATE_IE_BIT|PSTATE_AM_BIT), %g2 62 63 wrpr %g2, 0, %pstate 63 64 … … 66 67 set ofw_cif, %l0 67 68 68 call init ! initialize OpenFirmware69 call ofw_init ! initialize OpenFirmware 69 70 stx %o4, [%l0] 70 71
Note:
See TracChangeset
for help on using the changeset viewer.