Rev 2110 | Rev 2519 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2110 | Rev 2512 | ||
---|---|---|---|
Line 105... | Line 105... | ||
105 | movl r12 = stack0 ;; |
105 | movl r12 = stack0 ;; |
106 | 106 | ||
107 | add r12 = -16, r12 /* allocate a scratch area on the stack */ |
107 | add r12 = -16, r12 /* allocate a scratch area on the stack */ |
108 | 108 | ||
109 | # initialize gp (Global Pointer) register |
109 | # initialize gp (Global Pointer) register |
- | 110 | mov r20 = r1 ;; |
|
110 | movl r1 = _hardcoded_load_address |
111 | movl r1 = _hardcoded_load_address |
111 | 112 | ||
112 | /* |
113 | /* |
113 | * Initialize hardcoded_* variables. |
114 | * Initialize hardcoded_* variables. |
114 | */ |
115 | */ |
Line 116... | Line 117... | ||
116 | movl r15 = _hardcoded_kdata_size |
117 | movl r15 = _hardcoded_kdata_size |
117 | movl r16 = _hardcoded_load_address ;; |
118 | movl r16 = _hardcoded_load_address ;; |
118 | addl r17 = @gprel(hardcoded_ktext_size), gp |
119 | addl r17 = @gprel(hardcoded_ktext_size), gp |
119 | addl r18 = @gprel(hardcoded_kdata_size), gp |
120 | addl r18 = @gprel(hardcoded_kdata_size), gp |
120 | addl r19 = @gprel(hardcoded_load_address), gp |
121 | addl r19 = @gprel(hardcoded_load_address), gp |
- | 122 | addl r21 = @gprel(bootinfo), gp |
|
121 | ;; |
123 | ;; |
122 | st8 [r17] = r14 |
124 | st8 [r17] = r14 |
123 | st8 [r18] = r15 |
125 | st8 [r18] = r15 |
124 | st8 [r19] = r16 |
126 | st8 [r19] = r16 |
- | 127 | st8 [r21] = r20 |
|
125 | 128 | ||
126 | ssm (1 << 19) ;; /* Disable f32 - f127 */ |
129 | ssm (1 << 19) ;; /* Disable f32 - f127 */ |
127 | srlz.i |
130 | srlz.i |
128 | srlz.d ;; |
131 | srlz.d ;; |
129 | 132 |