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.

pxe_call.h 981B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. #ifndef _PXE_CALL_H
  2. #define _PXE_CALL_H
  3. /** @file
  4. *
  5. * PXE API entry point
  6. */
  7. FILE_LICENCE ( GPL2_OR_LATER );
  8. #include <pxe_api.h>
  9. #include <realmode.h>
  10. #include <setjmp.h>
  11. struct net_device;
  12. /** PXE load address segment */
  13. #define PXE_LOAD_SEGMENT 0
  14. /** PXE load address offset */
  15. #define PXE_LOAD_OFFSET 0x7c00
  16. /** PXE physical load address */
  17. #define PXE_LOAD_PHYS ( ( PXE_LOAD_SEGMENT << 4 ) + PXE_LOAD_OFFSET )
  18. /** !PXE structure */
  19. extern struct s_PXE __text16 ( ppxe );
  20. #define ppxe __use_text16 ( ppxe )
  21. /** PXENV+ structure */
  22. extern struct s_PXENV __text16 ( pxenv );
  23. #define pxenv __use_text16 ( pxenv )
  24. /** PXENV_RESTART_TFTP jump buffer */
  25. extern rmjmp_buf pxe_restart_nbp;
  26. extern void pxe_activate ( struct net_device *netdev );
  27. extern int pxe_deactivate ( void );
  28. extern int pxe_start_nbp ( void );
  29. extern __asmcall void pxe_api_call ( struct i386_all_regs *ix86 );
  30. extern int pxe_api_call_weak ( struct i386_all_regs *ix86 );
  31. #endif /* _PXE_CALL_H */