|
NeKernel dev
|
#include <BootKit/BootKit.h>#include <BootKit/BootThread.h>#include <FirmwareKit/EFI.h>#include <FirmwareKit/EFI/API.h>#include <FirmwareKit/Handover.h>#include <KernelKit/MSDOS.h>#include <KernelKit/PE.h>#include <KernelKit/PEF.h>#include <NeKit/Macros.h>#include <NeKit/Ref.h>#include <modules/CoreGfx/CoreGfx.h>#include <modules/CoreGfx/TextGfx.h>Functions | |
| EXTERN_C Void | rt_reset_hardware () |
| EXTERN_C Kernel::VoidPtr | boot_read_cr3 () |
| STATIC Bool | boot_init_fb () |
| Finds and stores the GOP object. | |
| EFI_EXTERN_C EFI_API Int32 | BootloaderMain (EfiHandlePtr image_handle, EfiSystemTable *sys_table) |
| BootloaderMain EFI entrypoint. | |
Variables | |
| STATIC EfiGraphicsOutputProtocol * | kGop = nullptr |
| STATIC UInt16 | kGopStride = 0U |
| STATIC EFI_GUID | kGopGuid |
| EFI_GUID | kEfiGlobalNamespaceVarGUID |
| EXTERN_C Kernel::VoidPtr boot_read_cr3 | ( | ) |
| EFI_EXTERN_C EFI_API Int32 BootloaderMain | ( | EfiHandlePtr | image_handle, |
| EfiSystemTable * | sys_table ) |
BootloaderMain EFI entrypoint.
| image_handle | Handle of this image. |
| sys_table | The system table of it. |
! Init the EFI library.
access attributes (in order) EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS
| EFI_GUID kEfiGlobalNamespaceVarGUID |
| STATIC EfiGraphicsOutputProtocol* kGop = nullptr |
Graphics related.