Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 1905 → Rev 1906

/trunk/boot/arch/sparc64/loader/boot.S
58,12 → 58,10
/*
* Disable interrupts and disable address masking.
*/
rdpr %pstate, %g2
and %g2, ~(PSTATE_IE_BIT|PSTATE_AM_BIT), %g2
wrpr %g2, 0, %pstate
wrpr %g0, PSTATE_PRIV_BIT, %pstate
 
set initial_stack_top, %g3
add %g3, -STACK_BIAS, %sp
set initial_stack_top, %sp
add %sp, -STACK_BIAS, %sp
 
set ofw_cif, %l0
/trunk/boot/arch/sparc64/loader/register.h
30,6 → 30,7
#define BOOT_sparc64_REGISTER_H_
 
#define PSTATE_IE_BIT 2
#define PSTATE_PRIV_BIT 4
#define PSTATE_AM_BIT 8
 
#define ASI_UPA_CONFIG 0x4a