Compile fixes for ia64
[qemu-kvm/fedora.git] / hw / device_tree.h
blob05a81ef702859bf78c521e5c34352b6199011c95
1 /*
2 * Header with function prototypes to help device tree manipulation using
3 * libfdt. It also provides functions to read entries from device tree proc
4 * interface.
6 * Copyright 2008 IBM Corporation.
7 * Authors: Jerone Young <jyoung5@us.ibm.com>
9 * This work is licensed under the GNU GPL license version 2 or later.
13 /* device-tree proc support functions */
14 uint32_t read_proc_dt_prop_cell(char *path_in_device_tree);
16 #ifdef CONFIG_LIBFDT
17 /* device tree functions */
18 void *load_device_tree(char *filename_path, target_ulong load_addr);
19 void dump_device_tree_to_file(void *fdt, char *filename);
20 void dt_cell(void *fdt, char *node_path, char *property,
21 uint32_t val);
22 void dt_cell_multi(void *fdt, char *node_path, char *property,
23 uint32_t *val_array, int size);
24 void dt_string(void *fdt, char *node_path, char *property,
25 char *string);
26 #endif