From d855c0a219a180497c2e50f9bc19bfce69b937a6 Mon Sep 17 00:00:00 2001 From: Ada Christine Date: Thu, 23 Jan 2025 00:24:57 +0000 Subject: it printfs with the efi interface --- boot/efi/table.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 boot/efi/table.h (limited to 'boot/efi/table.h') diff --git a/boot/efi/table.h b/boot/efi/table.h new file mode 100644 index 0000000..660bd1e --- /dev/null +++ b/boot/efi/table.h @@ -0,0 +1,26 @@ +#pragma once + +#include +#include + +namespace Efi +{ + class TableHeader + { + using uint64_t = std::uint64_t; + using uint32_t = std::uint32_t; + using size_t = std::size_t; + + uint64_t m_Signature; + uint32_t m_Revision; + uint32_t m_HeaderSize; + uint32_t m_Crc32; + uint32_t m_Reserved; + }; + + class Table + { + TableHeader m_Header; + }; +} + -- cgit v1.3.1-1-g115d