j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: blueswirl Date: 2009-12-29 18:36:05 +0100 (Tue, 29 Dec 2009) New Revision: 651
Modified: trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c Log: sparc64: claim memory mapped by startup code
- claim both physical and virtual address ranges while walking boot memory mappings
Signed-off-by: Igor V. Kovalenko igor.v.kovalenko@gmail.com Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c =================================================================== --- trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c 2009-12-29 17:36:03 UTC (rev 650) +++ trunk/openbios-devel/arch/sparc64/ofmem_sparc64.c 2009-12-29 17:36:05 UTC (rev 651) @@ -83,6 +83,8 @@
static int remap_page_range( ucell phys, ucell virt, ucell size, ucell mode ) { + ofmem_claim_phys(phys, size, 0); + ofmem_claim_virt(virt, size, 0); ofmem_map_page_range(phys, virt, size, mode); if (!(mode & SPITFIRE_TTE_LOCKED)) { OFMEM_TRACE("remap_page_range clearing translation " FMT_ucellx