\r
#define CONSTP2CONST(ptrtype, memclass, ptrclass) const ptrtype * const\r
\r
-#define P2FUNC(rettype,ptrclass,fctname) retype (*fctname)\r
+#define P2FUNC(rettype,ptrclass,fctname) rettype (*fctname)\r
\r
#define CONST(consttype,memclass) const consttype\r
\r
#define CPU_H\r
\r
#include "Std_Types.h"\r
-typedef uint32_t imask_t;\r
+typedef uint32 imask_t;\r
\r
//#if defined(__DCC__)\r
//#include <diab/ppcasm.h>\r
#else\r
#define get_spr(spr_nr) CC_EXTENSION \\r
({\\r
- uint32_t __val;\\r
+ uint32 __val;\\r
asm volatile (" mfspr %0," STRINGIFY__(spr_nr) : "=r"(__val) : );\\r
__val;\\r
})\r
}\r
#else\r
static inline unsigned long get_msr() {\r
- uint32_t msr;\r
+ uint32 msr;\r
asm volatile("mfmsr %[msr]":[msr] "=r" (msr ) );\r
return msr;\r
}\r
// StatusType CallService( TrustedFunctionIndexType ix,\r
// TrustedFunctionParameterRefType params )\r
\r
-typedef void ( * service_func_t)( uint16_t , void * );\r
+typedef void ( * service_func_t)( uint16 , void * );\r
extern service_func_t oil_trusted_func_list[];\r
\r
/* Macros for SC_CALL macro */\r
/* TODO: Fix this.. */\r
#define CallService(index,param) \\r
({ \\r
- register uint32_t r3 asm ("r3"); \\r
+ register uint32 r3 asm ("r3"); \\r
register void * r4 asm ("r4"); \\r
r3 = index; \\r
r4 = param; \\r