mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-07-15 21:42:27 +00:00
Rename hv_defeat to hv_defeat_0304.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
#ifndef HV_DEFEAT_H
|
||||
#define HV_DEFEAT_H
|
||||
#ifndef HV_DEFEAT_0304_H
|
||||
#define HV_DEFEAT_0304_H
|
||||
|
||||
#include "iommu.h"
|
||||
#include <stdint.h>
|
||||
|
||||
int hv_defeat(void);
|
||||
int hv_defeat_0304(void);
|
||||
int stage1_tmr_relax(void);
|
||||
int stage2_find_vmcbs(void);
|
||||
uint64_t get_vmcb(int core);
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "hv_defeat.h"
|
||||
#include "hv_defeat_0304.h"
|
||||
#include "config.h"
|
||||
#include "gpu.h"
|
||||
#include "iommu.h"
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
uint64_t vmcb_pa[16];
|
||||
|
||||
int hv_defeat(void) {
|
||||
int hv_defeat_0304(void) {
|
||||
if (gpu_init())
|
||||
return -1;
|
||||
if (stage1_tmr_relax())
|
||||
@@ -1,4 +1,4 @@
|
||||
#include "hv_defeat.h"
|
||||
#include "hv_defeat_0304.h"
|
||||
#include "loader.h"
|
||||
#include "prepare_resume.h"
|
||||
#include "utils.h"
|
||||
@@ -10,7 +10,7 @@ int main(void) {
|
||||
"is supported.");
|
||||
return -1;
|
||||
}
|
||||
if (hv_defeat()) {
|
||||
if (hv_defeat_0304()) {
|
||||
notify("Something went wrong while defeating Hypervisor.\nPlease make sure "
|
||||
"your fw is supported.");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user