Add a vdev 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 under which to add the vdev child node.
- name
- A string that specifies the vdev node's base name.
- vdp
- The vdev to add.
Returns:
The offset of the newly added node.