Changeset View
Changeset View
Standalone View
Standalone View
sys/arm64/include/cpu.h
Show First 20 Lines • Show All 165 Lines • ▼ Show 20 Lines | |||||
void cpu_halt(void) __dead2; | void cpu_halt(void) __dead2; | ||||
void cpu_reset(void) __dead2; | void cpu_reset(void) __dead2; | ||||
void fork_trampoline(void); | void fork_trampoline(void); | ||||
void identify_cache(uint64_t); | void identify_cache(uint64_t); | ||||
void identify_cpu(u_int); | void identify_cpu(u_int); | ||||
void install_cpu_errata(void); | void install_cpu_errata(void); | ||||
void swi_vm(void *v); | void swi_vm(void *v); | ||||
/* Pointer Authentication Code (PAC) support */ | |||||
void ptrauth_init(void); | |||||
void ptrauth_fork(struct thread *, struct thread *); | |||||
void ptrauth_exec(struct thread *); | |||||
void ptrauth_copy_thread(struct thread *, struct thread *); | |||||
void ptrauth_thread_alloc(struct thread *); | |||||
void ptrauth_thread0(struct thread *); | |||||
#ifdef SMP | |||||
void ptrauth_mp_start(uint64_t); | |||||
#endif | |||||
/* Functions to read the sanitised view of the special registers */ | /* Functions to read the sanitised view of the special registers */ | ||||
void update_special_regs(u_int); | void update_special_regs(u_int); | ||||
bool extract_user_id_field(u_int, u_int, uint8_t *); | bool extract_user_id_field(u_int, u_int, uint8_t *); | ||||
bool get_kernel_reg(u_int, uint64_t *); | bool get_kernel_reg(u_int, uint64_t *); | ||||
#define CPU_AFFINITY(cpu) __cpu_affinity[(cpu)] | #define CPU_AFFINITY(cpu) __cpu_affinity[(cpu)] | ||||
#define CPU_CURRENT_SOCKET \ | #define CPU_CURRENT_SOCKET \ | ||||
(CPU_AFF2(CPU_AFFINITY(PCPU_GET(cpuid)))) | (CPU_AFF2(CPU_AFFINITY(PCPU_GET(cpuid)))) | ||||
Show All 32 Lines |