1. Remove #ifdef _MSC_EXTENSION_ from all source files
2. Remove #ifdef _GCC_ from all resource files 3. Remove #if 0 from all resource files 4. Remove #ifdef MDE_CPU_IPF and #ifdef MDE_CPU_EBC 5. Remove #progam from Decode.c 6. Remove #ifdef TIANO_EXTENSION_FLAG from source files 7. Remove #ifdef SUPPORT_IPV6, since code base doesn't support IPV6 at all. 8. Remove #ifdef SpecialNowaitVersion from pxe_bc_mtftp.c, since it's only used for test. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2470 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2006, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
Copyright (c) 2006 - 2007, Intel Corporation
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
http://opensource.org/licenses/bsd-license.php
|
||||
|
||||
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
Module Name:
|
||||
pxe_bc_udp.c
|
||||
@@ -44,21 +44,21 @@ Routine description:
|
||||
|
||||
Parameters:
|
||||
Private := Pointer to PxeBc interface
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
GatewayIpPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
GatewayIpPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
|
||||
Returns:
|
||||
EFI_SUCCESS :=
|
||||
EFI_INVALID_PARAMETER :=
|
||||
other :=
|
||||
EFI_SUCCESS :=
|
||||
EFI_INVALID_PARAMETER :=
|
||||
other :=
|
||||
--*/
|
||||
{
|
||||
UINTN TotalLength;
|
||||
@@ -197,20 +197,20 @@ Routine description:
|
||||
|
||||
Parameters:
|
||||
This := Pointer to PxeBc interface.
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
GatewayIpPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
GatewayIpPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
|
||||
Returns:
|
||||
EFI_SUCCESS :=
|
||||
other :=
|
||||
EFI_SUCCESS :=
|
||||
other :=
|
||||
--*/
|
||||
{
|
||||
EFI_STATUS StatCode;
|
||||
@@ -291,21 +291,21 @@ Routine description:
|
||||
|
||||
Parameters:
|
||||
Private := Pointer to PxeBc interface
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
TimeoutEvent :=
|
||||
|
||||
Returns:
|
||||
EFI_SUCCESS :=
|
||||
EFI_INVALID_PARAMETER :=
|
||||
other :=
|
||||
EFI_SUCCESS :=
|
||||
EFI_INVALID_PARAMETER :=
|
||||
other :=
|
||||
--*/
|
||||
{
|
||||
EFI_STATUS StatCode;
|
||||
@@ -362,14 +362,6 @@ Returns:
|
||||
CopyMem (&TmpDestIp, &Private->EfiBc.Mode->StationIp, sizeof (TmpDestIp));
|
||||
}
|
||||
|
||||
#if SUPPORT_IPV6
|
||||
if (Private->EfiBc.Mode->UsingIpv6) {
|
||||
//
|
||||
// %%TBD
|
||||
//
|
||||
}
|
||||
#endif
|
||||
|
||||
for (;;) {
|
||||
*BufferSizeptr = BufferSize;
|
||||
|
||||
@@ -500,19 +492,19 @@ Routine description:
|
||||
|
||||
Parameters:
|
||||
This := Pointer to PxeBc interface.
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
OpFlags :=
|
||||
DestIpPtr :=
|
||||
DestPortPtr :=
|
||||
SrcIpPtr :=
|
||||
SrcPortPtr :=
|
||||
HeaderSizePtr :=
|
||||
HeaderPtr :=
|
||||
BufferSizeptr :=
|
||||
BufferPtr :=
|
||||
|
||||
Returns:
|
||||
EFI_SUCCESS :=
|
||||
other :=
|
||||
EFI_SUCCESS :=
|
||||
other :=
|
||||
--*/
|
||||
{
|
||||
EFI_STATUS StatCode;
|
||||
|
Reference in New Issue
Block a user