From c0d80471813628dbedd68f45f14b3b7b85d12f8b Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 12 Jul 2024 04:28:12 +0200 Subject: [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 --- Boot/BootKit/BootKit.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Boot/BootKit/BootKit.hxx') diff --git a/Boot/BootKit/BootKit.hxx b/Boot/BootKit/BootKit.hxx index be2ecc50..af727da1 100644 --- a/Boot/BootKit/BootKit.hxx +++ b/Boot/BootKit/BootKit.hxx @@ -100,7 +100,7 @@ public: ~BFileReader(); public: - Void ReadAll(SizeT until, SizeT chunk = 4096); + Void ReadAll(SizeT until, SizeT chunk = kib_cast(4)); enum { -- cgit v1.2.3