fixed more issues by scrubbing.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7457 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jgong5 2009-02-06 05:47:32 +00:00
parent c24b392c30
commit d59b8b55d7
5 changed files with 38 additions and 62 deletions

View File

@ -10,13 +10,6 @@ http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Module Name:
PxeArch.h
Abstract:
Defines PXE Arch type
**/ **/
#ifndef _EFI_PXE_ARCH_H_ #ifndef _EFI_PXE_ARCH_H_

View File

@ -309,8 +309,7 @@ VOID
PxeBcInitSeedPacket ( PxeBcInitSeedPacket (
IN EFI_DHCP4_PACKET *Seed, IN EFI_DHCP4_PACKET *Seed,
IN EFI_UDP4_PROTOCOL *Udp4 IN EFI_UDP4_PROTOCOL *Udp4
) );
;
/** /**
@ -318,15 +317,14 @@ PxeBcInitSeedPacket (
@param CachedPacket Pointer to cached dhcp packet. @param CachedPacket Pointer to cached dhcp packet.
@retval TRUE Success to parse and validation. @retval TRUE Succeed to parse and validation.
@retval FALSE Fail to parse or validation. @retval FALSE Fail to parse or validation.
**/ **/
BOOLEAN BOOLEAN
PxeBcParseCachedDhcpPacket ( PxeBcParseCachedDhcpPacket (
IN PXEBC_CACHED_DHCP4_PACKET *CachedPacket IN PXEBC_CACHED_DHCP4_PACKET *CachedPacket
) );
;
/** /**
This function is to check the selected proxy offer (include BINL dhcp offer and This function is to check the selected proxy offer (include BINL dhcp offer and
@ -342,8 +340,7 @@ PxeBcParseCachedDhcpPacket (
EFI_STATUS EFI_STATUS
PxeBcCheckSelectedOffer ( PxeBcCheckSelectedOffer (
IN PXEBC_PRIVATE_DATA *Private IN PXEBC_PRIVATE_DATA *Private
) );
;
/** /**
@ -383,8 +380,7 @@ PxeBcDhcpCallBack (
IN EFI_DHCP4_EVENT Dhcp4Event, IN EFI_DHCP4_EVENT Dhcp4Event,
IN EFI_DHCP4_PACKET * Packet OPTIONAL, IN EFI_DHCP4_PACKET * Packet OPTIONAL,
OUT EFI_DHCP4_PACKET **NewPacket OPTIONAL OUT EFI_DHCP4_PACKET **NewPacket OPTIONAL
) );
;
/** /**
@ -393,14 +389,14 @@ PxeBcDhcpCallBack (
@param Private Pointer to PxeBc private data. @param Private Pointer to PxeBc private data.
@param Type PxeBc option boot item type @param Type PxeBc option boot item type
@param Layer PxeBc option boot item layer @param Layer PxeBc option boot item layer
@param UseBis use bios or not @param UseBis Use BIS or not
@param DestIp ip address for server @param DestIp Ip address for server
@param IpCount the total of the server ip address @param IpCount The total count of the server ip address
@param SrvList server list @param SrvList Server list
@param IsDiscv discover the vendor or not @param IsDiscv Discover the vendor or not
@param Reply the dhcp4 packet of Pxe reply @param Reply The dhcp4 packet of Pxe reply
@retval EFI_SUCCESS operational success. @retval EFI_SUCCESS Operation succeeds.
@retval EFI_OUT_OF_RESOURCES Allocate memory pool failed. @retval EFI_OUT_OF_RESOURCES Allocate memory pool failed.
@retval EFI_NOT_FOUND There is no vendor option exists. @retval EFI_NOT_FOUND There is no vendor option exists.
@retval EFI_TIMEOUT Send Pxe Discover time out. @retval EFI_TIMEOUT Send Pxe Discover time out.
@ -417,8 +413,7 @@ PxeBcDiscvBootService (
IN EFI_PXE_BASE_CODE_SRVLIST * SrvList, IN EFI_PXE_BASE_CODE_SRVLIST * SrvList,
IN BOOLEAN IsDiscv, IN BOOLEAN IsDiscv,
OUT EFI_DHCP4_PACKET * Reply OPTIONAL OUT EFI_DHCP4_PACKET * Reply OPTIONAL
) );
;
/** /**
@ -437,8 +432,7 @@ PxeBcBuildDhcpOptions (
IN PXEBC_PRIVATE_DATA *Private, IN PXEBC_PRIVATE_DATA *Private,
IN EFI_DHCP4_PACKET_OPTION **OptList, IN EFI_DHCP4_PACKET_OPTION **OptList,
IN BOOLEAN IsDhcpDiscover IN BOOLEAN IsDhcpDiscover
) );
;
/** /**
@ -458,18 +452,17 @@ PxeBcCreateBootOptions (
IN UINT16 Type, IN UINT16 Type,
IN UINT16 *Layer, IN UINT16 *Layer,
OUT UINT32 *OptLen OUT UINT32 *OptLen
) );
;
/** /**
Parse interested dhcp options. Parse interested dhcp options.
@param Buffer Pointer to the dhcp options packet. @param Buffer Pointer to the dhcp options packet.
@param Length the length of the dhcp options. @param Length The length of the dhcp options.
@param OptTag the option OpCode. @param OptTag The option OpCode.
@return Return NULL if the buffer length is 0 and OpCode is not @return NULL if the buffer length is 0 and OpCode is not
PXEBC_DHCP4_TAG_EOP, or the pointer to the buffer. PXEBC_DHCP4_TAG_EOP, or the pointer to the buffer.
**/ **/
@ -478,8 +471,7 @@ PxeBcParseExtendOptions (
IN UINT8 *Buffer, IN UINT8 *Buffer,
IN UINT32 Length, IN UINT32 Length,
IN UINT8 OptTag IN UINT8 OptTag
) );
;
/** /**
@ -488,15 +480,14 @@ PxeBcParseExtendOptions (
@param Dhcp4Option Pointer to dhcp options @param Dhcp4Option Pointer to dhcp options
@param VendorOption Pointer to vendor options @param VendorOption Pointer to vendor options
@return Return TRUE if valid for vendor options, or FALSE. @return TRUE if valid for vendor options, or FALSE.
**/ **/
BOOLEAN BOOLEAN
PxeBcParseVendorOptions ( PxeBcParseVendorOptions (
IN EFI_DHCP4_PACKET_OPTION *Dhcp4Option, IN EFI_DHCP4_PACKET_OPTION *Dhcp4Option,
IN PXEBC_VENDOR_OPTION *VendorOption IN PXEBC_VENDOR_OPTION *VendorOption
) );
;
/** /**
@ -514,8 +505,7 @@ PxeBcParseVendorOptions (
EFI_STATUS EFI_STATUS
PxeBcSelectBootPrompt ( PxeBcSelectBootPrompt (
IN PXEBC_PRIVATE_DATA *Private IN PXEBC_PRIVATE_DATA *Private
) );
;
/** /**
@ -535,8 +525,7 @@ PxeBcSelectBootMenu (
IN PXEBC_PRIVATE_DATA *Private, IN PXEBC_PRIVATE_DATA *Private,
OUT UINT16 *Type, OUT UINT16 *Type,
IN BOOLEAN UseDefaultItem IN BOOLEAN UseDefaultItem
) );
;
#endif #endif

View File

@ -1,5 +1,5 @@
/** @file /** @file
The driver binding for IP4 CONFIG protocol. The driver binding for UEFI PXEBC protocol.
Copyright (c) 2007 - 2008, Intel Corporation.<BR> Copyright (c) 2007 - 2008, Intel Corporation.<BR>
All rights reserved. This program and the accompanying materials All rights reserved. This program and the accompanying materials

View File

@ -46,8 +46,7 @@ PxeBcTftpGetFileSize (
IN UINT8 *Filename, IN UINT8 *Filename,
IN UINTN *BlockSize, IN UINTN *BlockSize,
IN OUT UINT64 *BufferSize IN OUT UINT64 *BufferSize
) );
;
/** /**
@ -64,6 +63,7 @@ PxeBcTftpGetFileSize (
@retval EFI_SUCCESS Read the data success from the special file. @retval EFI_SUCCESS Read the data success from the special file.
@retval EFI_DEVICE_ERROR The network device encountered an error during this operation. @retval EFI_DEVICE_ERROR The network device encountered an error during this operation.
@retval other Read data from file failed. @retval other Read data from file failed.
**/ **/
EFI_STATUS EFI_STATUS
PxeBcTftpReadFile ( PxeBcTftpReadFile (
@ -74,8 +74,7 @@ PxeBcTftpReadFile (
IN UINT8 *BufferPtr, IN UINT8 *BufferPtr,
IN OUT UINT64 *BufferSize, IN OUT UINT64 *BufferSize,
IN BOOLEAN DontUseBuffer IN BOOLEAN DontUseBuffer
) );
;
/** /**
@ -103,8 +102,7 @@ PxeBcTftpWriteFile (
IN UINTN *BlockSize, IN UINTN *BlockSize,
IN UINT8 *BufferPtr, IN UINT8 *BufferPtr,
IN OUT UINT64 *BufferSize IN OUT UINT64 *BufferSize
) );
;
/** /**
@ -132,8 +130,7 @@ PxeBcTftpReadDirectory (
IN UINT8 *BufferPtr, IN UINT8 *BufferPtr,
IN OUT UINT64 *BufferSize, IN OUT UINT64 *BufferSize,
IN BOOLEAN DontUseBuffer IN BOOLEAN DontUseBuffer
) );
;
#endif #endif

View File

@ -45,8 +45,7 @@ VOID
PxeBcCommonNotify ( PxeBcCommonNotify (
IN EFI_EVENT Event, IN EFI_EVENT Event,
IN VOID *Context IN VOID *Context
) );
;
/** /**
@ -111,8 +110,7 @@ UINTN
UtoA10 ( UtoA10 (
IN UINTN Number, IN UINTN Number,
IN CHAR8 *Buffer IN CHAR8 *Buffer
) );
;
/** /**
@ -126,8 +124,7 @@ UtoA10 (
UINT64 UINT64
AtoU64 ( AtoU64 (
IN UINT8 *Buffer IN UINT8 *Buffer
) );
;
#endif #endif