|
|
1.1 root 1: /*
2: * <ofmem_sparc32.h>
3: *
4: * OF Memory manager
5: *
6: * Copyright (C) 1999, 2002 Samuel Rydh ([email protected])
7: *
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
11: *
12: */
13:
14: #ifndef _H_OFMEM_SPARC32
15: #define _H_OFMEM_SPARC32
16:
17: #include "libopenbios/ofmem.h"
18:
19: struct mem;
20: extern struct mem cdvmem;
21:
22: extern unsigned long *l1;
23: extern unsigned long find_pte(unsigned long va, int alloc);
24:
25: void mem_init(struct mem *t, char *begin, char *limit);
26: void *mem_alloc(struct mem *t, int size, int align);
27:
28: #endif /* _H_OFMEM_SPARC32 */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.