diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-12 05:32:09 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-12 05:32:09 +0200 |
| commit | 95f2fc6a9ba93d98a81a817c489de5946dc3f13b (patch) | |
| tree | b97f07c20b41a34550eaa37bc877507e044e356a /dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx | |
| parent | b323d403149db3d720a63af1087d44718821bd67 (diff) | |
Kernel and Bootloader improvements.
- The Allocator works, we have to find a free memory region for the kernel though.
- Add Init procedure to DriveMgr.
- Refactor CG for cgwm.sys
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx')
| -rw-r--r-- | dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx b/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx index 7c9fd042..3c71eaab 100644 --- a/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx +++ b/dev/ZBA/Sources/HEL/AMD64/BootFileReader.cxx @@ -31,7 +31,7 @@ /*** @brief File Reader constructor. */ -BFileReader::BFileReader(const CharacterTypeUTF16* path, +Boot::BFileReader::BFileReader(const CharacterTypeUTF16* path, EfiHandlePtr ImageHandle) { if (path != nullptr) @@ -98,7 +98,7 @@ BFileReader::BFileReader(const CharacterTypeUTF16* path, mErrorCode = kOperationOkay; } -BFileReader::~BFileReader() +Boot::BFileReader::~BFileReader() { if (this->mFile) { @@ -126,7 +126,7 @@ BFileReader::~BFileReader() @param **readUntil** size of file @param **chunkToRead** chunk to read each time. */ -Void BFileReader::ReadAll(SizeT readUntil, SizeT chunkToRead, UIntPtr outAddress) +Void Boot::BFileReader::ReadAll(SizeT readUntil, SizeT chunkToRead, UIntPtr outAddress) { if (mBlob == nullptr) { @@ -183,21 +183,21 @@ Void BFileReader::ReadAll(SizeT readUntil, SizeT chunkToRead, UIntPtr outAddress /// @brief error code getter. /// @return the error code. -Int32& BFileReader::Error() +Int32& Boot::BFileReader::Error() { return mErrorCode; } /// @brief blob getter. /// @return the blob. -VoidPtr BFileReader::Blob() +VoidPtr Boot::BFileReader::Blob() { return mBlob; } /// @breif Size getter. /// @return the size of the file. -UInt64& BFileReader::Size() +UInt64& Boot::BFileReader::Size() { return mSizeFile; } |
