diff options
Diffstat (limited to 'big-little/virtualisor/include/virtualisor.h')
-rw-r--r-- | big-little/virtualisor/include/virtualisor.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/big-little/virtualisor/include/virtualisor.h b/big-little/virtualisor/include/virtualisor.h index abf74bb..f097d39 100644 --- a/big-little/virtualisor/include/virtualisor.h +++ b/big-little/virtualisor/include/virtualisor.h @@ -18,7 +18,7 @@ * contributors may be used to endorse or promote products * derived from this software without specific prior written * permission. - */ + */ #ifndef __VIRTUALISOR_H__ #define __VIRTUALISOR_H__ @@ -30,9 +30,9 @@ * Data structure that holds a copy of the virtualized regs */ typedef struct virt_regs { - unsigned cluster_id; - unsigned mpidr; - unsigned midr; + unsigned cluster_id; + unsigned mpidr; + unsigned midr; } virt_reg_data; /* @@ -40,14 +40,14 @@ typedef struct virt_regs { * by the Virtualisation Extensions. */ typedef struct trap_regs { - unsigned hcr; - unsigned hdcr; - unsigned hcptr; - unsigned hstr; + unsigned hcr; + unsigned hdcr; + unsigned hcptr; + unsigned hstr; } reg_trap_data; typedef struct gp_regs { - unsigned r[15]; + unsigned r[15]; } gp_regs; /* @@ -57,17 +57,17 @@ typedef struct gp_regs { * -igured trap. */ typedef struct virt_desc { - /* cpu midr contents */ - unsigned cpu_no; - /* - * Bitmask to inidicate that Virtualisor setup has been - * done on both host & target cpus. - */ - unsigned char init[NUM_CPUS]; - unsigned (*trap_setup) (unsigned, unsigned); - unsigned (*trap_handle) (gp_regs * regs, unsigned, unsigned); - unsigned (*trap_save) (unsigned, unsigned); - unsigned (*trap_restore) (unsigned, unsigned); + /* cpu midr contents */ + unsigned cpu_no; + /* + * Bitmask to inidicate that Virtualisor setup has been + * done on both host & target cpus. + */ + unsigned char init[NUM_CPUS]; + unsigned (*trap_setup) (unsigned, unsigned); + unsigned (*trap_handle) (gp_regs * regs, unsigned, unsigned); + unsigned (*trap_save) (unsigned, unsigned); + unsigned (*trap_restore) (unsigned, unsigned); } virt_descriptor; extern void SetupVirtualisor(unsigned); @@ -81,4 +81,4 @@ extern unsigned virt_desc_section$$Length; extern unsigned host_cluster; extern unsigned switcher; -#endif /* __VIRTUALISOR_H__ */ +#endif /* __VIRTUALISOR_H__ */ |