view 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
line wrap: on
line source

#include <os/progint.h>
#include <os/memLayout.h>

.text
	.align 4
.globl PROGINT
	.type PROGINT, @function
PROGINT:
	stmg %r0,%r15,PROGINT_REG_LOC #save current registers

#	llilf %r15,PROGINT_STACK_START
	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?