public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [RFC 1/3] zImage: Add signed types
@ 2007-02-18  1:16 Geoff Levand
  0 siblings, 0 replies; only message in thread
From: Geoff Levand @ 2007-02-18  1:16 UTC (permalink / raw)
  To: linuxppc-dev

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

Signed-off-by: Geoff Levand <geoffrey.levand@am•sony.com>

---
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(+)

--- ps3-linux-dev.orig/arch/powerpc/boot/types.h
+++ ps3-linux-dev/arch/powerpc/boot/types.h
@@ -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);	\

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-02-18  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-18  1:16 [RFC 1/3] zImage: Add signed types Geoff Levand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox