mirror of
https://github.com/ipxe/ipxe
synced 2025-12-27 10:02:42 +03:00
Use a common base-memory packet buffer for DHCP construction (as used
by PXE and NBI) and UNDI packets (as used by undinet and UNDI).
This commit is contained in:
13
src/arch/i386/include/basemem_packet.h
Normal file
13
src/arch/i386/include/basemem_packet.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef BASEMEM_PACKET_H
|
||||
#define BASEMEM_PACKET_H
|
||||
|
||||
#include <realmode.h>
|
||||
|
||||
/** Maximum length of base memory packet buffer */
|
||||
#define BASEMEM_PACKET_LEN 1514
|
||||
|
||||
/** Base memory packet buffer */
|
||||
extern char __data16_array ( basemem_packet, [BASEMEM_PACKET_LEN] );
|
||||
#define basemem_packet __use_data16 ( basemem_packet )
|
||||
|
||||
#endif /* BASEMEM_PACKET_H */
|
||||
Reference in New Issue
Block a user