Changeset 46c20c8 in mainline for boot/arch/ia64/src/boot.S
- Timestamp:
- 2010-11-26T20:08:10Z (15 years ago)
- 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. - File:
-
- 1 moved
-
boot/arch/ia64/src/boot.S (moved) (moved from boot/arch/ia64/loader/boot.S ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ia64/src/boot.S
rfb150d78 r46c20c8 28 28 # 29 29 30 #include < stack.h>30 #include <arch/arch.h> 31 31 32 32 .section BOOTSTRAP, "ax" … … 34 34 .global start 35 35 start: 36 movl gp = LOADER_ADDRESS 36 37 37 38 # 39 # Initialize the register stack to some sane value. 40 # 38 41 mov ar.rsc = r0 39 # movl r8 = (VRN_KERNEL << VRN_SHIFT) ;;40 movl r1 = 0x440000041 42 movl r8 = initial_stack ;; 42 43 mov ar.bspstore = r8 43 44 loadrs 44 45 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 # 46 50 movl r12 = initial_stack_top ;; 47 48 add r12 = -16, r12 /* allocate a scratch area on the stack */ 51 add r12 = -16, r12 49 52 50 # initialize gp (Global Pointer) register51 # movl r1 = _hardcoded_load_address52 53 ssm (1 << 19) ;; /* Disable f32 - f127 */53 # 54 # Disable Floating-point High register set (f32 - f127) 55 # 56 ssm (1 << 19) ;; 54 57 srlz.i 55 58 srlz.d ;; 56 59 57 movl r18 = bootstrap ;; 58 mov b1 = r18 ;; 59 br.call.sptk.many b0 = b1 60 br.call.sptk.many rp = bootstrap 60 61 61 .align 512 62 ap_start: 62 .bss 63 63 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 82 65 initial_stack: 83 .space 8192 84 66 .space STACK_SIZE 85 67 initial_stack_top:
Note:
See TracChangeset
for help on using the changeset viewer.
