6 * Copyright (C) 1999, 2002 Samuel Rydh (samuel@ibrium.se)
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation
14 #ifndef _H_OFMEM_SPARC32
15 #define _H_OFMEM_SPARC32
17 #include "libopenbios/ofmem.h"
19 #define OF_CODE_START 0xffd00000
20 #define OFMEM_VIRT_TOP 0xfe000000
23 extern struct mem cdvmem;
25 extern unsigned long *l1;
26 extern unsigned long find_pte(unsigned long va, int alloc);
28 void mem_init(struct mem *t, char *begin, char *limit);
29 void *mem_alloc(struct mem *t, int size, int align);
31 #endif /* _H_OFMEM_SPARC32 */