summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/shared
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-13 05:00:15 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-13 05:00:15 +0000
commita859df8559f4b920036ffd9fd9ca467e5827bd37 (patch)
tree54a03ecc413af3171e63cfa65ad0d491fd8e41e6 /c/src/lib/libcpu/powerpc/shared
parentRearrange devLib address spaces. (diff)
downloadrtems-a859df8559f4b920036ffd9fd9ca467e5827bd37.tar.bz2
New header guards.
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared')
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/byteorder.h6
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h4
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/io.h6
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/mmu.h6
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/page.h6
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/pgtable.h6
-rw-r--r--c/src/lib/libcpu/powerpc/shared/include/spr.h4
-rw-r--r--c/src/lib/libcpu/powerpc/shared/src/stackTrace.h4
8 files changed, 21 insertions, 21 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/include/byteorder.h b/c/src/lib/libcpu/powerpc/shared/include/byteorder.h
index 221b10d034..3ce3578030 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/byteorder.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/byteorder.h
@@ -16,8 +16,8 @@
* $Id$
*/
-#ifndef _PPC_BYTEORDER_H
-#define _PPC_BYTEORDER_H
+#ifndef _LIBCPU_BYTEORDER_H
+#define _LIBCPU_BYTEORDER_H
#ifdef __GNUC__
@@ -92,4 +92,4 @@ static __inline__ __const__ unsigned int ___arch__swab32(unsigned int value)
#endif /* __GNUC__ */
-#endif /* _PPC_BYTEORDER_H */
+#endif /* _LIBCPU_BYTEORDER_H */
diff --git a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
index e26e609fce..67ada47253 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
@@ -13,8 +13,8 @@
* $Id$
*/
-#ifndef _libcpu_cpuIdent_h
-#define _libcpu_cpuIdent_h
+#ifndef _LIBCPU_CPUIDENT_H
+#define _LIBCPU_CPUIDENT_H
#ifndef ASM
typedef enum
diff --git a/c/src/lib/libcpu/powerpc/shared/include/io.h b/c/src/lib/libcpu/powerpc/shared/include/io.h
index 940767e022..8db4e2c499 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/io.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/io.h
@@ -15,8 +15,8 @@
*
* $Id$
*/
-#ifndef _LIBCPU_IO_H_
-#define _LIBCPU_IO_H_
+#ifndef _LIBCPU_IO_H
+#define _LIBCPU_IO_H
#define PREP_ISA_IO_BASE 0x80000000
@@ -137,4 +137,4 @@ extern inline void out_be32(volatile unsigned *addr, int val)
}
#endif /* ASM */
-#endif /* _LIBCPU_IO_H_ */
+#endif /* _LIBCPU_IO_H */
diff --git a/c/src/lib/libcpu/powerpc/shared/include/mmu.h b/c/src/lib/libcpu/powerpc/shared/include/mmu.h
index feb2856862..47818a4a0a 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/mmu.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/mmu.h
@@ -15,8 +15,8 @@
* $Id$
*/
-#ifndef _PPC_MMU_H_
-#define _PPC_MMU_H_
+#ifndef _LIBCPU_MMU_H
+#define _LIBCPU_MMU_H
#ifndef ASM
/* Hardware Page Table Entry */
@@ -303,4 +303,4 @@ extern void _tlbia(void); /* invalidate all TLB entries */
* a processor working register during a tablewalk.
*/
#define M_TW 799
-#endif /* _PPC_MMU_H_ */
+#endif /* _LIBCPU_MMU_H */
diff --git a/c/src/lib/libcpu/powerpc/shared/include/page.h b/c/src/lib/libcpu/powerpc/shared/include/page.h
index c2f3685cbe..63b089d73c 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/page.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/page.h
@@ -15,8 +15,8 @@
* $Id$
*/
-#ifndef _PPC_PAGE_H
-#define _PPC_PAGE_H
+#ifndef _LIBCPU_PAGE_H
+#define _LIBCPU_PAGE_H
/* PAGE_SHIFT determines the page size */
#define PAGE_SHIFT 12
@@ -65,4 +65,4 @@ typedef unsigned long pgprot_t;
extern unsigned long get_zero_page_fast(void);
#endif /* ASM */
-#endif /* _PPC_PAGE_H */
+#endif /* _LIBCPU_PAGE_H */
diff --git a/c/src/lib/libcpu/powerpc/shared/include/pgtable.h b/c/src/lib/libcpu/powerpc/shared/include/pgtable.h
index 7414d26552..2e0629bc18 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/pgtable.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/pgtable.h
@@ -15,8 +15,8 @@
* $Id$
*/
-#ifndef _PPC_PGTABLE_H
-#define _PPC_PGTABLE_H
+#ifndef _LIBCPU_PGTABLE_H
+#define _LIBCPU_PGTABLE_H
/*
* The PowerPC MMU uses a hash table containing PTEs, together with
@@ -143,4 +143,4 @@
#define __S101 PAGE_READONLY
#define __S110 PAGE_SHARED
#define __S111 PAGE_SHARED
-#endif /* _PPC_PGTABLE_H */
+#endif /* _LIBCPU_PGTABLE_H */
diff --git a/c/src/lib/libcpu/powerpc/shared/include/spr.h b/c/src/lib/libcpu/powerpc/shared/include/spr.h
index d14a13c82e..8a1a65c469 100644
--- a/c/src/lib/libcpu/powerpc/shared/include/spr.h
+++ b/c/src/lib/libcpu/powerpc/shared/include/spr.h
@@ -17,8 +17,8 @@
*/
-#ifndef _PPC_SPR_H
-#define _PPC_SPR_H
+#ifndef _LIBCPU_SPR_H
+#define _LIBCPU_SPR_H
#include <rtems/powerpc/registers.h>
diff --git a/c/src/lib/libcpu/powerpc/shared/src/stackTrace.h b/c/src/lib/libcpu/powerpc/shared/src/stackTrace.h
index b85b333876..f73dc2eff2 100644
--- a/c/src/lib/libcpu/powerpc/shared/src/stackTrace.h
+++ b/c/src/lib/libcpu/powerpc/shared/src/stackTrace.h
@@ -1,5 +1,5 @@
-#ifndef CPU_STACK_UTIL_H
-#define CPU_STACK_UTIL_H
+#ifndef _LIBCPU_STACKTRACE_H
+#define _LIBCPU_STACKTRACE_H
void CPU_stack_take_snapshot(void **stack, int size, void *pc, void *lr, void *r1);