[haiku-commits] haiku: hrev50840 - src/system/boot/platform/efi

  • From: jessica.l.hamilton@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 8 Jan 2017 09:44:39 +0100 (CET)

hrev50840 adds 1 changeset to branch 'master'
old head: d7f781302d55223b90b84ee2281104f2c58b403e
new head: 3d870da3cb219ac0740a9d2cab0d7fc1e5b5f28d
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=3d870da3cb21+%5Ed7f781302d55

----------------------------------------------------------------------------

3d870da3cb21: UEFI: leave runtime memory identity mapped.
  
  * We don't have kernel/userspace access to UEFI at this point
    either, and with some firmware, if we don't keep the
    runtime memory identity mapped, then the loader dies. This
    will fix booting on such machines, and shouldn't have any
    impact on already working machines.

                         [ Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50840
Commit:      3d870da3cb219ac0740a9d2cab0d7fc1e5b5f28d
URL:         http://cgit.haiku-os.org/haiku/commit/?id=3d870da3cb21
Author:      Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
Date:        Sun Jan  8 19:33:08 2017 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+), 1 deletion(-)
src/system/boot/platform/efi/mmu.cpp | 2 +-

----------------------------------------------------------------------------

diff --git a/src/system/boot/platform/efi/mmu.cpp 
b/src/system/boot/platform/efi/mmu.cpp
index 3567a2e..d3057c3 100644
--- a/src/system/boot/platform/efi/mmu.cpp
+++ b/src/system/boot/platform/efi/mmu.cpp
@@ -183,7 +183,7 @@ mmu_post_efi_setup(UINTN memory_map_size, 
EFI_MEMORY_DESCRIPTOR *memory_map, UIN
                        break;
                case EfiRuntimeServicesCode:
                case EfiRuntimeServicesData:
-                       entry->VirtualStart = entry->PhysicalStart + 
0xFFFFFF0000000000ull;
+                       entry->VirtualStart = entry->PhysicalStart;
                        break;
                }
        }


Other related posts:

  • » [haiku-commits] haiku: hrev50840 - src/system/boot/platform/efi - jessica . l . hamilton