Search
lxdream.org :: lxdream/src/watch.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/watch.c
changeset 736:a02d1475ccfd
prev561:533f6b478071
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/src/watch.c Tue Jan 01 05:08:38 2008 +0000
1.2 +++ b/src/watch.c Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -80,8 +80,8 @@
1.4 continue;
1.5 count++;
1.6 if( watch_arr[i].flags & op &&
1.7 - watch_arr[i].start < addr+size &&
1.8 - watch_arr[i].end >= addr ) {
1.9 + watch_arr[i].start < addr+size &&
1.10 + watch_arr[i].end >= addr ) {
1.11 return &watch_arr[i];
1.12 }
1.13 }
.