Search
lxdream.org :: lxdream/test/lib.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/lib.h
changeset 278:a66aaa522d31
prev210:c356f597c896
next812:8cc61d5ea1f8
author nkeynes
date Sun Jan 14 02:53:11 2007 +0000 (15 years ago)
permissions -rw-r--r--
last change Initial (non-working) spu dma test case
file annotate diff log raw
1.1 --- a/test/lib.h Fri Aug 18 09:31:12 2006 +0000
1.2 +++ b/test/lib.h Sun Jan 14 02:53:11 2007 +0000
1.3 @@ -59,5 +59,6 @@
1.4 int is_start_pressed();
1.5
1.6 #define CHECK_IEQUALS( a, b ) if( a != b ) { fprintf(stderr, "Assertion failed at %s:%d: expected %08X, but was %08X\n", __FILE__, __LINE__, a, b ); return -1; }
1.7 +#define DMA_ALIGN(x) ((void *)((((unsigned int)(x))+0x1F)&0xFFFFFFE0))
1.8
1.9 #endif
.