From 5dc33d9a22207b8b664ea83f88280911a22d0c52 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Wed, 31 Jul 2024 04:04:46 +0200 Subject: [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 --- Boot/BootKit/BootKit.hxx | 2 +- Boot/amd64-efi.make | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'Boot') 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__ -- cgit v1.2.3