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 832B

12345678910111213141516171819202122232425262728293031323334353637
  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. /** PXE load address segment */
  11. #define PXE_LOAD_SEGMENT 0
  12. /** PXE load address offset */
  13. #define PXE_LOAD_OFFSET 0x7c00
  14. /** PXE physical load address */
  15. #define PXE_LOAD_PHYS ( ( PXE_LOAD_SEGMENT << 4 ) + PXE_LOAD_OFFSET )
  16. /** !PXE structure */
  17. extern struct s_PXE __text16 ( ppxe );
  18. #define ppxe __use_text16 ( ppxe )
  19. /** PXENV+ structure */
  20. extern struct s_PXENV __text16 ( pxenv );
  21. #define pxenv __use_text16 ( pxenv )
  22. extern void pxe_hook_int1a ( void );
  23. extern int pxe_unhook_int1a ( void );
  24. extern void pxe_init_structures ( void );
  25. extern int pxe_start_nbp ( void );
  26. extern __asmcall void pxe_api_call ( struct i386_all_regs *ix86 );
  27. #endif /* _PXE_CALL_H */