Move creation of MMU translation property entries into architecture-specific files, rather than in ofmem_common.c. This is because different architectures have

different translation entries described within the OF platform bindings. With thanks to Andreas Färber and Igor Kovalenko.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>


git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@772 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Mark Cave-Ayland
2010-05-21 11:07:53 +00:00
committed by Mark Cave-Ayland
parent 389529217e
commit 12eab86f39
4 changed files with 52 additions and 4 deletions

View File

@@ -63,6 +63,8 @@ extern void* ofmem_arch_get_malloc_base(void);
extern ucell ofmem_arch_get_heap_top(void);
extern ucell ofmem_arch_get_virt_top(void);
extern retain_t* ofmem_arch_get_retained(void);
extern int ofmem_arch_get_translation_entry_size(void);
extern void ofmem_arch_create_translation_entry(ucell *transentry, translation_t *t);
extern ucell ofmem_arch_default_translation_mode( ucell phys );
extern void ofmem_arch_early_map_pages(ucell phys, ucell virt, ucell size,
ucell mode);