clean up the un-suitable ';' location when declaring the functions. The regular is ")[ ]++^p;"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5821 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff
2008-09-04 09:44:58 +00:00
parent ed66e1bc0d
commit e00e1d4694
57 changed files with 314 additions and 628 deletions

View File

@@ -61,8 +61,7 @@ DeviceIoMemRead (
IN UINT64 Address,
IN UINTN Count,
IN OUT VOID *Buffer
)
;
);
/**
@@ -89,8 +88,7 @@ DeviceIoMemWrite (
IN UINT64 Address,
IN UINTN Count,
IN OUT VOID *Buffer
)
;
);
/**
Perform reading I/O space of device.
@@ -116,8 +114,7 @@ DeviceIoIoRead (
IN UINT64 Address,
IN UINTN Count,
IN OUT VOID *Buffer
)
;
);
/**
Perform writing I/O space of device.
@@ -143,8 +140,7 @@ DeviceIoIoWrite (
IN UINT64 Address,
IN UINTN Count,
IN OUT VOID *Buffer
)
;
);
/**
Perform reading PCI configuration space of device
@@ -170,8 +166,7 @@ DeviceIoPciRead (
IN UINT64 Address,
IN UINTN Count,
IN OUT VOID *Buffer
)
;
);
/**
Perform writing PCI configuration space of device.
@@ -197,8 +192,7 @@ DeviceIoPciWrite (
IN UINT64 Address,
IN UINTN Count,
IN OUT VOID *Buffer
)
;
);
/**
Provides an EFI Device Path for a PCI device with the given PCI configuration space address.
@@ -224,8 +218,7 @@ DeviceIoPciDevicePath (
IN EFI_DEVICE_IO_PROTOCOL *This,
IN UINT64 Address,
IN OUT EFI_DEVICE_PATH_PROTOCOL **PciDevicePath
)
;
);
/**
Provides the device-specific addresses needed to access system memory.
@@ -260,8 +253,7 @@ DeviceIoMap (
IN OUT UINTN *NumberOfBytes,
OUT EFI_PHYSICAL_ADDRESS *DeviceAddress,
OUT VOID **Mapping
)
;
);
/**
Completes the Map() operation and releases any corresponding resources.
@@ -279,8 +271,7 @@ EFIAPI
DeviceIoUnmap (
IN EFI_DEVICE_IO_PROTOCOL *This,
IN VOID *Mapping
)
;
);
/**
Allocates pages that are suitable for an EFIBusMasterCommonBuffer mapping.
@@ -308,8 +299,7 @@ DeviceIoAllocateBuffer (
IN EFI_MEMORY_TYPE MemoryType,
IN UINTN Pages,
IN OUT EFI_PHYSICAL_ADDRESS *PhysicalAddress
)
;
);
/**
Flushes any posted write data to the device.
@@ -325,8 +315,7 @@ EFI_STATUS
EFIAPI
DeviceIoFlush (
IN EFI_DEVICE_IO_PROTOCOL *This
)
;
);
/**
Frees pages that were allocated with AllocateBuffer().
@@ -348,8 +337,7 @@ DeviceIoFreeBuffer (
IN EFI_DEVICE_IO_PROTOCOL *This,
IN UINTN Pages,
IN EFI_PHYSICAL_ADDRESS HostAddress
)
;
);
#define DEVICE_IO_PRIVATE_DATA_SIGNATURE EFI_SIGNATURE_32 ('D', 'e', 'I', 'O')

View File

@@ -35,14 +35,12 @@ EFI_STATUS
InstallDefaultConfigAccessProtocol (
IN CONST EFI_HII_PACKAGES *Packages,
IN OUT HII_THUNK_CONTEXT *ThunkContext
)
;
);
VOID
UninstallDefaultConfigAccessProtocol (
IN HII_THUNK_CONTEXT *ThunkContext
)
;
);
/**
@@ -74,8 +72,7 @@ ThunkExtractConfig (
IN CONST EFI_STRING Request,
OUT EFI_STRING *Progress,
OUT EFI_STRING *Results
)
;
);
/**
@@ -100,8 +97,7 @@ ThunkRouteConfig (
IN CONST EFI_HII_CONFIG_ACCESS_PROTOCOL *This,
IN CONST EFI_STRING Configuration,
OUT EFI_STRING *Progress
)
;
);
/**
Wrap the EFI_HII_CONFIG_ACCESS_PROTOCOL.CallBack to EFI_FORM_CALLBACK_PROTOCOL.Callback. Therefor,
@@ -137,8 +133,7 @@ ThunkCallback (
IN UINT8 Type,
IN EFI_IFR_TYPE_VALUE *Value,
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
)
;
);
#endif

View File

@@ -237,16 +237,14 @@ HiiNewPack (
IN EFI_HII_PROTOCOL *This,
IN EFI_HII_PACKAGES *PackageList,
OUT FRAMEWORK_EFI_HII_HANDLE *Handle
)
;
);
EFI_STATUS
EFIAPI
HiiRemovePack (
IN EFI_HII_PROTOCOL *This,
IN FRAMEWORK_EFI_HII_HANDLE Handle
)
;
);
EFI_STATUS
EFIAPI
@@ -254,8 +252,7 @@ HiiFindHandles (
IN EFI_HII_PROTOCOL *This,
IN OUT UINT16 *HandleBufferLength,
OUT FRAMEWORK_EFI_HII_HANDLE *Handle
)
;
);
EFI_STATUS
EFIAPI
@@ -264,8 +261,7 @@ HiiExportDatabase (
IN FRAMEWORK_EFI_HII_HANDLE Handle,
IN OUT UINTN *BufferSize,
OUT VOID *Buffer
)
;
);
EFI_STATUS
EFIAPI
@@ -276,8 +272,7 @@ HiiGetGlyph (
OUT UINT8 **GlyphBuffer,
OUT UINT16 *BitWidth,
IN OUT UINT32 *InternalStatus
)
;
);
EFI_STATUS
EFIAPI
@@ -290,8 +285,7 @@ HiiGlyphToBlt (
IN UINTN Width,
IN UINTN Height,
IN OUT EFI_GRAPHICS_OUTPUT_BLT_PIXEL *BltBuffer
)
;
);
EFI_STATUS
EFIAPI
@@ -301,8 +295,7 @@ HiiNewString (
IN FRAMEWORK_EFI_HII_HANDLE Handle,
IN OUT STRING_REF *Reference,
IN CHAR16 *NewString
)
;
);
EFI_STATUS
EFIAPI
@@ -314,16 +307,14 @@ HiiGetString (
IN CHAR16 *LanguageString,
IN OUT UINTN *BufferLength,
OUT EFI_STRING StringBuffer
)
;
);
EFI_STATUS
EFIAPI
HiiResetStrings (
IN EFI_HII_PROTOCOL *This,
IN FRAMEWORK_EFI_HII_HANDLE Handle
)
;
);
EFI_STATUS
EFIAPI
@@ -332,8 +323,7 @@ HiiTestString (
IN CHAR16 *StringToTest,
IN OUT UINT32 *FirstMissing,
OUT UINT32 *GlyphBufferSize
)
;
);
EFI_STATUS
EFIAPI
@@ -341,8 +331,7 @@ HiiGetPrimaryLanguages (
IN EFI_HII_PROTOCOL *This,
IN FRAMEWORK_EFI_HII_HANDLE Handle,
OUT EFI_STRING *LanguageString
)
;
);
EFI_STATUS
EFIAPI
@@ -351,8 +340,7 @@ HiiGetSecondaryLanguages (
IN FRAMEWORK_EFI_HII_HANDLE Handle,
IN CHAR16 *PrimaryLanguage,
OUT EFI_STRING *LanguageString
)
;
);
EFI_STATUS
EFIAPI
@@ -365,8 +353,7 @@ HiiGetLine (
IN CHAR16 *LanguageString,
IN OUT UINT16 *BufferLength,
OUT EFI_STRING StringBuffer
)
;
);
EFI_STATUS
EFIAPI
@@ -376,8 +363,7 @@ HiiGetForms (
IN EFI_FORM_ID FormId,
IN OUT UINTN *BufferLength,
OUT UINT8 *Buffer
)
;
);
EFI_STATUS
EFIAPI
@@ -386,8 +372,7 @@ HiiGetDefaultImage (
IN FRAMEWORK_EFI_HII_HANDLE Handle,
IN UINTN DefaultMask,
OUT EFI_HII_VARIABLE_PACK_LIST **VariablePackList
)
;
);
EFI_STATUS
EFIAPI
@@ -397,8 +382,7 @@ HiiUpdateForm (
IN EFI_FORM_LABEL Label,
IN BOOLEAN AddData,
IN FRAMEWORK_EFI_HII_UPDATE_DATA *Data
)
;
);
EFI_STATUS
EFIAPI
@@ -406,8 +390,7 @@ HiiGetKeyboardLayout (
IN EFI_HII_PROTOCOL *This,
OUT UINT16 *DescriptorCount,
OUT FRAMEWORK_EFI_KEY_DESCRIPTOR *Descriptor
)
;
);
EFI_STATUS
EFIAPI
@@ -421,8 +404,7 @@ ThunkSendForm (
IN UINT8 *NvMapOverride, OPTIONAL
IN FRAMEWORK_EFI_SCREEN_DESCRIPTOR *ScreenDimensions, OPTIONAL
OUT BOOLEAN *ResetRequired OPTIONAL
)
;
);
EFI_STATUS
EFIAPI
@@ -434,8 +416,7 @@ ThunkCreatePopUp (
OUT EFI_INPUT_KEY *KeyValue,
IN CHAR16 *String,
...
)
;
);
EFI_STATUS
EFIAPI
@@ -445,8 +426,7 @@ RemovePackNotify (
IN CONST EFI_HII_PACKAGE_HEADER *Package,
IN EFI_HII_HANDLE Handle,
IN EFI_HII_DATABASE_NOTIFY_TYPE NotifyType
)
;
);
EFI_STATUS
EFIAPI
@@ -456,8 +436,7 @@ NewOrAddPackNotify (
IN CONST EFI_HII_PACKAGE_HEADER *Package,
IN EFI_HII_HANDLE Handle,
IN EFI_HII_DATABASE_NOTIFY_TYPE NotifyType
)
;
);
#include "Utility.h"
#include "ConfigAccess.h"

View File

@@ -22,8 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
VOID
InitHiiHandleDatabase (
VOID
)
;
);
EFI_STATUS
AllocateHiiHandle (

View File

@@ -19,38 +19,33 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
EFI_STATUS
UCreateEndOfOpcode (
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
F2UCreateSubtitleOpCode (
IN CONST FRAMEWORK_EFI_IFR_SUBTITLE *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
F2UCreateTextOpCode (
IN CONST FRAMEWORK_EFI_IFR_TEXT *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
F2UCreateGotoOpCode (
IN CONST FRAMEWORK_EFI_IFR_REF *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
F2UCreateOneOfOptionOpCode (
IN CONST FRAMEWORK_EFI_IFR_ONE_OF_OPTION *FwOpcode,
IN UINTN Width,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
F2UCreateOneOfOpCode (
@@ -60,8 +55,7 @@ F2UCreateOneOfOpCode (
OUT EFI_HII_UPDATE_DATA *UefiData,
OUT FRAMEWORK_EFI_IFR_OP_HEADER **NextFwOpcode,
OUT UINTN *DataCount
)
;
);
EFI_STATUS
F2UCreateOrderedListOpCode (
@@ -71,8 +65,7 @@ F2UCreateOrderedListOpCode (
OUT EFI_HII_UPDATE_DATA *UefiData,
OUT FRAMEWORK_EFI_IFR_OP_HEADER **NextFwOpcode,
OUT UINTN *DataCount
)
;
);
EFI_STATUS
@@ -81,8 +74,7 @@ F2UCreateCheckBoxOpCode (
IN UINT16 VarStoreId,
IN CONST FRAMEWORK_EFI_IFR_CHECKBOX *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
@@ -91,8 +83,7 @@ F2UCreateNumericOpCode (
IN UINT16 VarStoreId,
IN CONST FRAMEWORK_EFI_IFR_NUMERIC *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
@@ -101,16 +92,14 @@ F2UCreateStringOpCode (
IN UINT16 VarStoreId,
IN CONST FRAMEWORK_EFI_IFR_STRING *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
F2UCreateBannerOpCode (
IN CONST FRAMEWORK_EFI_IFR_BANNER *FwOpcode,
OUT EFI_HII_UPDATE_DATA *UefiData
)
;
);
EFI_STATUS
FwUpdateDataToUefiUpdateData (
@@ -118,7 +107,6 @@ FwUpdateDataToUefiUpdateData (
IN CONST FRAMEWORK_EFI_HII_UPDATE_DATA *Data,
IN BOOLEAN AddData,
OUT EFI_HII_UPDATE_DATA **UefiData
)
;
);
#endif

View File

@@ -74,8 +74,7 @@ UefiDefaultsToFwDefaults (
IN LIST_ENTRY *UefiIfrDefaults,
IN UINTN DefaultMask,
OUT EFI_HII_VARIABLE_PACK_LIST **VariablePackList
)
;
);
/**
Free up all buffer allocated for the link list of UEFI_IFR_BUFFER_STORAGE_NODE.
@@ -92,8 +91,7 @@ UefiDefaultsToFwDefaults (
VOID
FreeDefaultList (
IN LIST_ENTRY *UefiIfrDefaults
)
;
);
#endif

View File

@@ -295,20 +295,17 @@ EvaluateExpression (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN OUT FORM_EXPRESSION *Expression
)
;
);
EFI_STATUS
ParseOpCodes (
IN FORM_BROWSER_FORMSET *FormSet
)
;
);
VOID
DestroyFormSet (
IN OUT FORM_BROWSER_FORMSET *FormSet
)
;
);
#endif

View File

@@ -37,8 +37,7 @@ CHAR16 *
GetToken (
IN EFI_STRING_ID Token,
IN EFI_HII_HANDLE HiiHandle
)
;
);
/**
Create a new string in HII Package List.
@@ -54,8 +53,7 @@ EFI_STRING_ID
NewString (
IN CHAR16 *String,
IN EFI_HII_HANDLE HiiHandle
)
;
);
#endif

View File

@@ -27,8 +27,7 @@
VOID
ResetScopeStack (
VOID
)
;
);
/**
Push an Operand onto the Stack
@@ -43,8 +42,7 @@ ResetScopeStack (
EFI_STATUS
PushScope (
IN UINT8 Operand
)
;
);
/**
@@ -60,8 +58,7 @@ PushScope (
EFI_STATUS
PopScope (
OUT UINT8 *Operand
)
;
);
/**
Zero extend integer/boolean/date/time to UINT64 for comparing.
@@ -74,8 +71,7 @@ PopScope (
VOID
ExtendValueToU64 (
IN EFI_HII_VALUE *Value
)
;
);
/**
Compare two Hii value.
@@ -95,7 +91,6 @@ CompareHiiValue (
IN EFI_HII_VALUE *Value1,
IN EFI_HII_VALUE *Value2,
IN EFI_HII_HANDLE HiiHandle OPTIONAL
)
;
);
#endif

View File

@@ -27,16 +27,14 @@ IdToQuestion (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN UINT16 QuestionId
)
;
);
FORM_EXPRESSION *
IdToExpression (
IN FORM_BROWSER_FORM *Form,
IN UINT8 RuleId
)
;
);
#endif

View File

@@ -31,94 +31,80 @@ EFI_HII_HANDLE
FwHiiHandleToUefiHiiHandle (
IN CONST HII_THUNK_PRIVATE_DATA *Private,
IN FRAMEWORK_EFI_HII_HANDLE FwHiiHandle
)
;
);
HII_THUNK_CONTEXT *
FwHiiHandleToThunkContext (
IN CONST HII_THUNK_PRIVATE_DATA *Private,
IN FRAMEWORK_EFI_HII_HANDLE FwHiiHandle
)
;
);
HII_THUNK_CONTEXT *
UefiHiiHandleToThunkContext (
IN CONST HII_THUNK_PRIVATE_DATA *Private,
IN EFI_HII_HANDLE UefiHiiHandle
)
;
);
EFI_HII_HANDLE *
TagGuidToUefiHiiHandle (
IN CONST HII_THUNK_PRIVATE_DATA *Private,
IN CONST EFI_GUID *Guid
)
;
);
HII_THUNK_CONTEXT *
CreateThunkContextForUefiHiiHandle (
IN EFI_HII_HANDLE UefiHiiHandle
)
;
);
VOID
DestroyThunkContextForUefiHiiHandle (
IN HII_THUNK_PRIVATE_DATA *Private,
IN EFI_HII_HANDLE UefiHiiHandle
)
;
);
UINTN
GetPackageCountByType (
IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageListHeader,
IN UINT8 PackageType
)
;
);
EFI_STATUS
CreateQuestionIdMap (
IN OUT HII_THUNK_CONTEXT *ThunkContext
)
;
);
VOID
GetAttributesOfFirstFormSet (
IN OUT HII_THUNK_CONTEXT *ThunkContext
)
;
);
LIST_ENTRY *
GetMapEntryListHead (
IN CONST HII_THUNK_CONTEXT *ThunkContext,
IN UINT16 VarStoreId
)
;
);
HII_THUNK_CONTEXT *
CreateThunkContext (
IN HII_THUNK_PRIVATE_DATA *Private,
IN UINTN StringPackageCount,
IN UINTN IfrPackageCount
)
;
);
VOID
DestroyThunkContext (
IN HII_THUNK_CONTEXT *ThunkContext
)
;
);
VOID
DestroyQuestionIdMap (
IN LIST_ENTRY *QuestionIdMapListHead
)
;
);
VOID
DestoryOneOfOptionMap (
IN LIST_ENTRY *OneOfOptionMapListHead
)
;
);
#endif

View File

@@ -50,8 +50,7 @@ FrameworkLoadFile (
OUT EFI_PHYSICAL_ADDRESS *ImageAddress,
OUT UINT64 *ImageSize,
OUT EFI_PHYSICAL_ADDRESS *EntryPoint
)
;
);
EFI_PEI_FV_FILE_LOADER_PPI mLoadFilePpi = {
FrameworkLoadFile

View File

@@ -52,8 +52,7 @@ StriColl (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *Str1,
IN CHAR16 *Str2
)
;
);
/**
Converts all the Unicode characters in a Null-terminated Unicode string to
@@ -68,8 +67,7 @@ EFIAPI
StrLwr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str
)
;
);
/**
Converts all the Unicode characters in a Null-terminated Unicode string to upper
@@ -84,8 +82,7 @@ EFIAPI
StrUpr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str
)
;
);
/**
Performs a case-insensitive comparison of a Null-terminated Unicode
@@ -105,8 +102,7 @@ MetaiMatch (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String,
IN CHAR16 *Pattern
)
;
);
/**
Converts an 8.3 FAT file name in an OEM character set to a Null-terminated
@@ -127,8 +123,7 @@ FatToStr (
IN UINTN FatSize,
IN CHAR8 *Fat,
OUT CHAR16 *String
)
;
);
/**
Converts a Null-terminated Unicode string to legal characters in a FAT
@@ -152,8 +147,7 @@ StrToFat (
IN CHAR16 *String,
IN UINTN FatSize,
OUT CHAR8 *Fat
)
;
);
#define UC2_PRIVATE_DATA_SIGNATURE EFI_SIGNATURE_32 ('_', 'U', 'C', '2')

View File

@@ -52,8 +52,7 @@ StriColl (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *Str1,
IN CHAR16 *Str2
)
;
);
/**
Converts all the Unicode characters in a Null-terminated Unicode string to
@@ -68,8 +67,7 @@ EFIAPI
StrLwr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str
)
;
);
/**
Converts all the Unicode characters in a Null-terminated Unicode string to upper
@@ -84,8 +82,7 @@ EFIAPI
StrUpr (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN OUT CHAR16 *Str
)
;
);
/**
Performs a case-insensitive comparison of a Null-terminated Unicode
@@ -105,8 +102,7 @@ MetaiMatch (
IN EFI_UNICODE_COLLATION_PROTOCOL *This,
IN CHAR16 *String,
IN CHAR16 *Pattern
)
;
);
/**
Converts an 8.3 FAT file name in an OEM character set to a Null-terminated
@@ -127,8 +123,7 @@ FatToStr (
IN UINTN FatSize,
IN CHAR8 *Fat,
OUT CHAR16 *String
)
;
);
/**
Converts a Null-terminated Unicode string to legal characters in a FAT
@@ -152,8 +147,7 @@ StrToFat (
IN CHAR16 *String,
IN UINTN FatSize,
OUT CHAR8 *Fat
)
;
);
#define UC_PRIVATE_DATA_SIGNATURE EFI_SIGNATURE_32 ('_', 'U', 'C', '_')