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

1234567891011121314151617181920212223242526272829303132333435
  1. #ifndef _PXE_CALL_H
  2. #define _PXE_CALL_H
  3. /** @file
  4. *
  5. * PXE API entry point
  6. */
  7. #include <pxe_api.h>
  8. #include <realmode.h>
  9. /** PXE load address segment */
  10. #define PXE_LOAD_SEGMENT 0
  11. /** PXE load address offset */
  12. #define PXE_LOAD_OFFSET 0x7c00
  13. /** PXE physical load address */
  14. #define PXE_LOAD_PHYS ( ( PXE_LOAD_SEGMENT << 4 ) + PXE_LOAD_OFFSET )
  15. /** !PXE structure */
  16. extern struct s_PXE __text16 ( ppxe );
  17. #define ppxe __use_text16 ( ppxe )
  18. /** PXENV+ structure */
  19. extern struct s_PXENV __text16 ( pxenv );
  20. #define pxenv __use_text16 ( pxenv )
  21. extern void pxe_hook_int1a ( void );
  22. extern int pxe_unhook_int1a ( void );
  23. extern void pxe_init_structures ( void );
  24. extern int pxe_start_nbp ( void );
  25. extern __asmcall void pxe_api_call ( struct i386_all_regs *ix86 );
  26. #endif /* _PXE_CALL_H */