Search
lxdream.org :: lxdream/test/timer.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/timer.c
changeset 731:ee2e929cca3a
prev272:fb6be85235e8
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/timer.c Thu Jan 11 06:53:31 2007 +0000
1.2 +++ b/test/timer.c Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -1,4 +1,4 @@
1.4 -#include "../lib.h"
1.5 +#include "lib.h"
1.6 #define TMU_CHANNEL 2
1.7 #define BASE_TICKS_PER_US 200
1.8 #define CLOCK_DIVIDER 16
.