From: Andy P. <at...@us...> - 2001-09-14 20:30:25
|
Update of /cvsroot/linux-vax/kernel-2.4/arch/vax/boot In directory usw-pr-cvs1:/tmp/cvs-serv28569/boot Modified Files: head.S Log Message: Some changes for scsi boot. Add low memory DMA mapping for KA46 so that lance will work Index: head.S =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.4/arch/vax/boot/head.S,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- head.S 2001/07/31 17:28:26 1.12 +++ head.S 2001/09/14 20:30:21 1.13 @@ -20,16 +20,25 @@ .globl start start: nop # relocation code, and stack setup required +# movzbl $0x41,r2 # want to see something early while i debug scsi boot. +# jsb 0x20040058 + nop + nop nop - nop - nop # disable memory mapping mtpr $0, $PR_MAPEN - + mtpr $31, $PR_IPL # save r11, ap and scbb movl ap, boot_ap movl r11, boot_r11 mfpr $PR_SCBB, boot_scb +# put the sp somewhere safe, over our bootblock in fact + moval start, r5 + subl2 $0x200, r5 + movl r5,sp + +# movzbl $0x42,r2 +# jsb 0x20040058 jsb identify_cpu @@ -50,7 +59,7 @@ # print the cpu type jsb crlf - movab msg_cpu_type, r10 + movab msg_cpu_type, r10 jsb printstr movl mv, r10 @@ -326,7 +335,7 @@ msg_starting_vm: .ascii "Starting VM\0" .align 1 - + # identify cpu .globl cpu_id cpu_id: |