summaryrefslogtreecommitdiff
path: root/lib/uefi.c3l/uefi/protocol/image.c3i
diff options
context:
space:
mode:
authorandromeda <andromeda@bsd.my.domain>2026-10-19 18:54:26 -0400
committerandromeda <andromeda@bsd.my.domain>2026-10-19 18:54:26 -0400
commitaa113b17449e67dbd808587b411aeb21ea869974 (patch)
treeb6b7f1b71d761cbc043d5e97f72345d428c140ac /lib/uefi.c3l/uefi/protocol/image.c3i
parent97d331175ae47aec3d0b990ada9754a9e4298e32 (diff)
minimal running stub
Diffstat (limited to 'lib/uefi.c3l/uefi/protocol/image.c3i')
-rw-r--r--lib/uefi.c3l/uefi/protocol/image.c3i23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/uefi.c3l/uefi/protocol/image.c3i b/lib/uefi.c3l/uefi/protocol/image.c3i
new file mode 100644
index 0000000..5d28f32
--- /dev/null
+++ b/lib/uefi.c3l/uefi/protocol/image.c3i
@@ -0,0 +1,23 @@
+module uefi::protocol::image;
+
+import uefi;
+import uefi::protocol::mem;
+
+struct LoadedImageProtocol {
+ uint revision;
+ EfiHandle parentHandle;
+ SystemTable* systemTable;
+
+ EfiHandle deviceHandle;
+ void* filePath;
+ void* reserved;
+
+ uint loadOptionsSize;
+ void* loadOptions;
+
+ void* imageBase;
+ ulong imageSize;
+ MemoryType imageCodeType;
+ MemoryType imageDataType;
+ void* unload;
+}