9boot: mark efi boot and runtime service regions as reserved

despite the kernel never doing any efi runtime service calls,
overriding the runtime service regions makes some machines
lock up. so consider them reserved.

the boot service regions should also, in theory, be usable
by the os, but linux says otherwise...
This commit is contained in:
cinap_lenrek 2021-02-15 01:49:30 +01:00
parent b5690a5ae7
commit 04bf70d344

View file

@ -49,10 +49,10 @@ memconf(char **cfg)
[EfiReservedMemoryType] 2,
[EfiLoaderCode] 1,
[EfiLoaderData] 1,
[EfiBootServicesCode] 1,
[EfiBootServicesData] 1,
[EfiRuntimeServicesCode] 1,
[EfiRuntimeServicesData] 1,
[EfiBootServicesCode] 2,
[EfiBootServicesData] 2,
[EfiRuntimeServicesCode] 2,
[EfiRuntimeServicesData] 2,
[EfiConventionalMemory] 1,
[EfiUnusableMemory] 2,
[EfiACPIReclaimMemory] 3,