[haiku-commits] haiku: hrev50070 - src/system/boot/platform/bios_ia32

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 3 Feb 2016 01:51:59 +0100 (CET)

hrev50070 adds 1 changeset to branch 'master'
old head: 66f815e0baa755ee6ac3f6caee85ea1ba7f3034e
new head: 4e7b05cca20d88909030317ce6aac83c71490d9c
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=4e7b05cca20d+%5E66f815e0baa7

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

4e7b05cca20d: platform/bios_ia32: Fix regression introduced in hrev48326
  
  * Reverts f3e381dd
  * Details in #12633
  * For some unknown reason, this change breaks an Intel Core 2
    system from booting (Dell Optiplex 960, E8400)
  * If anyone has any ideas on why, let me know :-)

                          [ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

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

Revision:    hrev50070
Commit:      4e7b05cca20d88909030317ce6aac83c71490d9c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=4e7b05cca20d
Author:      Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date:        Wed Feb  3 00:48:19 2016 UTC

Ticket:      https://dev.haiku-os.org/ticket/12633

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

1 file changed, 2 insertions(+), 2 deletions(-)
src/system/boot/platform/bios_ia32/mmu.cpp | 4 ++--

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

diff --git a/src/system/boot/platform/bios_ia32/mmu.cpp 
b/src/system/boot/platform/bios_ia32/mmu.cpp
index 0247e77..4897521 100644
--- a/src/system/boot/platform/bios_ia32/mmu.cpp
+++ b/src/system/boot/platform/bios_ia32/mmu.cpp
@@ -212,7 +212,7 @@ unmap_page(addr_t virtualAddress)
                / (B_PAGE_SIZE * 1024)] & 0xfffff000);
        pageTable[(virtualAddress % (B_PAGE_SIZE * 1024)) / B_PAGE_SIZE] = 0;
 
-       asm volatile("invlpg (%0)" : : "r" (virtualAddress) : "memory");
+       asm volatile("invlpg (%0)" : : "r" (virtualAddress));
 }
 
 
@@ -257,7 +257,7 @@ map_page(addr_t virtualAddress, addr_t physicalAddress, 
uint32 flags)
 
        pageTable[tableEntry] = physicalAddress | flags;
 
-       asm volatile("invlpg (%0)" : : "r" (virtualAddress) : "memory");
+       asm volatile("invlpg (%0)" : : "r" (virtualAddress));
 
        TRACE("map_page: done\n");
 }


Other related posts:

  • » [haiku-commits] haiku: hrev50070 - src/system/boot/platform/bios_ia32 - kallisti5