Map the kernel too

This commit is contained in:
Alex
2023-03-30 19:21:14 +03:00
parent 73f38799eb
commit b6f9a644a7
6 changed files with 373 additions and 110 deletions

View File

@ -3,7 +3,7 @@
enum MemoryType
{
Unknown,
Unknown_Memory_Type,
Usable,
Reserved,
ACPIReclaimable,
@ -11,7 +11,16 @@ enum MemoryType
BadMemory,
BootloaderReclaimable,
KernelAndModules,
Framebuffer
Framebuffer,
Unknown
};
enum FramebufferType
{
Unknown_Framebuffer_Type,
Indexed,
RGB,
EGA
};
#define MAX_FRAMEBUFFERS 16
@ -22,6 +31,7 @@ struct BootInfo
{
struct FramebufferInfo
{
enum FramebufferType Type;
void *BaseAddress;
__UINT64_TYPE__ Width;
__UINT64_TYPE__ Height;