summaryrefslogtreecommitdiff
path: root/bootwrapper/helpers.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 /bootwrapper/helpers.h
parent48aa177c0c3e38dc84728df705e50ba924b6f424 (diff)
downloadswitcher-813834c76ac48f29a4e1f67bb341ff0d0911b414.tar.gz
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 'bootwrapper/helpers.h')
-rw-r--r--bootwrapper/helpers.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/bootwrapper/helpers.h b/bootwrapper/helpers.h
index 862e1da..07ffc47 100644
--- a/bootwrapper/helpers.h
+++ b/bootwrapper/helpers.h
@@ -18,7 +18,7 @@
* contributors may be used to endorse or promote products
* derived from this software without specific prior written
* permission.
- */
+ */
#ifndef _VIRT_HELPERS_H_
#define _VIRT_HELPERS_H_
@@ -157,7 +157,7 @@ extern unsigned read_cntp_ctl(void);
extern unsigned read_cntp_tval(void);
extern unsigned num_secondaries(void);
extern unsigned *copy_words(volatile unsigned *destination,
- volatile unsigned *source, unsigned num_words);
+ volatile unsigned *source, unsigned num_words);
extern unsigned *get_sp(unsigned, unsigned);
/*
@@ -199,22 +199,22 @@ extern void enter_nonsecure_world(unsigned);
* GIC functions
*/
extern void save_gic_interface(unsigned int *pointer,
- unsigned gic_interface_address);
+ unsigned gic_interface_address);
extern int save_gic_distributor_private(unsigned int *pointer,
- unsigned gic_distributor_address);
+ unsigned gic_distributor_address);
extern int save_gic_distributor_shared(unsigned int *pointer,
- unsigned gic_distributor_address);
+ unsigned gic_distributor_address);
extern void restore_gic_interface(unsigned int *pointer,
- unsigned gic_interface_address);
+ unsigned gic_interface_address);
extern void restore_gic_distributor_private(unsigned int *pointer,
- unsigned gic_distributor_address);
+ unsigned gic_distributor_address);
extern void restore_gic_distributor_shared(unsigned int *pointer,
- unsigned gic_distributor_address);
+ unsigned gic_distributor_address);
extern void disable_gic_dist(unsigned int *tmp,
- volatile unsigned int *dist_base);
+ volatile unsigned int *dist_base);
extern void enable_gic_dist(unsigned int tmp, volatile unsigned int *dist_base);
extern void switcher_exit(void);
extern void hyp_save(unsigned, unsigned);
-#endif /* _VIRT_HELPERS_H_ */
+#endif /* _VIRT_HELPERS_H_ */