Changeset 46c20c8 in mainline for boot/arch/ia64/src/boot.S


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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 moved

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/src/boot.S

    rfb150d78 r46c20c8  
    2828#
    2929
    30 #include <stack.h>
     30#include <arch/arch.h>
    3131
    3232.section BOOTSTRAP, "ax"
     
    3434.global start
    3535start:
     36        movl gp = LOADER_ADDRESS
    3637
    37 
     38        #
     39        # Initialize the register stack to some sane value.
     40        #
    3841        mov ar.rsc = r0
    39 #       movl r8 = (VRN_KERNEL << VRN_SHIFT) ;;
    40         movl r1 = 0x4400000
    4142        movl r8 = initial_stack ;;
    4243        mov ar.bspstore = r8
    4344        loadrs
    4445
    45         # initialize memory stack to some sane value
     46        #
     47        # Initialize memory stack to some sane value and allocate a scratch area
     48        # on it.
     49        #
    4650        movl r12 = initial_stack_top ;;
    47        
    48         add r12 = -16, r12      /* allocate a scratch area on the stack */
     51        add r12 = -16, r12
    4952
    50         # initialize gp (Global Pointer) register
    51         #movl r1 = _hardcoded_load_address
    52 
    53         ssm (1 << 19) ;; /* Disable f32 - f127 */
     53        #
     54        # Disable Floating-point High register set (f32 - f127)
     55        #
     56        ssm (1 << 19) ;;
    5457        srlz.i
    5558        srlz.d ;;
    5659
    57         movl r18 = bootstrap ;;
    58         mov b1 = r18 ;;
    59         br.call.sptk.many b0 = b1
     60        br.call.sptk.many rp = bootstrap
    6061
    61 .align 512
    62 ap_start:
     62.bss
    6363
    64 
    65 ap_loop:
    66         movl r18=0x4405000;;
    67         mov b1 = r18 ;;
    68         br.call.sptk.many b0 = b1;;
    69 
    70 .align 1024
    71 
    72 .align 4096
    73 .global binfo
    74 binfo:
    75 
    76 
    77 .bss #on this line is ".bss", it cannot be seen in my mcedit :-(
    78 
    79 
    80 .align 8192
    81 
     64.align STACK_SIZE
    8265initial_stack:
    83         .space 8192
    84 
     66        .space STACK_SIZE
    8567initial_stack_top:
Note: See TracChangeset for help on using the changeset viewer.