diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 23:03:30 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 23:03:30 +0100 |
| commit | 71a35e96d5597fca8882e96976e9461dc3dd85e9 (patch) | |
| tree | 9b5964cad0edefd00cb2a4eb3842c6e1b428e6bd /Private/EFIKit | |
| parent | df44a789fc90497325ba91be515c02145ae39142 (diff) | |
Bootloader: have been working on unifing the BTextWriter class.
Next commit will be about the BFileReader class. It's going to read files
from EFI.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/EFIKit')
| -rw-r--r-- | Private/EFIKit/EFILib.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Private/EFIKit/EFILib.hxx b/Private/EFIKit/EFILib.hxx index 1648547b..eac2c618 100644 --- a/Private/EFIKit/EFILib.hxx +++ b/Private/EFIKit/EFILib.hxx @@ -15,12 +15,12 @@ inline EfiSystemTable* ST = nullptr; inline EfiBootServices* BS = nullptr; -namespace Detail { +namespace EFI { /** @brief Stop Execution of program. @param SystemTable EFI System Table. */ -Void Stop(EfiSystemTable* SystemTable) noexcept { +inline Void Stop(EfiSystemTable* SystemTable) noexcept { while (true) { rt_cli(); rt_halt(); @@ -43,7 +43,7 @@ inline void KeRuntimeStop(const EfiCharType* File, ST->ConOut->OutputString(ST->ConOut, Reason); ST->ConOut->OutputString(ST->ConOut, L" ***\r\n"); - Detail::Stop(ST); + EFI::Stop(ST); } #ifdef __BOOTLOADER__ |
