diff options
author | Bamvor Jian Zhang <bjzhang@suse.com> | 2013-07-15 16:45:33 +0800 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-07-17 10:34:29 +0100 |
commit | 75beb8e45133acb8795024fc6114ff557ce1c27f (patch) | |
tree | dc74bac1c813de0108e552a6748ec8b3a2083739 /xen/include/asm-arm/procinfo.h | |
parent | 68caac7f6f4687241a24e804a9fca19aa26fe183 (diff) | |
download | xen-75beb8e45133acb8795024fc6114ff557ce1c27f.tar.gz xen-75beb8e45133acb8795024fc6114ff557ce1c27f.tar.bz2 xen-75beb8e45133acb8795024fc6114ff557ce1c27f.zip |
xen: arm: introduce Cortex-A7 support
Introduce Cortex-A7 with a scalable proc_info_list which including cpu id
and cpu initialize function.
In head.S, search cpu specific MIDR in procinfo and call such initialize
function. Currently, support Cortex-A7 and Cortex-A15.
Signed-off-by: Bamvor Jian Zhang <bjzhang@suse.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/include/asm-arm/procinfo.h')
-rw-r--r-- | xen/include/asm-arm/procinfo.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/xen/include/asm-arm/procinfo.h b/xen/include/asm-arm/procinfo.h new file mode 100644 index 0000000000..9d3feb7d0a --- /dev/null +++ b/xen/include/asm-arm/procinfo.h @@ -0,0 +1,30 @@ +/* + * include/asm-arm/procinfo.h + * + * Bamvor Jian Zhang <bjzhang@suse.com> + * Copyright (c) 2013 SUSE + * + * base on linux/arch/arm/include/asm/procinfo.h + * Copyright (C) 1996-1999 Russell King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef __ASM_ARM_PROCINFO_H +#define __ASM_ARM_PROCINFO_H + +struct proc_info_list { + unsigned int cpu_val; + unsigned int cpu_mask; + void (*cpu_init)(void); +}; + +#endif |