Proper kernel
This commit is contained in:
18
commands.h
Normal file
18
commands.h
Normal 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
|
||||
Reference in New Issue
Block a user