mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@691 f158a5a8-5612-0410-a976-696ce0be7e32
29 lines
698 B
C
29 lines
698 B
C
/*
|
|
* <ofmem_sparc64.h>
|
|
*
|
|
* OF Memory manager
|
|
*
|
|
* Copyright (C) 1999, 2002 Samuel Rydh (samuel@ibrium.se)
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation
|
|
*
|
|
*/
|
|
|
|
#ifndef _H_OFMEM_SPARC64
|
|
#define _H_OFMEM_SPARC64
|
|
|
|
#include "libopenbios/ofmem.h"
|
|
|
|
extern void ofmem_map_pages(ucell phys, ucell virt, ucell size, ucell mode);
|
|
|
|
typedef int (*translation_entry_cb)(ucell phys, ucell virt,
|
|
ucell size, ucell mode);
|
|
|
|
extern void ofmem_walk_boot_map(translation_entry_cb cb);
|
|
|
|
extern translation_t **g_ofmem_translations;
|
|
|
|
#endif /* _H_OFMEM_SPARC64 */
|