1. Sync Bug:PXE Boot issue- UefiPxeBc driver currently does not follow PXE Spec

[Root Cause Analysis]
The PXE offer selection in the PXE driver is splitted into two passes and the two passes are required to follow the same flow. However, in current code, there is some difference between the two.
[Solution]
make the second offer selection pass exactly match the first one.

2. Fixed one bug when allocating pool for UDP transmit packet.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5932 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2008-09-19 07:12:23 +00:00
parent 2a5f2a5036
commit 05c0e3cb8a
3 changed files with 70 additions and 64 deletions

View File

@@ -103,6 +103,7 @@ struct _PXEBC_PRIVATE_DATA {
UINT8 MacLen;
BOOLEAN SortOffers;
BOOLEAN GotProxyOffer;
UINT32 NumOffers;
UINT32 SelectedOffer;
UINT32 ProxyOfferType;
@@ -127,9 +128,9 @@ struct _PXEBC_PRIVATE_DATA {
UINT32 BinlIndex[PXEBC_MAX_OFFER_NUM];
EFI_EVENT GetArpCacheEvent;
//
// token and event used to get ICMP error data from IP
//
//
// token and event used to get ICMP error data from IP
//
EFI_IP4_COMPLETION_TOKEN IcmpErrorRcvToken;
};