Proper kernel

This commit is contained in:
2026-02-26 18:11:24 +00:00
parent f266dd7c8c
commit 4d447d3dec
7 changed files with 490 additions and 70 deletions

18
commands.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef COMMANDS_H
#define COMMANDS_H
#include "boot_info.h"
typedef void (*CommandHandlerFn)(BootInfo *Boot, CHAR16 *Args);
typedef struct {
const CHAR16 *name;
const CHAR16 *description;
const CHAR16 *usage;
CommandHandlerFn handler;
} Command;
void execute_command(BootInfo *Boot, CHAR16 *Input);
void show_help(BootInfo *Boot);
#endif