summaryrefslogtreecommitdiff
path: root/kernel/include/etc/bootloaderinfo.hpp
blob: b3d1ca88a83fd7c3b37706265136cc31211be6df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

#pragma once

#include <cstdint>
#include <limine.h>

class BootloaderInfo {
public:
    static struct limine_framebuffer* AccessFramebuffer();
    static std::uint64_t AccessHHDM();
    static std::uint64_t AccessRSDP();
    static struct limine_memmap_response* AccessMemoryMap();
    static struct limine_executable_address_response* AccessKernel();
    static struct LIMINE_MP(response)* AccessMP();
    static struct limine_module_response* AccessInitrd();
};