/* A driver for handling devices described in coreboot tables. */ struct coreboot_driver { int (*probe)(struct coreboot_device *); void (*remove)(struct coreboot_device *); struct device_driver drv; conststruct coreboot_device_id *id_table;
};
/* use a macro to avoid include chaining to get THIS_MODULE */ #define coreboot_driver_register(driver) \
__coreboot_driver_register(driver, THIS_MODULE) /* Register a driver that uses the data from a coreboot table. */ int __coreboot_driver_register(struct coreboot_driver *driver, struct module *owner);
/* Unregister a driver that uses the data from a coreboot table. */ void coreboot_driver_unregister(struct coreboot_driver *driver);
/* module_coreboot_driver() - Helper macro for drivers that don't do *anythingspecialinmoduleinit/exit.Thiseliminatesalotof *boilerplate.Eachmodulemayonlyusethismacroonce,and *callingitreplacesmodule_init()andmodule_exit()
*/ #define module_coreboot_driver(__coreboot_driver) \
module_driver(__coreboot_driver, coreboot_driver_register, \
coreboot_driver_unregister)
#endif/* __COREBOOT_TABLE_H */
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet am 2026-10-11)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.