diff options
author | Michael Brown | 2017-03-26 14:42:52 +0200 |
---|---|---|
committer | Michael Brown | 2017-03-26 15:03:29 +0200 |
commit | c212597336fd055de854043b83425cbdf1f42603 (patch) | |
tree | db048ce647b51e1c69c03f3cae8041ceedcde66f /src/include/ipxe/errfile.h | |
parent | [scsi] Avoid duplicate call to scsicmd_close() on TEST UNIT READY failure (diff) | |
download | ipxe-c212597336fd055de854043b83425cbdf1f42603.tar.gz ipxe-c212597336fd055de854043b83425cbdf1f42603.tar.xz ipxe-c212597336fd055de854043b83425cbdf1f42603.zip |
[block] Add dummy SAN device
Add a dummy SAN device which allows the "sanhook" command to be tested
even when no SAN booting capability is present on the platform. This
allows substantial portions of the SAN boot code to be run in Linux
under Valgrind.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/errfile.h')
-rw-r--r-- | src/include/ipxe/errfile.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/errfile.h b/src/include/ipxe/errfile.h index cd5c1959..703f4565 100644 --- a/src/include/ipxe/errfile.h +++ b/src/include/ipxe/errfile.h @@ -73,6 +73,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); #define ERRFILE_pixbuf ( ERRFILE_CORE | 0x00210000 ) #define ERRFILE_efi_block ( ERRFILE_CORE | 0x00220000 ) #define ERRFILE_sanboot ( ERRFILE_CORE | 0x00230000 ) +#define ERRFILE_dummy_sanboot ( ERRFILE_CORE | 0x00240000 ) #define ERRFILE_eisa ( ERRFILE_DRIVER | 0x00000000 ) #define ERRFILE_isa ( ERRFILE_DRIVER | 0x00010000 ) |