gfdt_add_vdev()

Add a virtual device node to the FDT (ARM)

Synopsis:

#include <qvm/firmware.h>
int gfdt_add_vdev(int parent,
                  const char *name,
                  vdev_t *vdp)

Arguments:

parent
The FDT parent node (vdevs) under which to add the vdev child node.
name
A string that specifies the vdev node's base name.
vdp
The vdev to add.

Library:

Provided by qvm; no external library is required.

Returns:

The offset of the newly added node.