patch-2.4.20 linux-2.4.20/arch/ia64/kernel/efi_stub.S
Next file: linux-2.4.20/arch/ia64/kernel/efivars.c
Previous file: linux-2.4.20/arch/ia64/kernel/efi.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Thu Nov 28 15:53:09 2002
- Orig file:
linux-2.4.19/arch/ia64/kernel/efi_stub.S
- Orig date:
Fri Nov 9 14:26:17 2001
diff -urN linux-2.4.19/arch/ia64/kernel/efi_stub.S linux-2.4.20/arch/ia64/kernel/efi_stub.S
@@ -53,23 +53,21 @@
mov loc4=ar.rsc // save RSE configuration
mov ar.rsc=0 // put RSE in enforced lazy, LE mode
;;
-
ld8 gp=[in0] // load EFI function's global pointer
- mov out0=in1
- mov out1=in2
movl r16=PSR_BITS_TO_CLEAR
-
mov loc3=psr // save processor status word
movl r17=PSR_BITS_TO_SET
;;
- mov out2=in3
or loc3=loc3,r17
mov b6=r2
;;
andcm r16=loc3,r16 // get psr with IT, DT, and RT bits cleared
- mov out3=in4
br.call.sptk.many rp=ia64_switch_mode
.ret0: mov out4=in5
+ mov out0=in1
+ mov out1=in2
+ mov out2=in3
+ mov out3=in4
mov out5=in6
mov out6=in7
br.call.sptk.many rp=b6 // call the EFI function
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)