diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-07-12 04:28:12 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-07-12 04:28:12 +0200 |
| commit | c0d80471813628dbedd68f45f14b3b7b85d12f8b (patch) | |
| tree | a5b99c3253c0f49ca4e97b30e7f9e3d79235dce9 /Kernel | |
| parent | a268a7d3551523fb82b1495808f3ea2516b6fdaa (diff) | |
[IMP]
- Guessing the file size on BFileReader's UEFI implementation.
- Use kib_cast(4) instead of 4096 directly.
- Better resolution, and probing it now.
- Better ProgramLoader class.
- Better description for Filesystem manager.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Kernel')
| -rw-r--r-- | Kernel/FirmwareKit/EFI/EFI.hxx | 2 | ||||
| -rw-r--r-- | Kernel/KernelKit/FileManager.hpp | 2 | ||||
| -rw-r--r-- | Kernel/compile_flags.txt | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/Kernel/FirmwareKit/EFI/EFI.hxx b/Kernel/FirmwareKit/EFI/EFI.hxx index c4120aae..573778ea 100644 --- a/Kernel/FirmwareKit/EFI/EFI.hxx +++ b/Kernel/FirmwareKit/EFI/EFI.hxx @@ -722,8 +722,10 @@ typedef struct EfiFileProtocol EfiStatusType(EFI_API* ReadEx)(EfiFileProtocol* This, struct EfiIOToken* Token); + EfiStatusType(EFI_API* WriteEx)(EfiFileProtocol* This, struct EfiIOToken* Token); + EfiStatusType(EFI_API* FlushEx)(EfiFileProtocol* This, struct EfiIOToken* Token); } EfiFileProtocol, *EfiFileProtocolPtr; diff --git a/Kernel/KernelKit/FileManager.hpp b/Kernel/KernelKit/FileManager.hpp index 927d8b56..1e9fbb75 100644 --- a/Kernel/KernelKit/FileManager.hpp +++ b/Kernel/KernelKit/FileManager.hpp @@ -28,7 +28,7 @@ #include <NewKit/ErrorOr.hpp> #include <NewKit/Ref.hpp> -/// @brief Filesystem abstraction manager. +/// @brief Filesystem manager, abstraction over mounted filesystem. /// Works like the VFS or IFS. #define cRestrictR "r" diff --git a/Kernel/compile_flags.txt b/Kernel/compile_flags.txt index fd4c0d75..cd16b3c3 100644 --- a/Kernel/compile_flags.txt +++ b/Kernel/compile_flags.txt @@ -5,3 +5,4 @@ -I$(HOME)/ -D__NEWOS_AMD64__ -I../Vendor +-D__x86_64__ |
