Use Mde library and definition instead of some native definitions in NetLib, to simply network library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4693 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1201,7 +1201,6 @@ BcStart (
|
||||
return EFI_ALREADY_STARTED;
|
||||
}
|
||||
|
||||
#if !SUPPORT_IPV6
|
||||
//
|
||||
// Fail if IPv6 is requested and not supported.
|
||||
//
|
||||
@@ -1210,7 +1209,6 @@ BcStart (
|
||||
EfiReleaseLock (&Private->Lock);
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
#endif
|
||||
//
|
||||
// Setup shortcuts to SNP protocol and data structure.
|
||||
//
|
||||
@@ -2174,7 +2172,7 @@ PxeBcDriverStart (
|
||||
if (EFI_ERROR (Status)) {
|
||||
goto PxeBcError;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Get the Snp interface
|
||||
//
|
||||
@@ -2223,12 +2221,8 @@ PxeBcDriverStart (
|
||||
// implementation supports IPv6.
|
||||
//
|
||||
Private->EfiBc.Mode->Ipv6Supported = SUPPORT_IPV6;
|
||||
|
||||
#if SUPPORT_IPV6
|
||||
Private->EfiBc.Mode->Ipv6Available = Private->NiiPtr->Ipv6Supported;
|
||||
#else
|
||||
Private->EfiBc.Mode->Ipv6Available = FALSE;
|
||||
#endif
|
||||
|
||||
//
|
||||
// Set to TRUE by the BC constructor if this BC
|
||||
// implementation supports BIS.
|
||||
|
Reference in New Issue
Block a user