HomeFreeBSD

boot1.efi: use malloc family from libsa

Description

boot1.efi: use malloc family from libsa

The zfs reader development did reach to the point where linking boot1,
we will get errors about duplicate symbols Malloc, Free, Calloc.

We can just use libsa version, just as loader.efi does. The only concern is,
libsa zalloc is using fixed size heap region, I did pick 64MB as other
stage instances are using, but this size is likely not optimal. In any case,
with limited memory setups, we should boot loader.efi directly.

(cherry picked from commit 12c470af750672c4847af20cc8e2a736aab7db78)

Details

Provenance
tsoomeAuthored on Jun 30 2020, 9:48 PM
kevansCommitted on Oct 8 2021, 5:24 AM
Parents
rGaf3c16f3421e: loader: can not read zfs pool with slog removed
Branches
Unknown
Tags
Unknown