changeset 133:d1e835a25f28

got rid of accidentally committeed file, removed some hard-coded constants
author Jonathan Pevarnek <pevarnj@gmail.com>
date Sun, 11 Sep 2011 23:39:30 -0400
parents abf1f35f5935
children 42ca337f6e4b
files arch/progint.S arch/progint.h arch/progint.o
diffstat 3 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/arch/progint.S	Sun Sep 11 23:10:18 2011 -0400
+++ b/arch/progint.S	Sun Sep 11 23:39:30 2011 -0400
@@ -8,10 +8,8 @@
 	stmg %r0,%r15,PROGINT_REG_LOC #save current registers
 
 #	llilf %r15,PROGINT_STACK
-	lhi %r15,0x30
-	sla %r15,16(%r0)
+	lhi %r15,PROGINT_STACK_SHIFT
+	sla %r15,PROGINT_STACK_SHIFT_OFFSET(%r0)
 
 	larl %r14,prog_int_handler
 	basr %r14,%r14 #so, I think this is just copying the psw to the stack, right?
-
-	#so, I do not know what any of the other stuff below this did in the SVCINT function...
--- a/arch/progint.h	Sun Sep 11 23:10:18 2011 -0400
+++ b/arch/progint.h	Sun Sep 11 23:39:30 2011 -0400
@@ -8,5 +8,6 @@
 
 #define PROGINT_STACK 0x300000
 #define PROGINT_STACK_SHIFT 0x30
+#define PROGINT_STACK_STIFT_OFFSET 16
 
 #endif
Binary file arch/progint.o has changed