You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

null_sanboot.h 405B

1234567891011121314151617181920212223
  1. #ifndef _IPXE_NULL_SANBOOT_H
  2. #define _IPXE_NULL_SANBOOT_H
  3. /** @file
  4. *
  5. * Standard do-nothing sanboot interface
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #ifdef SANBOOT_NULL
  10. #define SANBOOT_PREFIX_null
  11. #else
  12. #define SANBOOT_PREFIX_null __null_
  13. #endif
  14. static inline __always_inline unsigned int
  15. SANBOOT_INLINE ( null, san_default_drive ) ( void ) {
  16. return 0;
  17. }
  18. #endif /* _IPXE_NULL_SANBOOT_H */