ref: f4df6dc00cad49fa72184156fee2465b82c01c38
parent: d869990b255a77e3befef4eaa59ff00fec3e0fa2
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 14 20:49:30 EST 2021
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...
--- a/sys/src/boot/efi/efi.c
+++ b/sys/src/boot/efi/efi.c
@@ -49,10 +49,10 @@
[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,
--
⑨