mirror of https://github.com/acidanthera/audk.git
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:
parent
c24b392c30
commit
d59b8b55d7
|
@ -10,13 +10,6 @@ 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:
|
||||
PxeArch.h
|
||||
|
||||
Abstract:
|
||||
Defines PXE Arch type
|
||||
|
||||
|
||||
**/
|
||||
|
||||
#ifndef _EFI_PXE_ARCH_H_
|
||||
|
|
|
@ -309,8 +309,7 @@ VOID
|
|||
PxeBcInitSeedPacket (
|
||||
IN EFI_DHCP4_PACKET *Seed,
|
||||
IN EFI_UDP4_PROTOCOL *Udp4
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -318,15 +317,14 @@ PxeBcInitSeedPacket (
|
|||
|
||||
@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.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
PxeBcParseCachedDhcpPacket (
|
||||
IN PXEBC_CACHED_DHCP4_PACKET *CachedPacket
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function is to check the selected proxy offer (include BINL dhcp offer and
|
||||
|
@ -342,8 +340,7 @@ PxeBcParseCachedDhcpPacket (
|
|||
EFI_STATUS
|
||||
PxeBcCheckSelectedOffer (
|
||||
IN PXEBC_PRIVATE_DATA *Private
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -383,8 +380,7 @@ PxeBcDhcpCallBack (
|
|||
IN EFI_DHCP4_EVENT Dhcp4Event,
|
||||
IN EFI_DHCP4_PACKET * Packet OPTIONAL,
|
||||
OUT EFI_DHCP4_PACKET **NewPacket OPTIONAL
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -393,14 +389,14 @@ PxeBcDhcpCallBack (
|
|||
@param Private Pointer to PxeBc private data.
|
||||
@param Type PxeBc option boot item type
|
||||
@param Layer PxeBc option boot item layer
|
||||
@param UseBis use bios or not
|
||||
@param DestIp ip address for server
|
||||
@param IpCount the total of the server ip address
|
||||
@param SrvList server list
|
||||
@param IsDiscv discover the vendor or not
|
||||
@param Reply the dhcp4 packet of Pxe reply
|
||||
@param UseBis Use BIS or not
|
||||
@param DestIp Ip address for server
|
||||
@param IpCount The total count of the server ip address
|
||||
@param SrvList Server list
|
||||
@param IsDiscv Discover the vendor or not
|
||||
@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_NOT_FOUND There is no vendor option exists.
|
||||
@retval EFI_TIMEOUT Send Pxe Discover time out.
|
||||
|
@ -417,8 +413,7 @@ PxeBcDiscvBootService (
|
|||
IN EFI_PXE_BASE_CODE_SRVLIST * SrvList,
|
||||
IN BOOLEAN IsDiscv,
|
||||
OUT EFI_DHCP4_PACKET * Reply OPTIONAL
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -437,8 +432,7 @@ PxeBcBuildDhcpOptions (
|
|||
IN PXEBC_PRIVATE_DATA *Private,
|
||||
IN EFI_DHCP4_PACKET_OPTION **OptList,
|
||||
IN BOOLEAN IsDhcpDiscover
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -458,18 +452,17 @@ PxeBcCreateBootOptions (
|
|||
IN UINT16 Type,
|
||||
IN UINT16 *Layer,
|
||||
OUT UINT32 *OptLen
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Parse interested dhcp options.
|
||||
|
||||
@param Buffer Pointer to the dhcp options packet.
|
||||
@param Length the length of the dhcp options.
|
||||
@param OptTag the option OpCode.
|
||||
@param Length The length of the dhcp options.
|
||||
@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.
|
||||
|
||||
**/
|
||||
|
@ -478,8 +471,7 @@ PxeBcParseExtendOptions (
|
|||
IN UINT8 *Buffer,
|
||||
IN UINT32 Length,
|
||||
IN UINT8 OptTag
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -488,15 +480,14 @@ PxeBcParseExtendOptions (
|
|||
@param Dhcp4Option Pointer to dhcp 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
|
||||
PxeBcParseVendorOptions (
|
||||
IN EFI_DHCP4_PACKET_OPTION *Dhcp4Option,
|
||||
IN PXEBC_VENDOR_OPTION *VendorOption
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -514,8 +505,7 @@ PxeBcParseVendorOptions (
|
|||
EFI_STATUS
|
||||
PxeBcSelectBootPrompt (
|
||||
IN PXEBC_PRIVATE_DATA *Private
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -535,8 +525,7 @@ PxeBcSelectBootMenu (
|
|||
IN PXEBC_PRIVATE_DATA *Private,
|
||||
OUT UINT16 *Type,
|
||||
IN BOOLEAN UseDefaultItem
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/** @file
|
||||
The driver binding for IP4 CONFIG protocol.
|
||||
The driver binding for UEFI PXEBC protocol.
|
||||
|
||||
Copyright (c) 2007 - 2008, Intel Corporation.<BR>
|
||||
All rights reserved. This program and the accompanying materials
|
||||
|
|
|
@ -46,8 +46,7 @@ PxeBcTftpGetFileSize (
|
|||
IN UINT8 *Filename,
|
||||
IN UINTN *BlockSize,
|
||||
IN OUT UINT64 *BufferSize
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -64,6 +63,7 @@ PxeBcTftpGetFileSize (
|
|||
@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 other Read data from file failed.
|
||||
|
||||
**/
|
||||
EFI_STATUS
|
||||
PxeBcTftpReadFile (
|
||||
|
@ -74,8 +74,7 @@ PxeBcTftpReadFile (
|
|||
IN UINT8 *BufferPtr,
|
||||
IN OUT UINT64 *BufferSize,
|
||||
IN BOOLEAN DontUseBuffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -103,8 +102,7 @@ PxeBcTftpWriteFile (
|
|||
IN UINTN *BlockSize,
|
||||
IN UINT8 *BufferPtr,
|
||||
IN OUT UINT64 *BufferSize
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -132,8 +130,7 @@ PxeBcTftpReadDirectory (
|
|||
IN UINT8 *BufferPtr,
|
||||
IN OUT UINT64 *BufferSize,
|
||||
IN BOOLEAN DontUseBuffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@ VOID
|
|||
PxeBcCommonNotify (
|
||||
IN EFI_EVENT Event,
|
||||
IN VOID *Context
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -111,8 +110,7 @@ UINTN
|
|||
UtoA10 (
|
||||
IN UINTN Number,
|
||||
IN CHAR8 *Buffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -126,8 +124,7 @@ UtoA10 (
|
|||
UINT64
|
||||
AtoU64 (
|
||||
IN UINT8 *Buffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue