aboutsummaryrefslogtreecommitdiffstats
path: root/bootloader/memory.h
diff options
context:
space:
mode:
authorGravatar ornitorrincos 2026-08-18 12:15:05 +0200
committerGravatar ornitorrincos 2026-08-18 12:15:05 +0200
commit132d3236bb884433bf94e961f6d32264e0334aec (patch)
tree06638976b06f019ea4037175ff228f8271057c44 /bootloader/memory.h
Diffstat (limited to '')
-rw-r--r--bootloader/memory.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/bootloader/memory.h b/bootloader/memory.h
new file mode 100644
index 0000000..1d42960
--- /dev/null
+++ b/bootloader/memory.h
@@ -0,0 +1,14 @@
+#ifndef MEMORY_H
+#define MEMORY_H
+
+#include <efi.h>
+#include <efilib.h>
+
+#include <stdint.h>
+
+#include "memorytypes.h"
+
+void * EFIAPI AllocatePagesType(IN UINTN size, IN UINTN type);
+void bootloader_memset(void *, uint64_t size, uint8_t value);
+
+#endif