]> git.proxmox.com Git - qemu.git/blobdiff - device_tree.h
scsi: do not require a minimum allocation length for INQUIRY
[qemu.git] / device_tree.h
index 9e6ef3d8e3c1046fb81cbb9e5272c2a04294cc32..4378685b7a9ce3f658a7eeaa4cbad9058fbf33c7 100644 (file)
 #ifndef __DEVICE_TREE_H__
 #define __DEVICE_TREE_H__
 
-void *load_device_tree(const char *filename_path, void *load_addr);
+void *load_device_tree(const char *filename_path, int *sizep);
 
 int qemu_devtree_setprop(void *fdt, const char *node_path,
-                         const char *property, uint32_t *val_array, int size);
+                         const char *property, void *val_array, int size);
 int qemu_devtree_setprop_cell(void *fdt, const char *node_path,
                               const char *property, uint32_t val);
 int qemu_devtree_setprop_string(void *fdt, const char *node_path,
                                 const char *property, const char *string);
+int qemu_devtree_nop_node(void *fdt, const char *node_path);
+int qemu_devtree_add_subnode(void *fdt, const char *name);
 
 #endif /* __DEVICE_TREE_H__ */