Home
last modified time | relevance | path

Searched hist:"31 bce16715f6e0b0b60ff0f67b8ccc734f050933" (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/kernel/arch/ppc/
H A Darch_vm.cpp31bce16715f6e0b0b60ff0f67b8ccc734f050933 Fri Aug 20 22:22:38 UTC 2010 Andreas Färber <andreas.faerber@web.de> ppc: Keep memory mappings set up by OpenFirmware

Revert r36886 and fix compilation of insert_virtual_range_to_keep().
The use of void* vs. addr_t matches the surrounding boot loader code
but should probably be revised in favour of addr_t.

create_area() in the kernel wrongly assumed a RAM-backed address range,
which was destined to fail since ranges below the kernel address space
were ignored anyway. Use vm_map_physical_memory() instead.

This fixes a hang once the frame buffer and other resources used by OF
get unmapped. Closes ticket #5193 again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38291 a95241bf-73f2-0310-859d-f6bbb57e9c96
/haiku/src/system/boot/platform/openfirmware/arch/ppc/
H A Dmmu.cpp31bce16715f6e0b0b60ff0f67b8ccc734f050933 Fri Aug 20 22:22:38 UTC 2010 Andreas Färber <andreas.faerber@web.de> ppc: Keep memory mappings set up by OpenFirmware

Revert r36886 and fix compilation of insert_virtual_range_to_keep().
The use of void* vs. addr_t matches the surrounding boot loader code
but should probably be revised in favour of addr_t.

create_area() in the kernel wrongly assumed a RAM-backed address range,
which was destined to fail since ranges below the kernel address space
were ignored anyway. Use vm_map_physical_memory() instead.

This fixes a hang once the frame buffer and other resources used by OF
get unmapped. Closes ticket #5193 again.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38291 a95241bf-73f2-0310-859d-f6bbb57e9c96