iPXE
|
A root device driver. More...
#include <device.h>
Data Fields | |
int(* | probe )(struct root_device *rootdev) |
Add root device. More... | |
void(* | remove )(struct root_device *rootdev) |
Remove root device. More... | |
int( * root_driver::probe) (struct root_device *rootdev) |
Add root device.
rootdev | Root device |
rc | Return status code |
Called from probe_devices() for all root devices in the build.
Definition at line 116 of file device.h.
Referenced by rootdev_probe().
void( * root_driver::remove) (struct root_device *rootdev) |
Remove root device.
rootdev | Root device |
Called from remove_device() for all successfully-probed root devices.
Definition at line 125 of file device.h.
Referenced by rootdev_remove().