Reorganize D modules a bit

This commit is contained in:
josh committed 2022-03-19 22:39:12 -04:00
1 parent 163ef9f79e
commit 79b34477ed
9 files changed
+15 -5

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
module hulk.bootinfo;
struct BootInfo
{
struct MemoryRegion
{
ulong base;
size_t size;
ubyte type;
}
struct Framebuffer
{
uint * buffer;
uint width;
uint height;
uint stride;
uint format;
}
Framebuffer fb;
MemoryRegion[800] memory_map;
size_t memory_map_count;
}
enum ulong HULK_VIRTUAL_START = 0x0000_4000_0000_0000u;