summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/bofm.h
diff options
context:
space:
mode:
authorSimon Rettberg2026-01-28 12:53:53 +0100
committerSimon Rettberg2026-01-28 12:53:53 +0100
commit8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch)
treea8b359e59196be5b2e3862bed189107f4bc9975f /src/include/ipxe/bofm.h
parentMerge branch 'master' into openslx (diff)
parent[prefix] Make unlzma.S compatible with 386 class CPUs (diff)
downloadipxe-openslx.tar.gz
ipxe-openslx.tar.xz
ipxe-openslx.zip
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/include/ipxe/bofm.h')
-rw-r--r--src/include/ipxe/bofm.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/ipxe/bofm.h b/src/include/ipxe/bofm.h
index bc994ea8b..a09c770d2 100644
--- a/src/include/ipxe/bofm.h
+++ b/src/include/ipxe/bofm.h
@@ -328,6 +328,9 @@ struct bofm_operations {
#define __bofm_driver
#endif
+/** Declare a BOFM test driver */
+#define __bofm_test_driver __table_entry ( BOFM_DRIVERS, 02 )
+
/**
* Initialise BOFM device
*
@@ -345,7 +348,7 @@ bofm_init ( struct bofm_device *bofm, struct pci_device *pci,
extern int bofm_register ( struct bofm_device *bofm );
extern void bofm_unregister ( struct bofm_device *bofm );
extern int bofm_find_driver ( struct pci_device *pci );
-extern int bofm ( userptr_t bofmtab, struct pci_device *pci );
+extern int bofm ( void *bofmtab, struct pci_device *pci );
extern void bofm_test ( struct pci_device *pci );
#endif /* _IPXE_BOFM_H */