Commit e2c564ed authored by David Mosberger's avatar David Mosberger

ia64: Patch by Tony Luck: The INIT path was broken by the virtually mapped

	kernel patch.  This patch makes it work again.  The MCA path is
	similarly broken.  Patch will follow later.
parent 24ba7e2a
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
(pUStk) addl r22=IA64_RBS_OFFSET,r1; /* compute base of register backing store */ \ (pUStk) addl r22=IA64_RBS_OFFSET,r1; /* compute base of register backing store */ \
;; \ ;; \
(pUStk) mov r24=ar.rnat; \ (pUStk) mov r24=ar.rnat; \
(pKStk) dep r1=0,sp,61,3; /* compute physical addr of sp */ \ (pKStk) tpa r1=sp; /* compute physical addr of sp */ \
(pUStk) addl r1=IA64_STK_OFFSET-IA64_PT_REGS_SIZE,r1; /* compute base of memory stack */ \ (pUStk) addl r1=IA64_STK_OFFSET-IA64_PT_REGS_SIZE,r1; /* compute base of memory stack */ \
(pUStk) mov r23=ar.bspstore; /* save ar.bspstore */ \ (pUStk) mov r23=ar.bspstore; /* save ar.bspstore */ \
(pUStk) dep r22=-1,r22,61,3; /* compute kernel virtual addr of RBS */ \ (pUStk) dep r22=-1,r22,61,3; /* compute kernel virtual addr of RBS */ \
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
* 1. Lop off bits 61 thru 63 in the virtual address * 1. Lop off bits 61 thru 63 in the virtual address
*/ */
#define DATA_VA_TO_PA(addr) \ #define DATA_VA_TO_PA(addr) \
dep addr = 0, addr, 61, 3 tpa addr = addr
/* /*
* This macro converts a data physical address to a virtual address * This macro converts a data physical address to a virtual address
* Right now for simulation purposes the virtual addresses are * Right now for simulation purposes the virtual addresses are
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment