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:
Michael Brown
2007-07-02 18:33:41 +01:00
parent 5f17089b14
commit e42eba4af4
6 changed files with 31 additions and 36 deletions

View File

@@ -19,11 +19,12 @@
/**
* @file
*
* DHCP parameter block provided to external programs in base memory
* Packet buffer in base memory. Used by various components which
* need to pass packets to and from external real-mode code.
*
*/
#include <dhcp_basemem.h>
#include <basemem_packet.h>
#undef dhcp_basemem
char __data16_array ( dhcp_basemem, [DHCP_BASEMEM_LEN] );
#undef basemem_packet
char __data16_array ( basemem_packet, [BASEMEM_PACKET_LEN] );