summaryrefslogtreecommitdiffhomepage
path: root/Boot
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-31 04:04:46 +0200
committerAmlal EL Mahrouss <amlalelmahrouss@icloud.com>2024-07-31 04:04:46 +0200
commit5dc33d9a22207b8b664ea83f88280911a22d0c52 (patch)
treef6f55df6b9b44addf07caafea3111ef77f95f8bb /Boot
parent3bfb95803ba25a04ddb57ebbc0f25e4dec29d7e0 (diff)
[IMP] See below.
NewFS: - Add meta files type inside NewFS. - Add flags to file when creating it. - Create file when specifying it. Users: - Can now fetch the current logged in user. Meta: - Add documentation to code. Boot: - Replace 'invalid disk geometry' with 'invalid disk'. Signed-off-by: Amlal EL Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Boot')
-rw-r--r--Boot/BootKit/BootKit.hxx2
-rw-r--r--Boot/amd64-efi.make2
2 files changed, 2 insertions, 2 deletions
diff --git a/Boot/BootKit/BootKit.hxx b/Boot/BootKit/BootKit.hxx
index aa9482a2..86a4dde4 100644
--- a/Boot/BootKit/BootKit.hxx
+++ b/Boot/BootKit/BootKit.hxx
@@ -243,7 +243,7 @@ public:
blockPart->SectorSize != BootDev::kSectorSize ||
blockPart->Version != kNewFSVersionInteger)
{
- EFI::ThrowError(L"Invalid-Disk-Geometry", L"Invalid disk geometry.");
+ EFI::ThrowError(L"Invalid-Disk-Geometry", L"Invalid disk.");
}
else if (blockPart->PartitionName[0] == 0)
{
diff --git a/Boot/amd64-efi.make b/Boot/amd64-efi.make
index d2873099..f1e40d7a 100644
--- a/Boot/amd64-efi.make
+++ b/Boot/amd64-efi.make
@@ -50,7 +50,7 @@ REM=rm
REM_FLAG=-f
FLAG_ASM=-f win64
-FLAG_GNU=-fshort-wchar -D__EFI_x86_64__ -D__NEWOS_OTA__ -mno-red-zone -D__KERNEL__ -D__NEWBOOT__ \
+FLAG_GNU=-fshort-wchar -D__EFI_x86_64__ -mno-red-zone -D__KERNEL__ -D__NEWBOOT__ \
-DEFI_FUNCTION_WRAPPER -I./ -I../Vendor -I../Kernel -c -nostdlib -fno-rtti -fno-exceptions \
-std=c++20 -D__HAVE_MAHROUSS_APIS__ -D__NEWOS_AMD64__ -D__MAHROUSS__ -D__BOOTLOADER__