Fix the MODE=tinylinux build

This commit is contained in:
Justine Tunney 2023-08-19 06:56:05 -07:00
parent 965516e313
commit 610e0d95cb
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
5 changed files with 56 additions and 24 deletions

View file

@ -154,6 +154,9 @@ __msabi dontasan EFI_STATUS EfiMain(EFI_HANDLE ImageHandle,
uintptr_t Args, MapKey, DescSize;
uint64_t p, pe, cr4, *m, *pd, *sp, *pml4t, *pdt1, *pdt2, *pdpt1, *pdpt2;
extern char os asm("__hostos");
os = _HOSTMETAL;
/*
* Allocates and clears PC-compatible memory and copies image. Marks the
* pages as EfiRuntimeServicesData, so that we can simply free up all