Ticket #6129: 0002-Don-t-unmap-0x90000000-0xa0000000.patch

File 0002-Don-t-unmap-0x90000000-0xa0000000.patch, 958 bytes (added by andreasf, 9 years ago)

workaround: don't unmap the frame buffer - depends on #6128

  • src/system/kernel/arch/ppc/arch_vm.cpp

    From 94065ccc044342ac5308ed083a0aa3d5d37acb97 Mon Sep 17 00:00:00 2001
    From: Andreas Faerber <andreas.faerber@web.de>
    Date: Fri, 4 Jun 2010 00:41:43 +0200
    Subject: [PATCH 2/3] Don't unmap 0x90000000-0xa0000000
    
    ---
     src/system/kernel/arch/ppc/arch_vm.cpp |    4 ++--
     1 files changed, 2 insertions(+), 2 deletions(-)
    
    diff --git a/src/system/kernel/arch/ppc/arch_vm.cpp b/src/system/kernel/arch/ppc/arch_vm.cpp
    index 3d3f004..63044a0 100644
    a b arch_vm_init_end(kernel_args *args)  
    130130
    131131    // Throw away any address space mappings we've inherited from the boot
    132132    // loader and have not yet turned into an area.
    133     vm_free_unused_boot_loader_range(0, 0xffffffff - B_PAGE_SIZE + 1);
    134 
     133    vm_free_unused_boot_loader_range(0, 0x90000000);
     134    vm_free_unused_boot_loader_range(0xa0000000, 0xffffffff - B_PAGE_SIZE + 1 - 0xa0000000);
    135135    return B_OK;
    136136}
    137137