diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-12 09:31:36 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-02-12 09:31:36 +0100 |
| commit | 52f882514384c6be00752be0dca9bd511db9d450 (patch) | |
| tree | 17898d84b8f597304dc7b16076f51e4880a170d1 /dev/Boot/src/New+Delete.cc | |
| parent | 3ab08798d0f6f71ea00f8ea2485a8abe06f3893a (diff) | |
ADD: Qr Code algortihm from a vendor library which I forgot about from
the R&D.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Boot/src/New+Delete.cc')
| -rw-r--r-- | dev/Boot/src/New+Delete.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/Boot/src/New+Delete.cc b/dev/Boot/src/New+Delete.cc index 1cb37e0c..03a1bb68 100644 --- a/dev/Boot/src/New+Delete.cc +++ b/dev/Boot/src/New+Delete.cc @@ -18,7 +18,7 @@ void* operator new(size_t sz) { void* buf = nullptr; - while (BS->AllocatePool(EfiMemoryType::EfiLoaderData, sz, &buf) == kBufferTooSmall) + while (BS->AllocatePool(EfiMemoryType::EfiLoaderData, sz, &buf) != kEfiOk) BS->FreePool(buf); return buf; |
