Changeset 0ffa3ef5 in mainline for arch/sparc64/src/start.S


Ignore:
Timestamp:
2006-07-10T20:57:30Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11675207
Parents:
7f1c620
Message:

Sync OpenFirmware functionality with boot.
Random cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/sparc64/src/start.S

    r7f1c620 r0ffa3ef5  
    2828
    2929#include <arch/boot/boot.h>
     30#include <arch/register.h>
    3031
    3132.register %g2, #scratch
     
    3839/*
    3940 * Here is where the kernel is passed control.
    40  * The code must be position independent until
    41  * the kernel relocates itself to its VMA.
    4241 */
    4342
     
    4645        flushw                          ! flush all but the active register window
    4746
    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
    4952
    5053        call ofw_init
Note: See TracChangeset for help on using the changeset viewer.