17 enum device_type type;
23 struct list boot_options;
34 char *boot_image_file;
40 struct list_item list;
47 char *boot_image_file;
63 struct interface_info {
64 unsigned int hwaddr_size;
70 struct blockdev_info {
79 struct interface_info **interfaces;
80 unsigned int n_interfaces;
81 struct blockdev_info **blockdevs;
82 unsigned int n_blockdevs;
87 struct interface_config {
88 uint8_t hwaddr[HWADDR_SIZE];
104 struct network_config {
105 struct interface_config **interfaces;
106 unsigned int n_interfaces;
107 const char **dns_servers;
108 unsigned int n_dns_servers;
111 struct boot_priority {
112 /* Boot options with higher priority values will take precedence over
113 * lower values. Negative priorities signify "don't boot this by
117 enum device_type type;
121 bool autoboot_enabled;
122 unsigned int autoboot_timeout_sec;
123 struct network_config network;
124 struct boot_priority *boot_priorities;
125 unsigned int n_boot_priorities;
128 #endif /* _TYPES_H */