diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-31 14:41:48 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-31 14:41:48 +0100 |
| commit | eb2046d6cc73540f540b30e94bf4593ddf24100e (patch) | |
| tree | 914d18ef616590806855a3c43bc2d2e1f17a420f /Private/NewBoot/BootKit | |
| parent | c660c54ef256688553e3face26a8f6b5fe8553a7 (diff) | |
- Update UEFI implementation of SimpleTextProtocol.
- Working on BFileReader.
- Working on Interrupts for AMD64.
- Refactor copyright remove year.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot/BootKit')
| -rw-r--r-- | Private/NewBoot/BootKit/BootKit.hxx | 6 | ||||
| -rw-r--r-- | Private/NewBoot/BootKit/Platform.hxx | 1 | ||||
| -rw-r--r-- | Private/NewBoot/BootKit/Protocol.hxx | 2 |
3 files changed, 6 insertions, 3 deletions
diff --git a/Private/NewBoot/BootKit/BootKit.hxx b/Private/NewBoot/BootKit/BootKit.hxx index e4c14d3a..6f0ee927 100644 --- a/Private/NewBoot/BootKit/BootKit.hxx +++ b/Private/NewBoot/BootKit/BootKit.hxx @@ -2,7 +2,7 @@ * ======================================================== * * NewBoot - * Copyright 2024 Mahrouss Logic, all rights reserved. + * Copyright Mahrouss Logic, all rights reserved. * * ======================================================== */ @@ -56,9 +56,11 @@ HCore::SizeT BSetMem(char *src, const char byte, const HCore::SizeT len); */ class BFileReader final { public: - explicit BFileReader() = default; + explicit BFileReader(const char *path); ~BFileReader() = default; + HCore::VoidPtr ReadAll(); + public: BFileReader &operator=(const BFileReader &) = default; BFileReader(const BFileReader &) = default; diff --git a/Private/NewBoot/BootKit/Platform.hxx b/Private/NewBoot/BootKit/Platform.hxx index d4143094..917678b9 100644 --- a/Private/NewBoot/BootKit/Platform.hxx +++ b/Private/NewBoot/BootKit/Platform.hxx @@ -20,5 +20,6 @@ extern "C" void rt_halt(); extern "C" void rt_cli(); extern "C" void rt_sti(); extern "C" void rt_cld(); +extern "C" void rt_std(); #endif /* ifdef __x86_64__ */ diff --git a/Private/NewBoot/BootKit/Protocol.hxx b/Private/NewBoot/BootKit/Protocol.hxx index d9f7836a..2f84d0a8 100644 --- a/Private/NewBoot/BootKit/Protocol.hxx +++ b/Private/NewBoot/BootKit/Protocol.hxx @@ -2,7 +2,7 @@ * ======================================================== * * NewBoot - * Copyright 2024 Mahrouss Logic, all rights reserved. + * Copyright Mahrouss Logic, all rights reserved. * * ======================================================== */ |
