#include <asm/kvm_asm.h>
#include <asm/kvm_hyp.h>
#include <asm/kvm_mmu.h>
Go to the source code of this file.
◆ __hyp_per_cpu_offset()
unsigned long __hyp_per_cpu_offset |
( |
unsigned int |
cpu | ) |
|
Definition at line 28 of file hyp-smp.c.
30 unsigned long *cpu_base_array;
31 unsigned long this_cpu_base;
32 unsigned long elf_base;
37 this_cpu_base = kern_hyp_va(cpu_base_array[cpu]);
38 elf_base = (
unsigned long)&__per_cpu_start;
39 return this_cpu_base - elf_base;
unsigned long __ro_after_init kvm_arm_hyp_percpu_base[NR_CPUS]
◆ cpu_logical_map()
u64 cpu_logical_map |
( |
unsigned int |
cpu | ) |
|
Definition at line 19 of file hyp-smp.c.
u64 __ro_after_init hyp_cpu_logical_map[NR_CPUS]
◆ hyp_cpu_logical_map
u64 __ro_after_init hyp_cpu_logical_map[NR_CPUS] = { [0 ... NR_CPUS-1] = INVALID_HWID } |
◆ kvm_arm_hyp_percpu_base