mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-07-16 01:50:40 +00:00
Use xxd and remove python scripts.
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
#include "kernel_code.h"
|
||||
#include "../include/config.h"
|
||||
#include "../shellcode_hypervisor/shellcode_hypervisor.h"
|
||||
#include "../shellcode_hypervisor/shellcode_hypervisor_args.h"
|
||||
#include "shellcode_kernel_args.h"
|
||||
#include "utils.h"
|
||||
#include <unistd.h>
|
||||
|
||||
#define DIG1TRANSMITTERCONTROL 0x4c
|
||||
|
||||
@@ -118,8 +120,8 @@ static void patch_hv(void) {
|
||||
}
|
||||
|
||||
// Install hv_shellcode 2
|
||||
memcpy((void *)PHYS_TO_DMAP(cave_hv_code), shellcode_hypervisor,
|
||||
shellcode_hypervisor_len);
|
||||
memcpy((void *)PHYS_TO_DMAP(cave_hv_code), shellcode_hypervisor_bin,
|
||||
shellcode_hypervisor_bin_len);
|
||||
|
||||
// Jump to shellcode final identity mapping
|
||||
uint8_t shellcode_jmp[] = {
|
||||
|
||||
Reference in New Issue
Block a user