[bofm] Allow BOFM tests to be run without a BOFM-capable device driver

The BOFM tests are not part of the standard unit test suite, since
they are designed to allow for exercising real BOFM driver code
outside of the context of a real IBM blade server.

Allow for the BOFM tests to be run without a real BOFM driver, by
providing a dummy driver for the specified PCI test device.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-04-29 13:39:12 +01:00
parent 4e909cc2b0
commit 0800723845
2 changed files with 113 additions and 1 deletions

View File

@@ -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
*