j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Author: mcayland Date: Tue Apr 9 20:32:49 2013 New Revision: 1113 URL: http://tracker.coreboot.org/trac/openbios/changeset/1113
Log: SPARC32: Fix OFMEM mappings for OpenBIOS so that they show up in the translations property.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Modified: trunk/openbios-devel/arch/sparc32/lib.c
Modified: trunk/openbios-devel/arch/sparc32/lib.c ============================================================================== --- trunk/openbios-devel/arch/sparc32/lib.c Sat Apr 6 19:31:25 2013 (r1112) +++ trunk/openbios-devel/arch/sparc32/lib.c Tue Apr 9 20:32:49 2013 (r1113) @@ -401,9 +401,11 @@ size = (unsigned long)&_end - (unsigned long)&_start; pa = va2pa(va); ofmem_arch_map_pages(pa, va, size, ofmem_arch_default_translation_mode(pa)); + ofmem_map_page_range(pa, va, size, ofmem_arch_default_translation_mode(pa));
// 1:1 mapping for RAM ofmem_arch_map_pages(0, 0, LOWMEMSZ, ofmem_arch_default_translation_mode(0)); + ofmem_map_page_range(0, 0, LOWMEMSZ, ofmem_arch_default_translation_mode(0));
/* * Flush cache