Ticket #5193: 0003-Pretend-to-set-all-memory-types.patch

File 0003-Pretend-to-set-all-memory-types.patch, 708 bytes (added by andreasf, 10 years ago)

draft patch: pretend to set any memory type

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

    From d2a6b69514f74ebcbca3ff632ada88a1c2ffcedc Mon Sep 17 00:00:00 2001
    From: Andreas Faerber <andreas.faerber@web.de>
    Date: Sun, 6 Jun 2010 05:25:04 +0200
    Subject: [PATCH 3/3] Pretend to set all memory types
    
    ---
     src/system/kernel/arch/ppc/arch_vm.cpp |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/src/system/kernel/arch/ppc/arch_vm.cpp b/src/system/kernel/arch/ppc/arch_vm.cpp
    index f3e6298..c557888 100644
    a b arch_vm_set_memory_type(VMArea *area, phys_addr_t physicalBase, uint32 type)  
    182182    if (type == 0)
    183183        return B_OK;
    184184
    185     return B_ERROR;
     185    return B_OK;
    186186}