This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
2007-01-13 18:23:44 +01:00
|
|
|
#ifndef _PXE_CALL_H
|
|
|
|
#define _PXE_CALL_H
|
|
|
|
|
|
|
|
/** @file
|
|
|
|
*
|
|
|
|
* PXE API entry point
|
|
|
|
*/
|
|
|
|
|
2009-05-01 16:41:06 +02:00
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
|
2007-01-14 03:20:10 +01:00
|
|
|
#include <pxe_api.h>
|
|
|
|
#include <realmode.h>
|
|
|
|
|
2007-06-30 15:56:35 +02:00
|
|
|
/** PXE load address segment */
|
|
|
|
#define PXE_LOAD_SEGMENT 0
|
|
|
|
|
|
|
|
/** PXE load address offset */
|
|
|
|
#define PXE_LOAD_OFFSET 0x7c00
|
|
|
|
|
|
|
|
/** PXE physical load address */
|
|
|
|
#define PXE_LOAD_PHYS ( ( PXE_LOAD_SEGMENT << 4 ) + PXE_LOAD_OFFSET )
|
|
|
|
|
2007-01-14 03:20:10 +01:00
|
|
|
/** !PXE structure */
|
|
|
|
extern struct s_PXE __text16 ( ppxe );
|
|
|
|
#define ppxe __use_text16 ( ppxe )
|
|
|
|
|
|
|
|
/** PXENV+ structure */
|
|
|
|
extern struct s_PXENV __text16 ( pxenv );
|
|
|
|
#define pxenv __use_text16 ( pxenv )
|
|
|
|
|
|
|
|
extern void pxe_hook_int1a ( void );
|
|
|
|
extern int pxe_unhook_int1a ( void );
|
2007-06-30 15:56:35 +02:00
|
|
|
extern int pxe_start_nbp ( void );
|
2008-11-19 01:18:32 +01:00
|
|
|
extern __asmcall void pxe_api_call ( struct i386_all_regs *ix86 );
|
2007-01-13 18:23:44 +01:00
|
|
|
|
|
|
|
#endif /* _PXE_CALL_H */
|