diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-02-15 01:49:30 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-02-15 01:49:30 +0100 |
commit | 04bf70d344698014f9c85ef3c1ae8215223cdb45 (patch) | |
tree | 73f0f19607c1fb4c79f1f967722b36a7e5b4107f | |
parent | b5690a5ae71a92459cd6a32d0ae0e377f1bdd914 (diff) | |
download | plan9front-04bf70d344698014f9c85ef3c1ae8215223cdb45.tar.xz |
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...
-rw-r--r-- | sys/src/boot/efi/efi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/src/boot/efi/efi.c b/sys/src/boot/efi/efi.c index 3102aac50..ee13ba9b8 100644 --- a/sys/src/boot/efi/efi.c +++ b/sys/src/boot/efi/efi.c @@ -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, |