mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-05-09 00:24:16 +00:00
19 lines
440 B
C
19 lines
440 B
C
#ifndef HV_DEFEAT_H
|
|
#define HV_DEFEAT_H
|
|
|
|
#include "iommu.h"
|
|
#include <stdint.h>
|
|
|
|
int hv_defeat(void);
|
|
int stage1_tmr_relax(void);
|
|
int stage2_find_vmcbs(void);
|
|
uint64_t get_vmcb(int core);
|
|
int iommu_selftest(void);
|
|
int stage3_patch_vmcbs(void);
|
|
int stage4_force_vmcb_reload(void);
|
|
int stage5_remove_xotext(void);
|
|
int stage6_kernel_pmap_invalidate_all(void);
|
|
int stage7_install_kexec(void);
|
|
int kexec(uint64_t fptr);
|
|
|
|
#endif |