Statistics
| Branch: | Revision:

root / device_tree.c @ 2a2af967

History | View | Annotate | Download (4.1 kB)

# Date Author Comment
bff39b63 10/26/2011 03:36 pm Stefan Weil

device_tree: Fix potential memory leak

cppcheck error report:

device_tree.c:156: error: Memory leak: dupname

Signed-off-by: Stefan Weil <>
Signed-off-by: Stefan Hajnoczi <>

ded57c5f 10/06/2011 10:48 am Alexander Graf

device tree: give dt more size

We currently load a device tree blob and then just take its size x2 to
account for modifications we do inside. While this is nice and great,
it fails when we have a small device tree as blob and lots of nodes added
in machine init code....

80ad7816 10/06/2011 10:48 am Alexander Graf

device tree: add add_subnode command

We want to be able to create subnodes in our device tree, so export it through
the qemu device tree abstraction framework.

Signed-off-by: Alexander Graf <>

ccbcfedd 10/06/2011 10:48 am Alexander Graf

device tree: dont fail operations

When we screw up and issue an FDT command that doesn't work, we really need to
know immediately and usually can't continue to create the machine. To make sure
we don't need to add error checking in all device tree modification code users,...

d69a8e63 10/06/2011 10:43 am Alexander Graf

device tree: add nop_node

We have a qemu internal abstraction layer on FDT. While I'm not fully convinced
we need it at all, it's missing the nop_node functionality that we now need
on e500. So let's add it and think about the general future of that API later....

7267c094 08/21/2011 07:01 am Anthony Liguori

Use glib memory allocation and free functions

qemu_malloc/qemu_free no longer exist after this commit.

Signed-off-by: Anthony Liguori <>

a08784dd 04/15/2011 09:25 pm Blue Swirl

Remove unused sysemu.h include directives

Remove unused sysemu.h include directives to speed up build
with the following patches.

Signed-off-by: Blue Swirl <>

c4897490 04/01/2011 07:34 pm David Gibson

Allow qemu_devtree_setprop() to take arbitrary values

Currently qemu_devtree_setprop() expects the new property value to be
given as a uint32_t *. While property values consisting of u32s are
common, in general they can have any bytestring value.

Therefore, this patch alters the function to take a void * instead,...

39b7f20e 09/23/2009 09:41 am Blue Swirl

Fix device tree compile broken by ca20cf32ab3d945155141ef737f5d08ebb373e1d

Signed-off-by: Blue Swirl <>

3c80c6fe 05/24/2009 11:24 pm Paul Brook

Remove unused variable

Signed-off-by: Paul Brook <>

7ec632b4 04/10/2009 07:23 pm pbrook

Wean device tree code off phys_ram_base.

Signed-off-by: Paul Brook <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7068 c046a42c-6fe2-441c-8c8c-71466251a162

1eec614b 02/06/2009 12:06 am aliguori

toplevel: remove error handling from qemu_malloc() callers (Avi Kivity)

Signed-off-by: Avi Kivity <>
Signed-off-by: Anthony Liguori <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6531 c046a42c-6fe2-441c-8c8c-71466251a162

f652e6af 12/16/2008 12:43 pm aurel32

Implement device tree support needed for Bamboo emulation

To implement the -kernel, -initrd, and -append options, 4xx board emulation
must load the guest kernel as if firmware had loaded it. Where u-boot would be
the firmware, we must load the flat device tree into memory and set key fields...