summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-18 21:17:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-08-18 21:17:06 +0000
commitb679966dc97836271d38795af83091008330302e (patch)
treeff69663bc771dd86e9508f03a3fe47a06c0890b1 /c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h
parent2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-b679966dc97836271d38795af83091008330302e.tar.bz2
2008-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* mpc6xx/mmu/pte121.c, mpc6xx/mmu/pte121.h, mpc6xx/timer/timer.c, new-exceptions/e500_raw_exc_init.c, new-exceptions/bspsupport/ppc_exc_bspsupp.h, new-exceptions/bspsupport/vectors_init.c: Fix warnings.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h')
-rw-r--r--c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h24
1 files changed, 8 insertions, 16 deletions
diff --git a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h
index 54465e06bf..6b9497106d 100644
--- a/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h
+++ b/c/src/lib/libcpu/powerpc/mpc6xx/mmu/pte121.h
@@ -219,20 +219,17 @@ triv121PgTblSDR1(Triv121PgTbl pgTbl);
* may have to switch overlapping BATs OFF in order
* for the page table mappings to take effect.
*/
-void
-triv121PgTblActivate(Triv121PgTbl pgTbl);
+void triv121PgTblActivate(Triv121PgTbl pgTbl);
/* Find the PTE for a EA and print its contents to stdout
* RETURNS: pte for EA or NULL if no entry was found.
*/
-APte
-triv121DumpEa(unsigned long ea);
+APte triv121DumpEa(unsigned long ea);
/* Find and return a PTE for a vsid/pi combination
* RETURNS: pte or NULL if no entry was found
*/
-APte
-triv121FindPte(unsigned long vsid, unsigned long pi);
+APte triv121FindPte(unsigned long vsid, unsigned long pi);
/*
* Unmap an effective address
@@ -240,8 +237,7 @@ triv121FindPte(unsigned long vsid, unsigned long pi);
* RETURNS: pte that mapped the ea or NULL if no
* mapping existed.
*/
-APte
-triv121UnmapEa(unsigned long ea);
+APte triv121UnmapEa(unsigned long ea);
/*
* Change the WIMG and PP attributes of the page containing 'ea'
@@ -251,24 +247,20 @@ triv121UnmapEa(unsigned long ea);
*
* RETURNS: Pointer to modified PTE or NULL if 'ea' is not mapped.
*/
-APte
-triv121ChangeEaAttributes(unsigned long ea, int wimg, int pp);
+APte triv121ChangeEaAttributes(unsigned long ea, int wimg, int pp);
/* Make the whole page table writable
* NOTES: If the page table has not been initialized yet,
* this routine has no effect (i.e., after
* initialization the page table will still be read-only).
*/
-void
-triv121MakePgTblRW();
+void triv121MakePgTblRW(void);
/* Make the whole page table read-only
*/
-void
-triv121MakePgTblRO();
+void triv121MakePgTblRO(void);
/* Dump a pte to stdout */
-long
-triv121DumpPte(APte pte);
+long triv121DumpPte(APte pte);
#endif