mirror of
https://github.com/ipxe/ipxe
synced 2025-12-12 14:32:49 +03:00
Separate out pxe_start_nbp() from pxe_image.c into pxe_call.c
Implement PXENV_RESTART_TFTP.
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
#include <pxe_api.h>
|
||||
#include <realmode.h>
|
||||
|
||||
/** 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 )
|
||||
|
||||
/** !PXE structure */
|
||||
extern struct s_PXE __text16 ( ppxe );
|
||||
#define ppxe __use_text16 ( ppxe )
|
||||
@@ -20,5 +29,6 @@ extern struct s_PXENV __text16 ( pxenv );
|
||||
extern void pxe_hook_int1a ( void );
|
||||
extern int pxe_unhook_int1a ( void );
|
||||
extern void pxe_init_structures ( void );
|
||||
extern int pxe_start_nbp ( void );
|
||||
|
||||
#endif /* _PXE_CALL_H */
|
||||
|
||||
Reference in New Issue
Block a user