diff options
| author | Ada Christine <adachristine18@gmail.com> | 2025-01-23 00:24:57 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2025-01-23 00:24:57 +0000 |
| commit | d855c0a219a180497c2e50f9bc19bfce69b937a6 (patch) | |
| tree | 1ff8523d41b222fb356fb3404d2a53c26a7d6a3d /boot/efi/table.h | |
| parent | edd52bd1464ee9ae4f0cdf7ff90a20ca175580fe (diff) | |
it printfs with the efi interface
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; + }; +} + |
