comparison arch/progint.S @ 150:e72f984619c7

Consolidated a lot of the defines which relate to the memory layout There is a new file (include/os/memLayout.h) which now includes just about all the #defines
author Jonathan Pevarnek <pevarnj@gmail.com>
date Wed, 02 Nov 2011 09:55:09 -0400
parents ea2136c52c35
children
comparison
equal deleted inserted replaced
149:eb69d1caa83b 150:e72f984619c7
1 #include <os/progint.h> 1 #include <os/progint.h>
2 #include <os/memLayout.h>
2 3
3 .text 4 .text
4 .align 4 5 .align 4
5 .globl PROGINT 6 .globl PROGINT
6 .type PROGINT, @function 7 .type PROGINT, @function
7 PROGINT: 8 PROGINT:
8 stmg %r0,%r15,PROGINT_REG_LOC #save current registers 9 stmg %r0,%r15,PROGINT_REG_LOC #save current registers
9 10
10 # llilf %r15,PROGINT_STACK 11 # llilf %r15,PROGINT_STACK_START
11 lhi %r15,PROGINT_STACK_SHIFT 12 lhi %r15,PROGINT_STACK_SHIFT
12 sla %r15,PROGINT_STACK_SHIFT_OFFSET(%r0) 13 sla %r15,PROGINT_STACK_SHIFT_OFFSET(%r0)
13 14
14 larl %r14,prog_int_handler 15 larl %r14,prog_int_handler
15 basr %r14,%r14 #so, I think this is just copying the psw to the stack, right? 16 basr %r14,%r14 #so, I think this is just copying the psw to the stack, right?