Search
lxdream.org :: lxdream/test/lib.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/lib.h
changeset 815:866c103d72cd
prev812:8cc61d5ea1f8
next976:e57a25d9eb7d
author nkeynes
date Sun Dec 14 07:50:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably,
but does ensure that
a) The stack is aligned correctly on OS X with no extra effort, and
b) We can't mess up the stack and crash that way anymore.
Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack
local variables.
Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and
thereby simplifying maintenance a good deal)
file annotate diff log raw
1.1 --- a/test/lib.h Wed Aug 13 10:32:00 2008 +0000
1.2 +++ b/test/lib.h Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -38,7 +38,6 @@
1.4 void *align32(char *buf );
1.5 void write_asic_status(void);
1.6 void reset_asic_status(void);
1.7 -void g2_fifo_wait( void );
1.8
1.9 #define aica_enable() long_write( AICA_RESET, (long_read(AICA_RESET) & 0xFFFFFFFE) )
1.10 #define aica_disable() long_write( AICA_RESET, (long_read(AICA_RESET) | 1) )
.