mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 04:20:17 +03:00
Use the magic of common symbols to allow struct dev to effectively grow at
link time to accommodate whatever bus objects are included.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
*/
|
||||
struct dev;
|
||||
struct mca_device {
|
||||
char *magic; /* must be first */
|
||||
struct dev *dev;
|
||||
unsigned int slot;
|
||||
unsigned char pos[8];
|
||||
|
||||
Reference in New Issue
Block a user