diff options
Diffstat (limited to 'boot/efi/table.h')
| -rw-r--r-- | boot/efi/table.h | 26 |
1 files changed, 26 insertions, 0 deletions
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 <cstddef> +#include <cstdint> + +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; + }; +} + |
