[PATCH 17/62] qemuppc/startup/cmain.c: Remove myCpu variables and clean up

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 20:00:07 UTC 2014


---
 c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c b/c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c
index 0839db5..5b717e2 100644
--- a/c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c
+++ b/c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c
@@ -6,11 +6,15 @@ __outb(int port, unsigned char v)
   *((volatile unsigned char *)(0x80000000 + port)) = v;
 }
 
+#if 0
+/* currently unused but keep just in case */
+
 static unsigned char
 __inb(int port)
 {
   return *((volatile unsigned char *)(0x80000000 + port));
 }
+#endif
 
 static void
 __memcpy (unsigned char *d, unsigned char *s, int len)
-- 
1.9.3




More information about the devel mailing list