summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-13 15:52:00 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-10-16 08:58:46 -0500
commit0697180b313f573138d4c5e0b40382a38f2f891a (patch)
tree80be3a62153a0feac5e85525e05509f7390ade4c
parent0af227c5053d60be841ed4fe61efc02951ab4307 (diff)
downloadrtems-0697180b313f573138d4c5e0b40382a38f2f891a.tar.bz2
qemuppc/startup/cmain.c: Remove myCpu variables and clean up
-rw-r--r--c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c b/c/src/lib/libbsp/powerpc/qemuppc/startup/cmain.c
index 0839db55e8..5b717e2afc 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)