summaryrefslogtreecommitdiff
path: root/boot/efi/system_table.h
diff options
context:
space:
mode:
Diffstat (limited to 'boot/efi/system_table.h')
-rw-r--r--boot/efi/system_table.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/boot/efi/system_table.h b/boot/efi/system_table.h
new file mode 100644
index 0000000..93e839d
--- /dev/null
+++ b/boot/efi/system_table.h
@@ -0,0 +1,31 @@
+#pragma once
+
+#include "table.h"
+
+extern "C"
+{
+ struct efi_system_table
+ {
+ void *m_Value;
+ };
+}
+
+namespace Efi
+{
+ class SystemTable : private Table
+ {
+ char16_t *m_FirmwareVendor;
+ uint32_t m_FirmwareRevision;
+ Handle m_ConsoleInHandle;
+ void *m_ConIn;
+ Handle m_ConsoleOutHandle;
+ void *m_ConOut;
+ Handle m_StandardErrorHandle;
+ void *m_StdErr;
+ void *m_RuntimeServices;
+ void *m_BootServices;
+ size_t m_NumberOfTableEntries;
+ void *m_ConfigurationTable;
+ };
+}
+