diff options
Diffstat (limited to 'lib/x1000-installer/test_lib/system.h')
-rw-r--r-- | lib/x1000-installer/test_lib/system.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/x1000-installer/test_lib/system.h b/lib/x1000-installer/test_lib/system.h new file mode 100644 index 0000000000..b0a5076ba9 --- /dev/null +++ b/lib/x1000-installer/test_lib/system.h | |||
@@ -0,0 +1,10 @@ | |||
1 | #ifndef SYSTEM_H | ||
2 | #define SYSTEM_H | ||
3 | |||
4 | #define CACHEALIGN_SIZE 1 | ||
5 | #define CACHEALIGN_BUFFER(x,y) do { } while(0) | ||
6 | #define MIN(a, b) (((a)<(b))?(a):(b)) | ||
7 | #define ALIGN_BUFFER(ptr, size, align) do { } while(0) | ||
8 | #define ALIGN_UP_P2(x, p) (((x) + ((1 << (p)) - 1)) & ~((1 << (p)) - 1)) | ||
9 | |||
10 | #endif | ||