Ticket #5193: ppc_free_unused_boot_loader_range2.diff

File ppc_free_unused_boot_loader_range2.diff, 561 bytes (added by andreasf, 10 years ago)

workaround: just free kernel ranges

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

    diff --git a/src/system/kernel/arch/ppc/arch_vm.cpp b/src/system/kernel/arch/ppc/arch_vm.cpp
    index cf66012..eafa15c 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);
     133    vm_free_unused_boot_loader_range(0x80000000, 0xffffffff - B_PAGE_SIZE + 1);
    134134
    135135    return B_OK;
    136136}