modified entry point for XHDI routines

This commit is contained in:
Markus Fröschle
2013-05-10 13:16:00 +00:00
parent 610d138f19
commit 6cc63afcec
5 changed files with 21 additions and 4 deletions

15
sources/xhdi_vec.S Normal file
View File

@@ -0,0 +1,15 @@
//
// XHDI entry point
//
.extern _xhdi_call
.globl _xhdi_vec
_xhdi_vec:
lea -12(sp),sp
movem.l d1/a0-a1,(sp)
pea 16(sp)
jsr _xhdi_call
addq.l #4,sp
movem.l (sp),d1/a0-a1
lea 12(sp),sp
rts