Make MdeModulePkg GCC clean.
It also pass ICC+IPF and MYTOOLS+EBC build. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3711 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1146,9 +1146,6 @@ PxebcBisDetect (
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static VOID *BCNotifyReg;
|
||||
|
||||
|
||||
/**
|
||||
Start and initialize the BaseCode protocol, Simple Network protocol and UNDI.
|
||||
|
||||
@@ -1559,7 +1556,7 @@ BcStop (
|
||||
return StatCode;
|
||||
}
|
||||
|
||||
const IPV4_ADDR AllSystemsGroup = { 224, 0, 0, 1 };
|
||||
const IPV4_ADDR AllSystemsGroup = {{224, 0, 0, 1}};
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -51,7 +51,7 @@ Abstract:
|
||||
|
||||
#define SUPPORT_IPV6 0
|
||||
|
||||
#define PXE_BASECODE_DEVICE_SIGNATURE 'pxed'
|
||||
#define PXE_BASECODE_DEVICE_SIGNATURE EFI_SIGNATURE_32 ('p', 'x', 'e', 'd')
|
||||
|
||||
//
|
||||
// Determine the classes of IPv4 address
|
||||
@@ -166,7 +166,7 @@ typedef struct {
|
||||
//
|
||||
//
|
||||
//
|
||||
#define LOADFILE_DEVICE_SIGNATURE 'pxel'
|
||||
#define LOADFILE_DEVICE_SIGNATURE EFI_SIGNATURE_32 ('p', 'x', 'e', 'l')
|
||||
|
||||
typedef struct {
|
||||
UINTN Signature;
|
||||
|
@@ -26,8 +26,8 @@ STATIC EFI_PXE_BASE_CODE_UDP_PORT DhcpServerPort = DHCP_SERVER_PORT;
|
||||
STATIC EFI_PXE_BASE_CODE_UDP_PORT DHCPClientPort = DHCP_CLIENT_PORT;
|
||||
STATIC EFI_PXE_BASE_CODE_UDP_PORT PseudoDhcpServerPort = PXE_DISCOVERY_PORT;
|
||||
#define PSEUDO_DHCP_CLIENT_PORT PseudoDhcpServerPort
|
||||
STATIC EFI_IP_ADDRESS BroadcastIP = { 0xffffffff };
|
||||
STATIC EFI_IP_ADDRESS DefaultSubnetMask = { 0xffffff00 };
|
||||
STATIC EFI_IP_ADDRESS BroadcastIP = {{0xffffffff}};
|
||||
STATIC EFI_IP_ADDRESS DefaultSubnetMask = {{0xffffff00}};
|
||||
|
||||
typedef union {
|
||||
DHCPV4_OP_STRUCT *OpPtr;
|
||||
@@ -1470,7 +1470,7 @@ Release (
|
||||
|
||||
CopyMem (
|
||||
&DHCPRELEASEoptions.DhcServerIpPtr,
|
||||
&(DHCPV4_OP_SERVER_IP *) DHCPV4_ACK_BUFFER.OpAdds.PktOptAdds[OP_DHCP_SERVER_IP_IX - 1],
|
||||
(DHCPV4_OP_SERVER_IP *) DHCPV4_ACK_BUFFER.OpAdds.PktOptAdds[OP_DHCP_SERVER_IP_IX - 1],
|
||||
sizeof DHCPRELEASEoptions.DhcServerIpPtr
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user