summaryrefslogtreecommitdiffstats
path: root/bsps/powerpc/haleakala
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-24 11:35:09 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-24 13:00:56 +0200
commitcaccc5bfc6fab5672068e6cf6c32c1318a729cba (patch)
tree10c09895788142fb547eccc0f0c718c2aa444f46 /bsps/powerpc/haleakala
parentsmptests: Fix format warnings (diff)
downloadrtems-caccc5bfc6fab5672068e6cf6c32c1318a729cba.tar.bz2
bsps: Fix function declaration warnings
Diffstat (limited to 'bsps/powerpc/haleakala')
-rw-r--r--bsps/powerpc/haleakala/include/mmu_405.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/bsps/powerpc/haleakala/include/mmu_405.h b/bsps/powerpc/haleakala/include/mmu_405.h
index e11cfa7738..344dfe4def 100644
--- a/bsps/powerpc/haleakala/include/mmu_405.h
+++ b/bsps/powerpc/haleakala/include/mmu_405.h
@@ -40,7 +40,7 @@ typedef enum MMUAccessType {
} MMUAccessType;
/* Initialise and clear the MMU */
-void mmu_initialise();
+void mmu_initialise(void);
/* Turn on/off data access translation */
bool mmu_enable_data(bool enable);
@@ -55,16 +55,16 @@ void mmu_add_space(uint32_t startAddr, uint32_t endAddr, MMUAccessType permissi
void mmu_remove_space(uint32_t startAddr, uint32_t endAddr);
/* Return number of TLB entries out of total in use */
-int mmu_get_tlb_count();
+int mmu_get_tlb_count(void);
/* Allocate a new process ID and return it */
-uint8_t mmu_new_processID();
+uint8_t mmu_new_processID(void);
/* Free a process ID that has been in use */
void mmu_free_processID(uint8_t freeThis);
/* Return the current process ID */
-uint8_t mmu_current_processID();
+uint8_t mmu_current_processID(void);
/* Change the process ID to ID and return the old value */
uint8_t mmu_set_processID(uint8_t toID);
@@ -74,4 +74,4 @@ uint8_t mmu_set_processID(uint8_t toID);
}
#endif
-#endif //_mmu_405.h \ No newline at end of file
+#endif //_mmu_405.h