Mercurial > sos > sos
view arch/progint.S @ 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 | ea2136c52c35 |
line wrap: on
line source
#include "progint.h" .text .align 4 .globl PROGINT .type PROGINT, @function PROGINT: stmg %r0,%r15,PROGINT_REG_LOC #save current registers # llilf %r15,PROGINT_STACK 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?