summaryrefslogtreecommitdiff
path: root/big-little/include/traps.h
diff options
context:
space:
mode:
authorRobin Randhawa <robin.randhawa@arm.com>2012-02-16 16:54:06 +0000
committerRobin Randhawa <robin.randhawa@arm.com>2012-02-16 16:55:09 +0000
commit813834c76ac48f29a4e1f67bb341ff0d0911b414 (patch)
treef9aa160817422c3c77ea913ec501221f85996948 /big-little/include/traps.h
parent48aa177c0c3e38dc84728df705e50ba924b6f424 (diff)
GNU indent pass over C and header files.
Basically: $ for f in $(find . -name "*.[ch]"; do indent -linux $f; done Signed-off-by: Robin Randhawa <robin.randhawa@arm.com>
Diffstat (limited to 'big-little/include/traps.h')
-rwxr-xr-xbig-little/include/traps.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/big-little/include/traps.h b/big-little/include/traps.h
index 8afaf5e..2d36210 100755
--- a/big-little/include/traps.h
+++ b/big-little/include/traps.h
@@ -18,7 +18,7 @@
* contributors may be used to endorse or promote products
* derived from this software without specific prior written
* permission.
- */
+ */
#ifndef __TRAPS_H__
#define __TRAPS_H__
@@ -74,22 +74,22 @@
* Structure to hold the registered traps
*/
typedef struct tlist {
- unsigned int hcr;
- unsigned int hstr;
+ unsigned int hcr;
+ unsigned int hstr;
} trap_list;
/*
* Structure to hold registers to whom accesses will be trapped
*/
typedef struct rlist {
- unsigned int reg[MAX_REGS];
+ unsigned int reg[MAX_REGS];
} reg_list;
/*
* Structure to hold platform defined trap handlers
*/
typedef struct hlist {
- int (*handle[MAX_TRAPS]) (unsigned int hsr, unsigned int *operand);
+ int (*handle[MAX_TRAPS]) (unsigned int hsr, unsigned int *operand);
} handler_list;
extern trap_list cp15_trap_list[NUM_CPUS];
@@ -99,4 +99,4 @@ extern handler_list plat_handler_list[NUM_CPUS];
#if !DEBUG
#define printf(...)
#endif
-#endif /* __TRAPS_H__ */
+#endif /* __TRAPS_H__ */