More cleanup.

Rename shellcode_hypervisor to shellcode_hv and kernel_code to boot_linux.
This commit is contained in:
Andy Nguyen
2026-05-12 23:32:23 +02:00
parent 238f89d954
commit 50b28fb8c1
20 changed files with 38 additions and 54 deletions

View 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