1 | /* |
---|
2 | * This program is free software; you can redistribute it and/or modify |
---|
3 | * it under the terms of the GNU General Public License as published by |
---|
4 | * the Free Software Foundation; either version 2 of the License, or |
---|
5 | * (at your option) any later version. |
---|
6 | * |
---|
7 | * This program is distributed in the hope that it will be useful, |
---|
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
10 | * GNU General Public License for more details. |
---|
11 | * |
---|
12 | * You should have received a copy of the GNU General Public License |
---|
13 | * along with this program; if not, write to the Free Software |
---|
14 | * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
15 | * |
---|
16 | * Copyright (C) IBM Corp. 2005 |
---|
17 | * |
---|
18 | * Authors: Jimi Xenidis <jimix@watson.ibm.com> |
---|
19 | */ |
---|
20 | |
---|
21 | #ifndef _OFTREE_H |
---|
22 | #define _OFTREE_H |
---|
23 | #include <xen/multiboot.h> |
---|
24 | #include "of-devtree.h" |
---|
25 | |
---|
26 | extern ulong oftree; |
---|
27 | extern ulong oftree_len; |
---|
28 | extern ulong oftree_end; |
---|
29 | extern ofdn_t ofd_boot_cpu; |
---|
30 | |
---|
31 | extern int ofd_dom0_fixup(struct domain *d, ulong mem, const char *cmdline, |
---|
32 | ulong shared_info); |
---|
33 | extern void ofd_memory_props(void *m, struct domain *d); |
---|
34 | |
---|
35 | extern int firmware_image_start[0]; |
---|
36 | extern int firmware_image_size[0]; |
---|
37 | |
---|
38 | extern void memory_init(module_t *mod, int mcount); |
---|
39 | |
---|
40 | #endif /* #ifndef _OFTREE_H */ |
---|