1 /* 2 * include/asm-arm/procinfo.h 3 * 4 * Bamvor Jian Zhang <bjzhang@suse.com> 5 * Copyright (c) 2013 SUSE 6 * 7 * base on linux/arch/arm/include/asm/procinfo.h 8 * Copyright (C) 1996-1999 Russell King 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 */ 20 21 #ifndef __ASM_ARM_PROCINFO_H 22 #define __ASM_ARM_PROCINFO_H 23 24 #include <xen/sched.h> 25 26 struct processor { 27 /* Initialize specific processor register for the new VPCU*/ 28 void (*vcpu_initialise)(struct vcpu *v); 29 }; 30 31 struct proc_info_list { 32 unsigned int cpu_val; 33 unsigned int cpu_mask; 34 void (*cpu_init)(void); 35 struct processor *processor; 36 }; 37 38 const __init struct proc_info_list *lookup_processor_type(void); 39 40 void __init processor_setup(void); 41 void processor_vcpu_initialise(struct vcpu *v); 42 43 #endif 44