/SPARTAN/trunk/arch/ia64/src/asm.S |
---|
38,3 → 38,7 |
sub r33 = r32, r33 |
br _memcopy |
.global memcopy |
memcopy: |
br _memcopy |
/SPARTAN/trunk/arch/ia64/src/start.S |
---|
34,11 → 34,18 |
stack0: |
kernel_image_start: |
.auto |
# initialize PSR |
mov psr.l = r0 |
# initialize register stack |
alloc r1 = ar.pfs, 0, 0, 0, 0 ;; |
mov ar.rsc = r0 |
loadrs |
.explicit |
# initialize memory stack to some sane value |
movl r12=stack0 |
movl r12 = stack0 ;; |
add r12 = - 16, r12 /* allocate a scratch area on the stack */ |
# initialize gp (Global Pointer) register |
movl r1=k_text_start |