From efed8e021066669e6d08a74d89d6a46a7d2aea80 Mon Sep 17 00:00:00 2001 From: yutaka Date: Wed, 26 Sep 2007 00:41:26 +0000 Subject: [PATCH] add typedef for vu8 git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlIPL/trunk@28 b08762b0-b915-fc4b-9d8c-17b2551a87ff --- build/tools/makegcdfirm/misc.h | 1 + build/tools/makenandfirm/misc.h | 1 + build/tools/makenorfirm/misc.h | 4 ++++ 3 files changed, 6 insertions(+) diff --git a/build/tools/makegcdfirm/misc.h b/build/tools/makegcdfirm/misc.h index 2e0fe765..5c771fdb 100644 --- a/build/tools/makegcdfirm/misc.h +++ b/build/tools/makegcdfirm/misc.h @@ -33,6 +33,7 @@ typedef signed char s8; typedef signed short int s16; typedef signed long int s32; typedef signed long long s64; +typedef volatile u8 vu8; typedef volatile u32 vu32; typedef vu32 REGType32v; diff --git a/build/tools/makenandfirm/misc.h b/build/tools/makenandfirm/misc.h index 13cd6789..215402ed 100644 --- a/build/tools/makenandfirm/misc.h +++ b/build/tools/makenandfirm/misc.h @@ -33,6 +33,7 @@ typedef signed char s8; typedef signed short int s16; typedef signed long int s32; typedef signed long long s64; +typedef volatile u8 vu8; typedef volatile u32 vu32; typedef vu32 REGType32v; diff --git a/build/tools/makenorfirm/misc.h b/build/tools/makenorfirm/misc.h index 61efe947..8255b39e 100644 --- a/build/tools/makenorfirm/misc.h +++ b/build/tools/makenorfirm/misc.h @@ -33,9 +33,13 @@ typedef signed char s8; typedef signed short int s16; typedef signed long int s32; typedef signed long long s64; +typedef volatile u8 vu8; typedef volatile u32 vu32; typedef vu32 REGType32v; + + + #define error(...) do { fprintf(stderr, "Error: "); \ fprintf(stderr, __VA_ARGS__); \ fprintf(stderr, "\n"); } while(0)