mirror of
https://github.com/justinian/jsix.git
synced 2025-12-12 09:24:31 -08:00
[boot] Load programs in boot, not kernel
Remove ELF and initrd loading from the kernel. The bootloader now loads the initial programs, as it does with the kernel. Other files that were in the initrd are now on the ESP, and non-program files are just passed as modules.
This commit is contained in:
13
src/boot/types.h
Normal file
13
src/boot/types.h
Normal file
@@ -0,0 +1,13 @@
|
||||
/// \file types.h
|
||||
/// Definitions of shared types used throughout the bootloader
|
||||
#pragma once
|
||||
|
||||
namespace boot {
|
||||
|
||||
struct buffer
|
||||
{
|
||||
size_t size;
|
||||
void *data;
|
||||
};
|
||||
|
||||
} // namespace boot
|
||||
Reference in New Issue
Block a user