18 enum device_type type;
24 struct list boot_options;
35 char *boot_image_file;
41 struct list_item list;
48 char *boot_image_file;
64 struct interface_info {
65 unsigned int hwaddr_size;
71 struct blockdev_info {
80 struct interface_info **interfaces;
81 unsigned int n_interfaces;
82 struct blockdev_info **blockdevs;
83 unsigned int n_blockdevs;
88 struct interface_config {
89 uint8_t hwaddr[HWADDR_SIZE];
105 struct network_config {
106 struct interface_config **interfaces;
107 unsigned int n_interfaces;
108 const char **dns_servers;
109 unsigned int n_dns_servers;
112 struct boot_priority {
113 /* Boot options with higher priority values will take precedence over
114 * lower values. Negative priorities signify "don't boot this by
118 enum device_type type;
122 bool autoboot_enabled;
123 unsigned int autoboot_timeout_sec;
124 struct network_config network;
125 struct boot_priority *boot_priorities;
126 unsigned int n_boot_priorities;
129 #endif /* _TYPES_H */