Changeset 0ffa3ef5 in mainline for arch/sparc64/src/start.S
- Timestamp:
- 2006-07-10T20:57:30Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 11675207
- Parents:
- 7f1c620
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/sparc64/src/start.S
r7f1c620 r0ffa3ef5 28 28 29 29 #include <arch/boot/boot.h> 30 #include <arch/register.h> 30 31 31 32 .register %g2, #scratch … … 38 39 /* 39 40 * Here is where the kernel is passed control. 40 * The code must be position independent until41 * the kernel relocates itself to its VMA.42 41 */ 43 42 … … 46 45 flushw ! flush all but the active register window 47 46 48 set ofw, %l0 47 rdpr %pstate, %l0 48 and %l0, ~PSTATE_AM_BIT, %l0 49 wrpr %l0, 0, %pstate 50 51 set ofw_cif, %l0 49 52 50 53 call ofw_init
Note:
See TracChangeset
for help on using the changeset viewer.