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.

Sponsored by: Netflix, Klara Inc.

Details

Provenance
tsoomeAuthored on
Parents
rS362811: Decode APEI tables (BERT, EINJ, ERST, HEST).
Branches
Unknown
Tags
Unknown