Skip to contentSkip to conversation

zImage: Add signed types

RFC In review Geoff Levand 1 participant 1 message Feb 18, 2007 PowerPC

lore
Share & tools
lore
#0 lore raw

RFC 1/3 zImage: Add signed types

Add signed types to the powerpc zImage bootwrapper. These are needed by the PS3 hcall interface.

---
These are some generic zImage routines I have from my PS3 bootwrapper work. Comments welcome.

-Geoff

 arch/powerpc/boot/types.h |    4 ++++
 1 files changed, 4 insertions(+)
arch/powerpc/boot/types.h +4 -0
@@ -7,6 +7,10 @@ typedef unsigned char		u8;
 typedef unsigned short		u16;
 typedef unsigned int		u32;
 typedef unsigned long long	u64;
+typedef signed char		s8;
+typedef short			s16;
+typedef int			s32;
+typedef long long		s64;
 
 #define min(x,y) ({ \
 	typeof(x) _x = (x);	\