Changeset b50b5af2 in mainline for boot/arch/sparc64/loader/boot.S


Ignore:
Timestamp:
2009-08-22T10:48:00Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
04803bf
Parents:
1ea99cc (diff), a71c158 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r1ea99cc rb50b5af2  
    3131#include <register.h>
    3232
    33 #define INITIAL_STACK_SIZE      8192
     33#define INITIAL_STACK_SIZE  8192
    3434
    35 #define NWINDOWS                8
     35#define NWINDOWS  8
    3636
    3737.register %g2, #scratch
     
    5757        .half 0
    5858        .half 0
     59
    5960.global silo_ramdisk_image
    6061silo_ramdisk_image:
    6162        .word 0
     63
    6264.global silo_ramdisk_size
    6365silo_ramdisk_size:
     
    6567
    6668.align 8
    67 1:     
     691:
    6870        /*
    6971         * Disable interrupts and disable address masking.
     
    7173        wrpr %g0, PSTATE_PRIV_BIT, %pstate
    7274       
    73         wrpr %g0, NWINDOWS - 2, %cansave        ! set maximum saveable windows
    74         wrpr %g0, 0, %canrestore                ! get rid of windows we will never need again
    75         wrpr %g0, 0, %otherwin                  ! make sure the window state is consistent
    76         wrpr %g0, NWINDOWS - 1, %cleanwin       ! prevent needless clean_window traps for kernel
    77 
     75        wrpr %g0, NWINDOWS - 2, %cansave   ! set maximum saveable windows
     76        wrpr %g0, 0, %canrestore           ! get rid of windows we will never need again
     77        wrpr %g0, 0, %otherwin             ! make sure the window state is consistent
     78        wrpr %g0, NWINDOWS - 1, %cleanwin  ! prevent needless clean_window traps for kernel
     79       
    7880        set initial_stack_top, %sp
    7981        add %sp, -STACK_BIAS, %sp
    80 
     82       
    8183        set ofw_cif, %l0
    82  
    83         call ofw_init           ! initialize OpenFirmware
     84       
     85        call ofw_init   ! initialize OpenFirmware
    8486        stx %o4, [%l0]
    8587       
     
    9092initial_stack:
    9193        .space INITIAL_STACK_SIZE
     94
    9295initial_stack_top:
    9396        .space STACK_WINDOW_SAVE_AREA_SIZE
Note: See TracChangeset for help on using the changeset viewer.