Major cleanup and prepare for new hv exploit.

This commit is contained in:
Andy Nguyen
2026-05-16 09:43:48 +02:00
parent 85a16afa80
commit fbe5ae0c32
24 changed files with 210 additions and 326 deletions

View File

@@ -1,12 +1,11 @@
#ifndef MAIN_H
#define MAIN_H
#include "shellcode_kernel_args.h"
#include <stdint.h>
void (*printf)(const char *format, ...);
void (*smp_rendezvous)(void (*setup_func)(void), void (*action_func)(void),
void (*teardown_func)(void), void *arg);
void (*smp_no_rendevous_barrier)(void);
void (*smp_rendezvous)(void (*setup_func)(void *), void (*action_func)(void *),
void (*teardown_func)(void *), void *arg);
void (*smp_no_rendevous_barrier)(void *);
uint32_t main(uint64_t add1, uint64_t add2);