clean up the un-suitable ';' location when declaring the functions.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5820 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -622,8 +622,7 @@ CHAR16
|
||||
EFIAPI
|
||||
NibbleToHexChar (
|
||||
IN UINT8 Nibble
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Convert binary buffer to a Unicode String in a specified sequence.
|
||||
@@ -660,8 +659,7 @@ BufToHexString (
|
||||
IN OUT UINTN *StringLen,
|
||||
IN CONST UINT8 *Buffer,
|
||||
IN UINTN BufferSizeInBytes
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -705,8 +703,7 @@ HexStringToBuf (
|
||||
IN OUT UINTN *BufferSizeInBytes,
|
||||
IN CONST CHAR16 *String,
|
||||
OUT UINTN *ConvertedStrLen OPTIONAL
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -730,8 +727,7 @@ EFIAPI
|
||||
IsHexDigit (
|
||||
OUT UINT8 *Digit,
|
||||
IN CHAR16 Char
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Convert one Null-terminated Unicode string to a Null-terminated
|
||||
|
@@ -70,8 +70,7 @@ PiLibGetSectionFromAnyFv (
|
||||
IN UINTN SectionInstance,
|
||||
OUT VOID **Buffer,
|
||||
OUT UINTN *Size
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Locates a requested firmware section within a file and returns it to a buffer allocated by this function.
|
||||
@@ -123,8 +122,7 @@ PiLibGetSectionFromCurrentFv (
|
||||
IN UINTN SectionInstance,
|
||||
OUT VOID **Buffer,
|
||||
OUT UINTN *Size
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -170,8 +168,7 @@ PiLibGetSectionFromCurrentFfs (
|
||||
IN UINTN SectionInstance,
|
||||
OUT VOID **Buffer,
|
||||
OUT UINTN *Size
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#endif
|
||||
|
||||
|
@@ -43,8 +43,7 @@ HiiLibPreparePackageList (
|
||||
IN UINTN NumberOfPackages,
|
||||
IN CONST EFI_GUID *GuidId,
|
||||
...
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function allocates pool for an EFI_HII_PACKAGE_LIST structure
|
||||
@@ -78,8 +77,7 @@ HiiLibAddPackages (
|
||||
IN EFI_HANDLE DriverHandle, OPTIONAL
|
||||
OUT EFI_HII_HANDLE *HiiHandle,
|
||||
...
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Removes a package list from the default HII database.
|
||||
@@ -95,8 +93,7 @@ VOID
|
||||
EFIAPI
|
||||
HiiLibRemovePackages (
|
||||
IN EFI_HII_HANDLE HiiHandle
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function adds the string into String Package of each language
|
||||
@@ -122,8 +119,7 @@ HiiLibNewString (
|
||||
IN EFI_HII_HANDLE PackageList,
|
||||
OUT EFI_STRING_ID *StringId,
|
||||
IN CONST EFI_STRING String
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function update the specified string in String Package of each language
|
||||
@@ -148,8 +144,7 @@ HiiLibSetString (
|
||||
IN EFI_HII_HANDLE PackageList,
|
||||
IN EFI_STRING_ID StringId,
|
||||
IN CONST EFI_STRING String
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function try to retrieve string from String package of current language.
|
||||
@@ -182,8 +177,7 @@ HiiLibGetString (
|
||||
IN EFI_STRING_ID StringId,
|
||||
OUT EFI_STRING String,
|
||||
IN OUT UINTN *StringSize
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Get string specified by StringId form the HiiHandle. The caller
|
||||
@@ -209,8 +203,7 @@ HiiLibGetStringFromHandle (
|
||||
IN EFI_HII_HANDLE HiiHandle,
|
||||
IN EFI_STRING_ID StringId,
|
||||
OUT EFI_STRING *String
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Get the string given the StringId and String package Producer's Guid. The caller
|
||||
@@ -234,8 +227,7 @@ HiiLibGetStringFromToken (
|
||||
IN EFI_GUID *ProducerGuid,
|
||||
IN EFI_STRING_ID StringId,
|
||||
OUT EFI_STRING *String
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Determines the handles that are currently active in the database.
|
||||
@@ -257,8 +249,7 @@ EFIAPI
|
||||
HiiLibGetHiiHandles (
|
||||
IN OUT UINTN *HandleBufferLength,
|
||||
OUT EFI_HII_HANDLE **HiiHandleBuffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Extract Hii package list GUID for given HII handle.
|
||||
@@ -277,8 +268,7 @@ EFIAPI
|
||||
HiiLibExtractGuidFromHiiHandle (
|
||||
IN EFI_HII_HANDLE Handle,
|
||||
OUT EFI_GUID *Guid
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Find HII Handle in the default HII database associated with given Device Path.
|
||||
@@ -297,8 +287,7 @@ EFI_HII_HANDLE
|
||||
EFIAPI
|
||||
HiiLibDevicePathToHiiHandle (
|
||||
IN EFI_DEVICE_PATH_PROTOCOL *DevicePath
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -320,8 +309,7 @@ EFI_STATUS
|
||||
EFIAPI
|
||||
HiiLibGetCurrentLanguage (
|
||||
OUT CHAR8 *Lang
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Get next language from language code list (with separator ';').
|
||||
@@ -340,8 +328,7 @@ EFIAPI
|
||||
HiiLibGetNextLanguage (
|
||||
IN OUT CHAR8 **LangCode,
|
||||
OUT CHAR8 *Lang
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function returns the list of supported languages, in the format specified
|
||||
@@ -359,8 +346,7 @@ CHAR8 *
|
||||
EFIAPI
|
||||
HiiLibGetSupportedLanguages (
|
||||
IN EFI_HII_HANDLE HiiHandle
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function returns the list of supported 2nd languages, in the format specified
|
||||
@@ -380,8 +366,7 @@ EFIAPI
|
||||
HiiLibGetSupportedSecondaryLanguages (
|
||||
IN EFI_HII_HANDLE HiiHandle,
|
||||
IN CONST CHAR8 *FirstLanguage
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -399,8 +384,7 @@ UINT16
|
||||
EFIAPI
|
||||
HiiLibGetSupportedLanguageNumber (
|
||||
IN EFI_HII_HANDLE HiiHandle
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Exports the contents of one or all package lists in the HII database into a buffer.
|
||||
@@ -426,8 +410,7 @@ HiiLibExportPackageLists (
|
||||
IN EFI_HII_HANDLE Handle,
|
||||
OUT EFI_HII_PACKAGE_LIST_HEADER **PackageListHeader,
|
||||
OUT UINTN *PackageListSize
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
@@ -436,8 +419,7 @@ HiiLibListPackageLists (
|
||||
IN CONST EFI_GUID *PackageGuid,
|
||||
IN OUT UINTN *HandleBufferLength,
|
||||
OUT EFI_HII_HANDLE **Handle
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Convert language code from RFC3066 to ISO639-2.
|
||||
@@ -463,8 +445,7 @@ EFIAPI
|
||||
ConvertRfc3066LanguageToIso639Language (
|
||||
IN CHAR8 *LanguageRfc3066,
|
||||
OUT CHAR8 *LanguageIso639
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Convert language code from ISO639-2 to RFC3066.
|
||||
@@ -490,8 +471,7 @@ EFIAPI
|
||||
ConvertIso639LanguageToRfc3066Language (
|
||||
IN CONST CHAR8 *LanguageIso639,
|
||||
OUT CHAR8 *LanguageRfc3066
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Convert language code list from RFC3066 to ISO639-2, e.g. "en-US;fr-FR" will
|
||||
@@ -508,7 +488,6 @@ CHAR8 *
|
||||
EFIAPI
|
||||
Rfc3066ToIso639 (
|
||||
CHAR8 *SupportedLanguages
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@@ -27,8 +27,7 @@ VOID *
|
||||
EFIAPI
|
||||
GetHobList (
|
||||
VOID
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Returns the next instance of a HOB type from the starting HOB.
|
||||
@@ -51,8 +50,7 @@ EFIAPI
|
||||
GetNextHob (
|
||||
IN UINT16 Type,
|
||||
IN CONST VOID *HobStart
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Returns the first instance of a HOB type among the whole HOB list.
|
||||
@@ -69,8 +67,7 @@ VOID *
|
||||
EFIAPI
|
||||
GetFirstHob (
|
||||
IN UINT16 Type
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function searches the first instance of a HOB from the starting HOB pointer.
|
||||
@@ -96,8 +93,7 @@ EFIAPI
|
||||
GetNextGuidHob (
|
||||
IN CONST EFI_GUID *Guid,
|
||||
IN CONST VOID *HobStart
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function searches the first instance of a HOB among the whole HOB list.
|
||||
@@ -117,8 +113,7 @@ VOID *
|
||||
EFIAPI
|
||||
GetFirstGuidHob (
|
||||
IN CONST EFI_GUID *Guid
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Get the Boot Mode from the HOB list.
|
||||
@@ -135,8 +130,7 @@ EFI_BOOT_MODE
|
||||
EFIAPI
|
||||
GetBootModeHob (
|
||||
VOID
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a HOB for a loaded PE32 module.
|
||||
@@ -160,8 +154,7 @@ BuildModuleHob (
|
||||
IN EFI_PHYSICAL_ADDRESS MemoryAllocationModule,
|
||||
IN UINT64 ModuleLength,
|
||||
IN EFI_PHYSICAL_ADDRESS EntryPoint
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a HOB that describes a chunk of system memory.
|
||||
@@ -184,8 +177,7 @@ BuildResourceDescriptorHob (
|
||||
IN EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute,
|
||||
IN EFI_PHYSICAL_ADDRESS PhysicalStart,
|
||||
IN UINT64 NumberOfBytes
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a GUID HOB with a certain data length.
|
||||
@@ -210,8 +202,7 @@ EFIAPI
|
||||
BuildGuidHob (
|
||||
IN CONST EFI_GUID *Guid,
|
||||
IN UINTN DataLength
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Copies a data buffer to a newly-built HOB.
|
||||
@@ -239,8 +230,7 @@ BuildGuidDataHob (
|
||||
IN CONST EFI_GUID *Guid,
|
||||
IN VOID *Data,
|
||||
IN UINTN DataLength
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a Firmware Volume HOB.
|
||||
@@ -259,8 +249,7 @@ EFIAPI
|
||||
BuildFvHob (
|
||||
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
||||
IN UINT64 Length
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a EFI_HOB_TYPE_FV2 HOB.
|
||||
@@ -283,8 +272,7 @@ BuildFv2Hob (
|
||||
IN UINT64 Length,
|
||||
IN CONST EFI_GUID *FvName,
|
||||
IN CONST EFI_GUID *FileName
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a Capsule Volume HOB.
|
||||
@@ -303,8 +291,7 @@ EFIAPI
|
||||
BuildCvHob (
|
||||
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
||||
IN UINT64 Length
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a HOB for the CPU.
|
||||
@@ -323,8 +310,7 @@ EFIAPI
|
||||
BuildCpuHob (
|
||||
IN UINT8 SizeOfMemorySpace,
|
||||
IN UINT8 SizeOfIoSpace
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a HOB for the Stack.
|
||||
@@ -343,8 +329,7 @@ EFIAPI
|
||||
BuildStackHob (
|
||||
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
||||
IN UINT64 Length
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a HOB for the BSP store.
|
||||
@@ -365,8 +350,7 @@ BuildBspStoreHob (
|
||||
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
||||
IN UINT64 Length,
|
||||
IN EFI_MEMORY_TYPE MemoryType
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Builds a HOB for the memory allocation.
|
||||
@@ -387,8 +371,7 @@ BuildMemoryAllocationHob (
|
||||
IN EFI_PHYSICAL_ADDRESS BaseAddress,
|
||||
IN UINT64 Length,
|
||||
IN EFI_MEMORY_TYPE MemoryType
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#define GET_HOB_TYPE(Hob) ((Hob).Header->HobType)
|
||||
#define GET_HOB_LENGTH(Hob) ((Hob).Header->HobLength)
|
||||
|
@@ -57,8 +57,7 @@ UINT8
|
||||
EFIAPI
|
||||
PciSegmentRead8 (
|
||||
IN UINT64 Address
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Writes an 8-bit PCI configuration register.
|
||||
@@ -78,8 +77,7 @@ EFIAPI
|
||||
PciSegmentWrite8 (
|
||||
IN UINT64 Address,
|
||||
IN UINT8 Value
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise inclusive OR of an 8-bit PCI configuration register with an 8-bit value.
|
||||
@@ -102,8 +100,7 @@ EFIAPI
|
||||
PciSegmentOr8 (
|
||||
IN UINT64 Address,
|
||||
IN UINT8 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise AND of an 8-bit PCI configuration register with an 8-bit value.
|
||||
@@ -126,8 +123,7 @@ EFIAPI
|
||||
PciSegmentAnd8 (
|
||||
IN UINT64 Address,
|
||||
IN UINT8 AndData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise AND of an 8-bit PCI configuration register with an 8-bit value,
|
||||
@@ -154,8 +150,7 @@ PciSegmentAndThenOr8 (
|
||||
IN UINT64 Address,
|
||||
IN UINT8 AndData,
|
||||
IN UINT8 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field of a PCI configuration register.
|
||||
@@ -183,8 +178,7 @@ PciSegmentBitFieldRead8 (
|
||||
IN UINT64 Address,
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Writes a bit field to a PCI configuration register.
|
||||
@@ -215,8 +209,7 @@ PciSegmentBitFieldWrite8 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT8 Value
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads the 8-bit PCI configuration register specified by Address,
|
||||
@@ -240,8 +233,7 @@ PciSegmentBitFieldOr8 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT8 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field in an 8-bit PCI configuration, performs a bitwise OR,
|
||||
@@ -275,8 +267,7 @@ PciSegmentBitFieldAnd8 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT8 AndData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field in an 8-bit PCI configuration register, performs a bitwise AND,
|
||||
@@ -312,8 +303,7 @@ PciSegmentBitFieldAndThenOr8 (
|
||||
IN UINTN EndBit,
|
||||
IN UINT8 AndData,
|
||||
IN UINT8 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a 16-bit PCI configuration register.
|
||||
@@ -331,8 +321,7 @@ UINT16
|
||||
EFIAPI
|
||||
PciSegmentRead16 (
|
||||
IN UINT64 Address
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Writes a 16-bit PCI configuration register.
|
||||
@@ -352,8 +341,7 @@ EFIAPI
|
||||
PciSegmentWrite16 (
|
||||
IN UINT64 Address,
|
||||
IN UINT16 Value
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise inclusive OR of a 16-bit PCI configuration register with a 16-bit value.
|
||||
@@ -376,8 +364,7 @@ EFIAPI
|
||||
PciSegmentOr16 (
|
||||
IN UINT64 Address,
|
||||
IN UINT16 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise AND of a 16-bit PCI configuration register with a 16-bit value.
|
||||
@@ -400,8 +387,7 @@ EFIAPI
|
||||
PciSegmentAnd16 (
|
||||
IN UINT64 Address,
|
||||
IN UINT16 AndData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise AND of a 16-bit PCI configuration register with a 16-bit value,
|
||||
@@ -428,8 +414,7 @@ PciSegmentAndThenOr16 (
|
||||
IN UINT64 Address,
|
||||
IN UINT16 AndData,
|
||||
IN UINT16 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field of a PCI configuration register.
|
||||
@@ -457,8 +442,7 @@ PciSegmentBitFieldRead16 (
|
||||
IN UINT64 Address,
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Writes a bit field to a PCI configuration register.
|
||||
@@ -489,8 +473,7 @@ PciSegmentBitFieldWrite16 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT16 Value
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads the 16-bit PCI configuration register specified by Address,
|
||||
@@ -514,8 +497,7 @@ PciSegmentBitFieldOr16 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT16 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit PCI configuration, performs a bitwise OR,
|
||||
@@ -549,8 +531,7 @@ PciSegmentBitFieldAnd16 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT16 AndData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field in a 16-bit PCI configuration register, performs a bitwise AND,
|
||||
@@ -586,8 +567,7 @@ PciSegmentBitFieldAndThenOr16 (
|
||||
IN UINTN EndBit,
|
||||
IN UINT16 AndData,
|
||||
IN UINT16 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a 32-bit PCI configuration register.
|
||||
@@ -605,8 +585,7 @@ UINT32
|
||||
EFIAPI
|
||||
PciSegmentRead32 (
|
||||
IN UINT64 Address
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Writes a 32-bit PCI configuration register.
|
||||
@@ -626,8 +605,7 @@ EFIAPI
|
||||
PciSegmentWrite32 (
|
||||
IN UINT64 Address,
|
||||
IN UINT32 Value
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise inclusive OR of a 32-bit PCI configuration register with a 32-bit value.
|
||||
@@ -650,8 +628,7 @@ EFIAPI
|
||||
PciSegmentOr32 (
|
||||
IN UINT64 Address,
|
||||
IN UINT32 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise AND of a 32-bit PCI configuration register with a 32-bit value.
|
||||
@@ -674,8 +651,7 @@ EFIAPI
|
||||
PciSegmentAnd32 (
|
||||
IN UINT64 Address,
|
||||
IN UINT32 AndData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Performs a bitwise AND of a 32-bit PCI configuration register with a 32-bit value,
|
||||
@@ -702,8 +678,7 @@ PciSegmentAndThenOr32 (
|
||||
IN UINT64 Address,
|
||||
IN UINT32 AndData,
|
||||
IN UINT32 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field of a PCI configuration register.
|
||||
@@ -731,8 +706,7 @@ PciSegmentBitFieldRead32 (
|
||||
IN UINT64 Address,
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Writes a bit field to a PCI configuration register.
|
||||
@@ -763,8 +737,7 @@ PciSegmentBitFieldWrite32 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT32 Value
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads the 32-bit PCI configuration register specified by Address,
|
||||
@@ -788,8 +761,7 @@ PciSegmentBitFieldOr32 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT32 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit PCI configuration, performs a bitwise OR,
|
||||
@@ -823,8 +795,7 @@ PciSegmentBitFieldAnd32 (
|
||||
IN UINTN StartBit,
|
||||
IN UINTN EndBit,
|
||||
IN UINT32 AndData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a bit field in a 32-bit PCI configuration register, performs a bitwise AND,
|
||||
@@ -860,8 +831,7 @@ PciSegmentBitFieldAndThenOr32 (
|
||||
IN UINTN EndBit,
|
||||
IN UINT32 AndData,
|
||||
IN UINT32 OrData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Reads a range of PCI configuration registers into a caller supplied buffer.
|
||||
@@ -888,8 +858,7 @@ PciSegmentReadBuffer (
|
||||
IN UINT64 StartAddress,
|
||||
IN UINTN Size,
|
||||
OUT VOID *Buffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Copies the data in a caller supplied buffer to a specified range of PCI configuration space.
|
||||
@@ -916,7 +885,6 @@ PciSegmentWriteBuffer (
|
||||
IN UINT64 StartAddress,
|
||||
IN UINTN Size,
|
||||
IN VOID *Buffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@@ -94,8 +94,7 @@ RETURN_STATUS
|
||||
EFIAPI
|
||||
PeCoffLoaderGetImageInfo (
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Applies relocation fixups to a PE/COFF image that was loaded with PeCoffLoaderLoadImage().
|
||||
@@ -121,8 +120,7 @@ RETURN_STATUS
|
||||
EFIAPI
|
||||
PeCoffLoaderRelocateImage (
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Loads a PE/COFF image into memory.
|
||||
@@ -151,8 +149,7 @@ RETURN_STATUS
|
||||
EFIAPI
|
||||
PeCoffLoaderLoadImage (
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -174,8 +171,7 @@ PeCoffLoaderImageReadFromMemory (
|
||||
IN UINTN FileOffset,
|
||||
IN OUT UINTN *ReadSize,
|
||||
OUT VOID *Buffer
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
@@ -199,8 +195,7 @@ PeCoffLoaderRelocateImageForRuntime (
|
||||
IN PHYSICAL_ADDRESS VirtImageBase,
|
||||
IN UINTN ImageSize,
|
||||
IN VOID *RelocationData
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
Unloads a loaded PE/COFF image from memory and releases its taken resource.
|
||||
@@ -218,6 +213,5 @@ RETURN_STATUS
|
||||
EFIAPI
|
||||
PeCoffLoaderUnloadImage (
|
||||
IN PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
)
|
||||
;
|
||||
);
|
||||
#endif
|
||||
|
@@ -36,7 +36,6 @@ EFIAPI
|
||||
PublishSystemMemory (
|
||||
IN PHYSICAL_ADDRESS MemoryBegin,
|
||||
IN UINT64 MemoryLength
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
#endif
|
||||
|
@@ -417,8 +417,7 @@ LookupUnicodeString2 (
|
||||
IN CONST EFI_UNICODE_STRING_TABLE *UnicodeStringTable,
|
||||
OUT CHAR16 **UnicodeString,
|
||||
IN BOOLEAN Iso639Language
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function adds a Unicode string to UnicodeStringTable.
|
||||
@@ -529,8 +528,7 @@ AddUnicodeString2 (
|
||||
IN EFI_UNICODE_STRING_TABLE **UnicodeStringTable,
|
||||
IN CONST CHAR16 *UnicodeString,
|
||||
IN BOOLEAN Iso639Language
|
||||
)
|
||||
;
|
||||
);
|
||||
|
||||
/**
|
||||
This function frees the table of Unicode strings in UnicodeStringTable.
|
||||
|
Reference in New Issue
Block a user