summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2009-05-05 16:27:59 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2009-05-05 16:27:59 +0000
commit3776348f5220769f388661bfeef56d7be9e8b1ef (patch)
tree86b2126b7bfed7b245969fd2d7c12050650771c3 /c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
parent2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com> (diff)
downloadrtems-3776348f5220769f388661bfeef56d7be9e8b1ef.tar.bz2
2009-05-05 Jennifer Averett <jennifer.averett@OARcorp.com>
* mpc6xx/mmu/bat.c, new-exceptions/e500_raw_exc_init.c, new-exceptions/raw_exception.h, new-exceptions/bspsupport/irq_supp.h, shared/include/cpuIdent.c: Removed warnings. Split bsp_irq_dispatch_list to allow non-standard/non-existant pics to call with interrupts off.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c')
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
index 7245b6b3b0..e8e6a0f7ff 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
+++ b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.c
@@ -70,7 +70,7 @@ char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu)
return "UNKNOWN";
}
-ppc_cpu_id_t get_ppc_cpu_type()
+ppc_cpu_id_t get_ppc_cpu_type(void)
{
unsigned int pvr;
@@ -185,7 +185,7 @@ ppc_cpu_id_t get_ppc_cpu_type()
return current_ppc_cpu;
}
-ppc_cpu_revision_t get_ppc_cpu_revision()
+ppc_cpu_revision_t get_ppc_cpu_revision(void)
{
ppc_cpu_revision_t rev = (ppc_cpu_revision_t) (_read_PVR() & 0xffff);
current_ppc_revision = rev;