summaryrefslogtreecommitdiffstats
path: root/src/fundamental
diff options
context:
space:
mode:
authoranonymix007 <48598263+anonymix007@users.noreply.github.com>2024-10-10 17:35:30 +0200
committeranonymix007 <48598263+anonymix007@users.noreply.github.com>2024-10-11 14:23:54 +0200
commit33af0441781d73325a6e1e8c2ad9ec2743283ac1 (patch)
tree5b054ec12adaf2fd28be7ccf16c561cdfac47374 /src/fundamental
parentboot: Add log_info and log_debug (diff)
downloadsystemd-33af0441781d73325a6e1e8c2ad9ec2743283ac1.tar.xz
systemd-33af0441781d73325a6e1e8c2ad9ec2743283ac1.zip
fundamental: Add EFI_GUID userspace definition
Diffstat (limited to 'src/fundamental')
-rw-r--r--src/fundamental/efi-fundamental.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/fundamental/efi-fundamental.h b/src/fundamental/efi-fundamental.h
new file mode 100644
index 0000000000..2862932ec9
--- /dev/null
+++ b/src/fundamental/efi-fundamental.h
@@ -0,0 +1,13 @@
+/* SPDX-License-Identifier: LGPL-2.1-or-later */
+#pragma once
+
+#if !SD_BOOT
+# include <stdint.h>
+/* Matches EFI API definition of the same structure for userspace */
+typedef struct {
+ uint32_t Data1;
+ uint16_t Data2;
+ uint16_t Data3;
+ uint8_t Data4[8];
+} EFI_GUID;
+#endif