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.

bios_sanboot.h 541B

1234567891011121314151617181920212223242526272829
  1. #ifndef _IPXE_BIOS_SANBOOT_H
  2. #define _IPXE_BIOS_SANBOOT_H
  3. /** @file
  4. *
  5. * Standard PC-BIOS sanboot interface
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
  9. #ifdef SANBOOT_PCBIOS
  10. #define SANBOOT_PREFIX_pcbios
  11. #else
  12. #define SANBOOT_PREFIX_pcbios __pcbios_
  13. #endif
  14. /**
  15. * Get default SAN drive number
  16. *
  17. * @ret drive Default drive number
  18. */
  19. static inline __always_inline unsigned int
  20. SANBOOT_INLINE ( pcbios, san_default_drive ) ( void ) {
  21. /* Default to booting from first hard disk */
  22. return 0x80;
  23. }
  24. #endif /* _IPXE_BIOS_SANBOOT_H */