mirror of
https://github.com/ps5-linux/ps5-linux-loader.git
synced 2026-07-16 14:20:43 +00:00
More cleanup.
Rename shellcode_hypervisor to shellcode_hv and kernel_code to boot_linux.
This commit is contained in:
18
shellcode_kernel/boot_linux.h
Normal file
18
shellcode_kernel/boot_linux.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef BOOT_LINUX_H
|
||||
#define BOOT_LINUX_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#define ALIGN_UP(size, align) (((size) + (align) - 1) & ~((align) - 1))
|
||||
|
||||
static int dp_enable_link_phy(int lanenum, int linkrate);
|
||||
static void patch_hv(void);
|
||||
void boot_linux(void);
|
||||
|
||||
extern int (*transmitter_control)(int cmd, void *control);
|
||||
extern int (*mp3_initialize)(int vmid);
|
||||
extern int (*mp3_invoke)(int cmd_id, void *req, void *rsp);
|
||||
|
||||
extern uint64_t g_vbios; // for main.c
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user