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


Ignore:
Timestamp:
2006-07-03T22:41:27Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b7dc656
Parents:
b95b717
Message:

Work on sparc64 boot loader (still inactive).

File:
1 edited

Legend:

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

    rb95b717 rc82950a  
    2929#define INITIAL_STACK 0x0
    3030
     31.register %g2, #scratch
     32.register %g3, #scratch
     33.register %g6, #scratch
     34.register %g7, #scratch
     35
    3136.section BOOTSTRAP, "ax"
    3237
    3338.global start
    3439start:
     40        b 1f
     41        nop
     42
     43/*
     44 * This header forces SILO to load the image at 0x4000.
     45 * More precisely, SILO will think this is an old version of Linux.
     46 */
     47        .ascii "HdrS"
     48        .word 0
     49        .half 0
     50
     51.align 8
     521:     
     53        flushw
     54
    3555        # TODO: set initial stack
     56
     57        set ofw, %l0
     58 
     59        call init               ! initialize OpenFirmware
     60        stx %o4, [%l0]
    3661       
    3762        b bootstrap
Note: See TracChangeset for help on using the changeset viewer.