diff options
| author | 2026-08-18 12:15:05 +0200 | |
|---|---|---|
| committer | 2026-08-18 12:15:05 +0200 | |
| commit | 132d3236bb884433bf94e961f6d32264e0334aec (patch) | |
| tree | 06638976b06f019ea4037175ff228f8271057c44 /bootloader/memorytypes.h | |
Diffstat (limited to '')
| -rw-r--r-- | bootloader/memorytypes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bootloader/memorytypes.h b/bootloader/memorytypes.h new file mode 100644 index 0000000..53ba8fb --- /dev/null +++ b/bootloader/memorytypes.h @@ -0,0 +1,12 @@ +#ifndef MEMORYTYPES_H +#define MEMORYTYPES_H + +// memory types to mark the pages as of specific types +// the specification allows custom types that are bigger than 0x80000000 + +#define MEM_KERNEL 0x80000010 +#define MEM_RAMDISK 0x80000020 +#define MEM_ARGS 0x80000030 +#define MEM_PAGING 0x80000040 + +#endif // MEMORYTYPES_H |
