refactor kernel shellcode and more tyding

This commit is contained in:
Mateico
2026-05-13 16:31:10 +02:00
parent 9d58e22a77
commit a5f27e2205
22 changed files with 386 additions and 481 deletions

View File

@@ -1,4 +1,3 @@
#include "main.h"
#include "../include/config.h"
#include "boot_linux.h"
#include "utils.h"

View File

@@ -1,9 +1,6 @@
#include "utils.h"
#include "shellcode_hv_args.h"
#include <cpuid.h>
extern shellcode_hv_args args;
__attribute__((noinline, optimize("O0"))) uint32_t putc_uart(uint8_t tx_byte) {
volatile uint32_t *uart_tx = (volatile uint32_t *)0xc1010104ULL;
volatile uint32_t *uart_busy = (volatile uint32_t *)0xc101010cULL;