[PATCH 06/62] libcpu/arm/shared/../mmu: Fix warnings

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 19:59:56 UTC 2014


---
 c/src/lib/libcpu/arm/shared/arm920/mmu.c  |  5 ++++-
 c/src/lib/libcpu/arm/shared/include/mmu.h | 10 +++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libcpu/arm/shared/arm920/mmu.c b/c/src/lib/libcpu/arm/shared/arm920/mmu.c
index f472b03..b76daa6 100644
--- a/c/src/lib/libcpu/arm/shared/arm920/mmu.c
+++ b/c/src/lib/libcpu/arm/shared/arm920/mmu.c
@@ -1,9 +1,12 @@
 /*
  *  ARM920 MMU functions
- *
+ */
+
+/*
  *  Copyright (c) 2004 by Cogent Computer Systems
  *  Written by Jay Monkman <jtm at lopingdog.com>
  */
+
 #include <libcpu/mmu.h>
 #include <libcpu/arm-cp15.h>
 
diff --git a/c/src/lib/libcpu/arm/shared/include/mmu.h b/c/src/lib/libcpu/arm/shared/include/mmu.h
index c2ed62e..b82e838 100644
--- a/c/src/lib/libcpu/arm/shared/include/mmu.h
+++ b/c/src/lib/libcpu/arm/shared/include/mmu.h
@@ -1,11 +1,14 @@
 /*
  *  ARM MMU header file
- *
+ */
+
+/*
  *  Copyright (c) 2004 by Cogent Computer Systems
  *  Written by Jay Monkman <jtm at lopingdog.com>
  */
-#ifndef __MMU_H__
-#define __MMU_H__
+
+#ifndef __LIBCPU_MMU_H__
+#define __LIBCPU_MMU_H__
 
 #include <stdint.h>
 
@@ -24,5 +27,6 @@ typedef struct {
 } mmu_sect_map_t;
 
 void mmu_init(mmu_sect_map_t *map);
+void mmu_set_cpu_async_mode(void);
 
 #endif /* __MMU_H__ */
-- 
1.9.3




More information about the devel mailing list