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', '_')

View File

@ -142,8 +142,7 @@ VOID
IA32API
EfiHalt (
VOID
)
;
);
/*++
Routine Description:
@ -157,8 +156,7 @@ VOID
IA32API
EfiWbinvd (
VOID
)
;
);
/*++
Routine Description:
@ -172,8 +170,7 @@ VOID
IA32API
EfiInvd (
VOID
)
;
);
/*++
Routine Description:
@ -188,8 +185,7 @@ IA32API
EfiCpuid (
IN UINT32 RegisterInEax,
OUT EFI_CPUID_REGISTER *Regs
)
;
);
/*++
Routine Description:
@ -226,8 +222,7 @@ UINT64
IA32API
EfiReadMsr (
IN UINT32 Index
)
;
);
/*++
Routine Description:
@ -243,8 +238,7 @@ IA32API
EfiWriteMsr (
IN UINT32 Index,
IN UINT64 Value
)
;
);
/*++
Routine Description:
@ -259,8 +253,7 @@ UINT64
IA32API
EfiReadTsc (
VOID
)
;
);
/*++
Routine Description:
@ -274,8 +267,7 @@ VOID
IA32API
EfiDisableCache (
VOID
)
;
);
/*++
Routine Description:
@ -289,8 +281,7 @@ VOID
IA32API
EfiEnableCache (
VOID
)
;
);
/*++
Routine Description:
@ -304,8 +295,7 @@ UINT32
IA32API
EfiGetEflags (
VOID
)
;
);
/*++
Routine Description:
@ -319,8 +309,7 @@ VOID
IA32API
EfiDisableInterrupts (
VOID
)
;
);
/*++
Routine Description:
@ -334,8 +323,7 @@ VOID
IA32API
EfiEnableInterrupts (
VOID
)
;
);
/*++
Routine Description:

View File

@ -111,8 +111,7 @@ typedef
EFI_STATUS
(EFIAPI *EFI_KEY_NOTIFY_FUNCTION) (
IN EFI_KEY_DATA *KeyData
)
;
);
typedef
EFI_STATUS

View File

@ -32,8 +32,7 @@ memcpy (
OUT VOID *Dest,
IN const VOID *Src,
IN UINTN Count
)
;
);
#ifdef _MSC_EXTENSIONS
#pragma intrinsic(memcpy)

View File

@ -31,8 +31,7 @@ memset (
OUT VOID *Dest,
IN UINTN Char,
IN UINTN Count
)
;
);
#ifdef _MSC_EXTENSIONS
#pragma intrinsic(memset)

View File

@ -215,8 +215,7 @@ GetNextFirmwareVolume2Hob (
OUT EFI_PHYSICAL_ADDRESS *BaseAddress,
OUT UINT64 *Length,
OUT EFI_GUID *FileName
)
;
);
#endif
EFI_STATUS

View File

@ -280,8 +280,7 @@ CreateOneOfOptionOpCode (
IN IFR_OPTION *OptionsList,
IN UINT8 Type,
IN OUT EFI_HII_UPDATE_DATA *Data
)
;
);
EFI_STATUS
CreateOneOfOpCode (

View File

@ -168,8 +168,7 @@ EfiGetVariable (
OUT UINT32 *Attributes,
IN OUT UINTN *DataSize,
OUT VOID *Data
)
;
);
/**
Enumerates variable's name.

View File

@ -122,23 +122,20 @@ EFIAPI
SetEsalVirtualEntryPoint (
IN UINT64 EntryPoint,
IN UINT64 Gp
)
;
);
SAL_RETURN_REGS
EFIAPI
SetEsalPhysicalEntryPoint (
IN UINT64 EntryPoint,
IN UINT64 Gp
)
;
);
SAL_RETURN_REGS
EFIAPI
GetEsalEntryPoint (
VOID
)
;
);
#endif

View File

@ -47,8 +47,7 @@ GluePreparePackages (
IN UINTN NumberOfPackages,
IN CONST EFI_GUID *Guid OPTIONAL,
...
)
;
);
#endif

View File

@ -43,8 +43,7 @@ VOID *
EFIAPI
GetHobList (
VOID
)
;
);
/**
Returns the next instance of a HOB type from the starting HOB.
@ -67,8 +66,7 @@ EFIAPI
GetNextHob (
IN UINT16 Type,
IN CONST VOID *HobStart
)
;
);
/**
Returns the first instance of a HOB type among the whole HOB list.
@ -85,8 +83,7 @@ VOID *
EFIAPI
GetFirstHob (
IN UINT16 Type
)
;
);
/**
This function searches the first instance of a HOB from the starting HOB pointer.
@ -112,8 +109,7 @@ EFIAPI
GlueGetNextGuidHob (
IN CONST EFI_GUID *Guid,
IN CONST VOID *HobStart
)
;
);
/**
This function searches the first instance of a HOB among the whole HOB list.
@ -133,8 +129,7 @@ VOID *
EFIAPI
GlueGetFirstGuidHob (
IN CONST EFI_GUID *Guid
)
;
);
/**
Get the Boot Mode from the HOB list.
@ -151,8 +146,7 @@ EFI_BOOT_MODE
EFIAPI
GetBootModeHob (
VOID
)
;
);
/**
Builds a HOB for a loaded PE32 module.
@ -176,8 +170,7 @@ GlueBuildModuleHob (
IN EFI_PHYSICAL_ADDRESS MemoryAllocationModule,
IN UINT64 ModuleLength,
IN EFI_PHYSICAL_ADDRESS EntryPoint
)
;
);
/**
Builds a HOB that describes a chunk of system memory.
@ -200,8 +193,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.
@ -226,8 +218,7 @@ EFIAPI
BuildGuidHob (
IN CONST EFI_GUID *Guid,
IN UINTN DataLength
)
;
);
/**
Copies a data buffer to a newly-built HOB.
@ -255,8 +246,7 @@ BuildGuidDataHob (
IN CONST EFI_GUID *Guid,
IN VOID *Data,
IN UINTN DataLength
)
;
);
/**
Builds a Firmware Volume HOB.
@ -275,8 +265,7 @@ EFIAPI
BuildFvHob (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
;
);
/**
Builds a Capsule Volume HOB.
@ -295,8 +284,7 @@ EFIAPI
BuildCvHob (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
;
);
/**
Builds a HOB for the CPU.
@ -315,8 +303,7 @@ EFIAPI
BuildCpuHob (
IN UINT8 SizeOfMemorySpace,
IN UINT8 SizeOfIoSpace
)
;
);
/**
Builds a HOB for the Stack.
@ -335,8 +322,7 @@ EFIAPI
BuildStackHob (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length
)
;
);
/**
Builds a HOB for the BSP store.
@ -357,8 +343,7 @@ BuildBspStoreHob (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length,
IN EFI_MEMORY_TYPE MemoryType
)
;
);
/**
Builds a HOB for the memory allocation.
@ -379,7 +364,6 @@ GlueBuildMemoryAllocationHob (
IN EFI_PHYSICAL_ADDRESS BaseAddress,
IN UINT64 Length,
IN EFI_MEMORY_TYPE MemoryType
)
;
);
#endif

View File

@ -114,8 +114,7 @@ RETURN_STATUS
EFIAPI
GluePeCoffLoaderGetImageInfo (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
)
;
);
/**
Applies relocation fixups to a PE/COFF image that was loaded with PeCoffLoaderLoadImage().
@ -141,8 +140,7 @@ RETURN_STATUS
EFIAPI
GluePeCoffLoaderRelocateImage (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
)
;
);
/**
Loads a PE/COFF image into memory.
@ -171,8 +169,7 @@ RETURN_STATUS
EFIAPI
GluePeCoffLoaderLoadImage (
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
)
;
);
/**
@ -194,8 +191,7 @@ PeCoffLoaderImageReadFromMemory (
IN UINTN FileOffset,
IN OUT UINTN *ReadSize,
OUT VOID *Buffer
)
;
);
/**
@ -219,8 +215,7 @@ PeCoffLoaderRelocateImageForRuntime (
IN PHYSICAL_ADDRESS VirtImageBase,
IN UINTN ImageSize,
IN VOID *RelocationData
)
;
);
#endif

View File

@ -44,7 +44,6 @@ EFIAPI
PublishSystemMemory (
IN PHYSICAL_ADDRESS MemoryBegin,
IN UINT64 MemoryLength
)
;
);
#endif

View File

@ -71,8 +71,7 @@ EFIAPI
SmBusQuickRead (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS quick write command.
@ -96,8 +95,7 @@ EFIAPI
SmBusQuickWrite (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS receive byte command.
@ -123,8 +121,7 @@ EFIAPI
SmBusReceiveByte (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS send byte command.
@ -152,8 +149,7 @@ SmBusSendByte (
IN UINTN SmBusAddress,
IN UINT8 Value,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS read data byte command.
@ -178,8 +174,7 @@ EFIAPI
SmBusReadDataByte (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS write data byte command.
@ -207,8 +202,7 @@ SmBusWriteDataByte (
IN UINTN SmBusAddress,
IN UINT8 Value,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS read data word command.
@ -233,8 +227,7 @@ EFIAPI
SmBusReadDataWord (
IN UINTN SmBusAddress,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS write data word command.
@ -262,8 +255,7 @@ SmBusWriteDataWord (
IN UINTN SmBusAddress,
IN UINT16 Value,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS process call command.
@ -291,8 +283,7 @@ SmBusProcessCall (
IN UINTN SmBusAddress,
IN UINT16 Value,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS read block command.
@ -323,8 +314,7 @@ SmBusReadBlock (
IN UINTN SmBusAddress,
OUT VOID *Buffer,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS write block command.
@ -353,8 +343,7 @@ SmBusWriteBlock (
IN UINTN SmBusAddress,
OUT VOID *Buffer,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
/**
Executes an SMBUS block process call command.
@ -387,8 +376,7 @@ SmBusBlockProcessCall (
IN VOID *WriteBuffer,
OUT VOID *ReadBuffer,
OUT RETURN_STATUS *Status OPTIONAL
)
;
);
#endif

View File

@ -40,8 +40,7 @@ VOID
MemoryInitializeStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
)
;
);
//
// Status code reporting function
@ -54,7 +53,6 @@ MemoryReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
#endif

View File

@ -28,66 +28,56 @@ Abstract:
UINT8
IoRead8 (
IN UINT64 Address
)
;
);
UINT16
IoRead16 (
IN UINT64 Address
)
;
);
UINT32
IoRead32 (
IN UINT64 Address
)
;
);
VOID
IoWrite8 (
IN UINT64 Address,
IN UINT8 Data
)
;
);
VOID
IoWrite16 (
IN UINT64 Address,
IN UINT16 Data
)
;
);
VOID
IoWrite32 (
IN UINT64 Address,
IN UINT32 Data
)
;
);
UINT32
MemRead32 (
IN UINT64 Address
)
;
);
UINT64
MemRead64 (
IN UINT64 Address
)
;
);
VOID
MemWrite32 (
IN UINT64 Address,
IN UINT32 Data
)
;
);
VOID
MemWrite64 (
IN UINT64 Address,
IN UINT64 Data
)
;
);
#endif

View File

@ -97,7 +97,6 @@ LoadImageCallback (
IN EFI_PEI_SERVICES **PeiServices,
IN EFI_PEI_NOTIFY_DESCRIPTOR *NotifyDescriptor,
IN VOID *Ppi
)
;
);
#endif

View File

@ -67,8 +67,7 @@ EFIAPI
InstallMonoStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
)
;
);
//
// This is the platform function to initialize the listeners desired by the
@ -78,8 +77,7 @@ VOID
PlatformInitializeStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
)
;
);
//
// This is the platform function that calls all of the listeners desired by the
@ -94,8 +92,7 @@ PlatformReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
//
// Platform independent function Declarations
@ -108,8 +105,7 @@ EFIAPI
InitializeMonoStatusCode (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
)
;
);
//
// Convert a DXE status code call into a PEI status code call.
@ -122,8 +118,7 @@ TranslateDxeStatusCodeToPeiStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
//
// Publish a HOB that contains the listener to be used by DXE.
@ -132,7 +127,6 @@ EFI_STATUS
EFIAPI
InitializeDxeReportStatusCode (
IN EFI_PEI_SERVICES **PeiServices
)
;
);
#endif

View File

@ -78,13 +78,11 @@ extern UINT8 gBreakSet;
VOID
DebugSerialPrint (
IN UINT8 *OutputString
)
;
);
VOID
DebugSerialWrite (
IN UINT8 Character
)
;
);
#endif

View File

@ -35,8 +35,7 @@ EFIAPI
BsDataHubInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
//
// Status code reporting function
@ -49,7 +48,6 @@ BsDataHubReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
#endif

View File

@ -35,8 +35,7 @@ EFIAPI
BsSerialInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
//
// Status code reporting function
@ -49,7 +48,6 @@ BsSerialReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
#endif

View File

@ -31,8 +31,7 @@ VOID
RtLedInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
//
// Status code reporting function
@ -44,6 +43,5 @@ RtLedReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
#endif

View File

@ -35,8 +35,7 @@ EFIAPI
RtMemoryInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
//
// Status code reporting function
@ -49,8 +48,7 @@ RtMemoryReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
//
// Playback all prior status codes to a listener
@ -69,7 +67,6 @@ VOID
EFIAPI
PlaybackStatusCodes (
IN PLATFORM_REPORT_STATUS_CODE ReportStatusCode
)
;
);
#endif

View File

@ -36,8 +36,7 @@ EFIAPI
RtPlatformInitializeStatusCode (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
)
;
);
//
// Status code reporting function
@ -50,7 +49,6 @@ RtPlatformReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
#endif

View File

@ -38,7 +38,6 @@ RtPort80ReportStatusCode (
IN UINT32 Instance,
IN EFI_GUID * CallerId,
IN EFI_STATUS_CODE_DATA * Data OPTIONAL
)
;
);
#endif

View File

@ -32,80 +32,69 @@ VOID
PeiZeroMem (
IN VOID *Buffer,
IN UINTN Size
)
;
);
VOID
PeiCopyMem (
IN VOID *Destination,
IN VOID *Source,
IN UINTN Length
)
;
);
VOID
ZeroMem (
IN VOID *Buffer,
IN UINTN Size
)
;
);
VOID
CopyMem (
IN VOID *Destination,
IN VOID *Source,
IN UINTN Length
)
;
);
INTN
CompareGuid (
IN EFI_GUID *Guid1,
IN EFI_GUID *Guid2
)
;
);
EFI_STATUS
GetFileImage (
IN CHAR8 *InputFileName,
OUT CHAR8 **InputFileImage,
OUT UINT32 *BytesRead
)
;
);
UINT8
CalculateChecksum8 (
IN UINT8 *Buffer,
IN UINTN Size
)
;
);
UINT8
CalculateSum8 (
IN UINT8 *Buffer,
IN UINTN Size
)
;
);
UINT16
CalculateChecksum16 (
IN UINT16 *Buffer,
IN UINTN Size
)
;
);
UINT16
CalculateSum16 (
IN UINT16 *Buffer,
IN UINTN Size
)
;
);
EFI_STATUS
PrintGuid (
IN EFI_GUID *Guid
)
;
);
#define PRINTED_GUID_BUFFER_SIZE 37 // including null-termination
EFI_STATUS
@ -114,7 +103,6 @@ PrintGuidToBuffer (
IN OUT UINT8 *Buffer,
IN UINT32 BufferLen,
IN BOOLEAN Uppercase
)
;
);
#endif

View File

@ -36,8 +36,7 @@ TianoCompress (
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
IN OUT UINT32 *DstSize
)
;
);
/*++
@ -52,8 +51,7 @@ EfiCompress (
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
IN OUT UINT32 *DstSize
)
;
);
/*++

View File

@ -26,8 +26,7 @@ CalculateCrc32 (
IN UINT8 *Data,
IN UINTN DataSize,
IN OUT UINT32 *CrcOut
)
;
);
/*++

View File

@ -24,8 +24,7 @@ Abstract:
EFI_STATUS
SetCustomizedCompressionType (
IN CHAR8 *Type
)
;
);
/*++
@ -49,8 +48,7 @@ CustomizedGetInfo (
IN UINT32 SrcSize,
OUT UINT32 *DstSize,
OUT UINT32 *ScratchSize
)
;
);
/*++
@ -79,8 +77,7 @@ CustomizedDecompress (
IN UINT32 DstSize,
IN OUT VOID *Scratch,
IN UINT32 ScratchSize
)
;
);
/*++
@ -110,8 +107,7 @@ CustomizedCompress (
IN UINT32 SrcSize,
IN UINT8 *DstBuffer,
IN OUT UINT32 *DstSize
)
;
);
/*++

View File

@ -53,8 +53,7 @@ GetUtilityStatus (
void
SetUtilityName (
INT8 *ProgramName
)
;
);
void
Error (
@ -64,8 +63,7 @@ Error (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
Warning (
@ -75,8 +73,7 @@ Warning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
DebugMsg (
@ -86,21 +83,18 @@ DebugMsg (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
SetDebugMsgMask (
UINT32 MsgMask
)
;
);
void
ParserSetPosition (
INT8 *SourceFileName,
UINT32 LineNum
)
;
);
void
ParserError (
@ -108,8 +102,7 @@ ParserError (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
ParserWarning (
@ -117,16 +110,14 @@ ParserWarning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
SetPrintLimits (
UINT32 NumErrors,
UINT32 NumWarnings,
UINT32 NumWarningsPlusErrors
)
;
);
#ifdef __cplusplus
}

View File

@ -34,37 +34,32 @@ EFI_STATUS
InitializeFvLib (
IN VOID *Fv,
IN UINT32 FvLength
)
;
);
EFI_STATUS
GetFvHeader (
OUT EFI_FIRMWARE_VOLUME_HEADER **FvHeader,
OUT UINT32 *FvLength
)
;
);
EFI_STATUS
GetNextFile (
IN EFI_FFS_FILE_HEADER *CurrentFile,
OUT EFI_FFS_FILE_HEADER **NextFile
)
;
);
EFI_STATUS
GetFileByName (
IN EFI_GUID *FileName,
OUT EFI_FFS_FILE_HEADER **File
)
;
);
EFI_STATUS
GetFileByType (
IN EFI_FV_FILETYPE FileType,
IN UINTN Instance,
OUT EFI_FFS_FILE_HEADER **File
)
;
);
EFI_STATUS
GetSectionByType (
@ -72,22 +67,19 @@ GetSectionByType (
IN EFI_SECTION_TYPE SectionType,
IN UINTN Instance,
OUT EFI_FILE_SECTION_POINTER *Section
)
;
);
//
// will not parse compressed sections
//
EFI_STATUS
VerifyFv (
IN EFI_FIRMWARE_VOLUME_HEADER *FvHeader
)
;
);
EFI_STATUS
VerifyFfsFile (
IN EFI_FFS_FILE_HEADER *FfsHeader
)
;
);
/*++
@ -109,8 +101,7 @@ Returns:
UINT32
GetLength (
UINT8 *ThreeByteLength
)
;
);
/*++
@ -130,8 +121,7 @@ Returns:
EFI_STATUS
GetErasePolarity (
OUT BOOLEAN *ErasePolarity
)
;
);
/*++
@ -154,8 +144,7 @@ UINT8
GetFileState (
IN BOOLEAN ErasePolarity,
IN EFI_FFS_FILE_HEADER *FfsHeader
)
;
);
/*++

View File

@ -89,8 +89,7 @@ MyCheck (
BOOLEAN Final,
UINT8 File[],
UINTN Line
)
;
);
//
// *++
// Description:
@ -121,8 +120,7 @@ MyAlloc (
UINTN Size,
UINT8 File[],
UINTN Line
)
;
);
//
// *++
// Description:
@ -153,8 +151,7 @@ MyRealloc (
UINTN Size,
UINT8 File[],
UINTN Line
)
;
);
//
// *++
// Description:
@ -185,8 +182,7 @@ MyFree (
VOID *Ptr,
UINT8 File[],
UINTN Line
)
;
);
//
// *++
// Description:

View File

@ -43,8 +43,7 @@ ReadLine (
IN MEMORY_FILE *InputFile,
IN OUT CHAR8 *InputBuffer,
IN UINT32 MaxLength
)
;
);
/*++
@ -73,8 +72,7 @@ BOOLEAN
FindSection (
IN MEMORY_FILE *InputFile,
IN CHAR8 *Section
)
;
);
/*++
@ -101,8 +99,7 @@ FindToken (
IN CHAR8 *Token,
IN UINTN Instance,
OUT CHAR8 *Value
)
;
);
/*++
@ -131,8 +128,7 @@ EFI_STATUS
StringToGuid (
IN CHAR8 *AsciiGuidBuffer,
OUT EFI_GUID *GuidBuffer
)
;
);
/*++
@ -157,8 +153,7 @@ AsciiStringToUint64 (
IN CONST CHAR8 *AsciiString,
IN BOOLEAN IsHex,
OUT UINT64 *ReturnValue
)
;
);
/*++
@ -185,8 +180,7 @@ CHAR8 *
ReadLineInStream (
IN FILE *InputFile,
IN OUT CHAR8 *InputBuffer
)
;
);
/*++
@ -209,8 +203,7 @@ BOOLEAN
FindSectionInStream (
IN FILE *InputFile,
IN CHAR8 *Section
)
;
);
/*++

View File

@ -27,40 +27,34 @@ Abstract:
STATUS
SFPInit (
VOID
)
;
);
STATUS
SFPOpenFile (
char *FileName
)
;
);
BOOLEAN
SFPIsKeyword (
T_CHAR *Str
)
;
);
BOOLEAN
SFPIsToken (
T_CHAR *Str
)
;
);
BOOLEAN
SFPGetNextToken (
T_CHAR *Str,
unsigned int Len
)
;
);
BOOLEAN
SFPGetGuidToken (
T_CHAR *Str,
UINT32 Len
)
;
);
#define PARSE_GUID_STYLE_5_FIELDS 0
@ -68,51 +62,43 @@ BOOLEAN
SFPGetGuid (
int GuidStyle,
EFI_GUID *Value
)
;
);
BOOLEAN
SFPSkipToToken (
T_CHAR *Str
)
;
);
BOOLEAN
SFPGetNumber (
unsigned int *Value
)
;
);
BOOLEAN
SFPGetQuotedString (
T_CHAR *Str,
int Length
)
;
);
BOOLEAN
SFPIsEOF (
VOID
)
;
);
STATUS
SFPCloseFile (
VOID
)
;
);
unsigned
int
SFPGetLineNumber (
VOID
)
;
);
T_CHAR *
SFPGetFileName (
VOID
)
;
);
#endif // #ifndef _SIMPLE_FILE_PARSING_H_

View File

@ -62,8 +62,7 @@ GenerateFvImage (
OUT UINT8 **SymImage,
OUT UINTN *SymImageSize,
OUT CHAR8 **SymFileName
)
;
);
/*++
@ -94,8 +93,7 @@ EFI_STATUS
UpdatePeiCoreEntryInFit (
IN FIT_TABLE *FitTablePtr,
IN UINT64 PeiCorePhysicalAddress
)
;
);
/*++
@ -118,8 +116,7 @@ Returns:
VOID
UpdateFitCheckSum (
IN FIT_TABLE *FitTablePtr
)
;
);
/*++

View File

@ -206,7 +206,6 @@ EFI_STATUS
ParseFvInf (
IN MEMORY_FILE *InfFile,
IN FV_INFO *FvInfo
)
;
);
#endif

View File

@ -51,7 +51,6 @@ typedef struct _STRING_LIST {
int
CreateGuidList (
INT8 *OutFileName
)
;
);
#endif // #ifndef _COMMON_UTILS_H_

View File

@ -64,45 +64,38 @@ typedef struct {
STATUS
FileSearchInit (
FILE_SEARCH_DATA *FSData
)
;
);
STATUS
FileSearchDestroy (
FILE_SEARCH_DATA *FSData
)
;
);
STATUS
FileSearchStart (
FILE_SEARCH_DATA *FSData,
char *FileMask,
UINT32 SearchFlags
)
;
);
STATUS
FileSearchFindNext (
FILE_SEARCH_DATA *FSData
)
;
);
STATUS
FileSearchExcludeDirs (
FILE_SEARCH_DATA *FSData,
STRING_LIST *StrList
)
;
);
STATUS
FileSearchExcludeExtensions (
FILE_SEARCH_DATA *FSData,
STRING_LIST *StrList
)
;
);
STATUS
FileSearchExcludeFiles (
FILE_SEARCH_DATA *FSData,
STRING_LIST *StrList
)
;
);
#endif

View File

@ -25,8 +25,7 @@ Abstract:
STATUS
GetUtilityStatus (
VOID
)
;
);
//
// If someone prints an error message and didn't specify a source file name,
@ -36,8 +35,7 @@ GetUtilityStatus (
VOID
SetUtilityName (
INT8 *ProgramName
)
;
);
void
Error (
@ -47,8 +45,7 @@ Error (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
Warning (
@ -58,8 +55,7 @@ Warning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
DebugMsg (
@ -69,21 +65,18 @@ DebugMsg (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
SetDebugMsgMask (
UINT32 MsgMask
)
;
);
void
ParserSetPosition (
INT8 *SourceFileName,
UINT32 LineNum
)
;
);
void
ParserError (
@ -91,8 +84,7 @@ ParserError (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
void
ParserWarning (
@ -100,7 +92,6 @@ ParserWarning (
INT8 *OffendingText,
INT8 *MsgFmt,
...
)
;
);
#endif

View File

@ -70,40 +70,33 @@ int
DSCFileSetFile (
DSC_FILE *DSC,
char *FileName
)
;
);
SECTION *
DSCFileFindSection (
DSC_FILE *DSC,
char *Name
)
;
);
int
DSCFileSavePosition (
DSC_FILE *DSC
)
;
);
int
DSCFileRestorePosition (
DSC_FILE *DSC
)
;
);
char *
DSCFileGetLine (
DSC_FILE *DSC,
char *Line,
int LineLen
)
;
);
int
DSCFileInit (
DSC_FILE *DSC
)
;
);
int
DSCFileDestroy (
DSC_FILE *DSC
)
;
);
#endif // ifndef _DSC_FILE_H_

View File

@ -31,27 +31,22 @@ Abstract:
int
InitExceptions (
VOID
)
;
);
int
TryException (
VOID
)
;
);
char *
CatchException (
VOID
)
;
);
int
ExceptionThrown (
VOID
)
;
);
int
ThrowException (
char *EMsg
)
;
);
#endif // ifndef _EXCEPTIONS_H_

View File

@ -31,13 +31,11 @@ Abstract:
void
CFVConstructor (
VOID
)
;
);
void
CFVDestructor (
VOID
)
;
);
int
CFVAddFVFile (
@ -50,27 +48,23 @@ CFVAddFVFile (
char *Apriori,
char *BaseName,
char *Guid
)
;
);
int
CFVSetXRefFileName (
char *FileName
)
;
);
int
CFVWriteInfFiles (
DSC_FILE *DSC,
FILE *MakeFptr
)
;
);
int
NonFFSFVWriteInfFiles (
DSC_FILE *DSC,
char *FileName
)
;
);
#endif // ifndef _FW_VOLUME_H_

View File

@ -28,13 +28,11 @@ Abstract:
void
StringDBConstructor (
void
)
;
);
void
StringDBDestructor (
void
)
;
);
STATUS
StringDBAddString (
@ -44,14 +42,12 @@ StringDBAddString (
WCHAR *String,
BOOLEAN Format,
UINT16 Flags
)
;
);
STATUS
StringDBSetScope (
WCHAR *Scope
)
;
);
#define STRING_FLAGS_REFERENCED 0x0001 // if referenced somewhere
#define STRING_FLAGS_UNDEFINED 0x0002 // if we added it for padding purposes
@ -65,38 +61,33 @@ StringDBAddStringIdentifier (
WCHAR *StringIdentifier,
UINT16 *NewId,
UINT16 Flags
)
;
);
STATUS
StringDBReadDatabase (
INT8 *DBFileName,
BOOLEAN IgnoreIfNotExist,
BOOLEAN Verbose
)
;
);
STATUS
StringDBWriteDatabase (
INT8 *DBFileName,
BOOLEAN Verbose
)
;
);
STATUS
StringDBDumpDatabase (
INT8 *DBFileName,
INT8 *OutputFileName,
BOOLEAN Verbose
)
;
);
STATUS
StringDBAddLanguage (
WCHAR *LanguageName,
WCHAR *PrintableLanguageName
)
;
);
STATUS
StringDBDumpCStrings (
@ -104,33 +95,28 @@ StringDBDumpCStrings (
INT8 *BaseName,
WCHAR_STRING_LIST *LanguagesOfInterest,
WCHAR_MATCHING_STRING_LIST *IndirectionList
)
;
);
STATUS
StringDBDumpStringDefines (
INT8 *FileName,
INT8 *BaseName
)
;
);
STATUS
StringDBSetCurrentLanguage (
WCHAR *LanguageName
)
;
);
STATUS
StringDBSetStringReferenced (
INT8 *StringIdentifierName,
BOOLEAN IgnoreNotFound
)
;
);
void
StringDBFormatString (
WCHAR *String
)
;
);
#endif // #ifndef _STRING_DB_H_

View File

@ -134,13 +134,11 @@ typedef struct _SPkgBlkBuffer {
void
StringDBConstructor (
void
)
;
);
void
StringDBDestructor (
void
)
;
);
STATUS
StringDBAddString (
@ -150,14 +148,12 @@ StringDBAddString (
WCHAR *String,
BOOLEAN Format,
UINT16 Flags
)
;
);
STATUS
StringDBSetScope (
WCHAR *Scope
)
;
);
#define STRING_FLAGS_REFERENCED 0x0001 // if referenced somewhere
#define STRING_FLAGS_UNDEFINED 0x0002 // if we added it for padding purposes
@ -171,84 +167,72 @@ StringDBAddStringIdentifier (
WCHAR *StringIdentifier,
UINT16 *NewId,
UINT16 Flags
)
;
);
STATUS
StringDBReadDatabase (
INT8 *DBFileName,
BOOLEAN IgnoreIfNotExist,
BOOLEAN Verbose
)
;
);
STATUS
StringDBWriteDatabase (
INT8 *DBFileName,
BOOLEAN Verbose
)
;
);
STATUS
StringDBDumpDatabase (
INT8 *DBFileName,
INT8 *OutputFileName,
BOOLEAN Verbose
)
;
);
STATUS
StringDBAddLanguage (
WCHAR *LanguageName,
WCHAR *PrintableLanguageName,
WCHAR *SecondaryLanguageList
)
;
);
STATUS
StringDBAddSecondaryLanguage (
WCHAR *LanguageName,
WCHAR *SecondaryLanguageList
)
;
);
STATUS
StringDBDumpCStrings (
INT8 *BaseName,
INT8 *FileName
)
;
);
STATUS
StringDBDumpStringDefines (
INT8 *FileName,
INT8 *BaseName
)
;
);
STATUS
StringDBSetCurrentLanguage (
WCHAR *LanguageName
)
;
);
STATUS
StringDBSetStringReferenced (
INT8 *StringIdentifierName,
BOOLEAN IgnoreNotFound
)
;
);
void
StringDBFormatString (
WCHAR *String
)
;
);
LANGUAGE_LIST *
StringDBFindLanguageList (
WCHAR *LanguageName
)
;
);
#endif // #ifndef _STRING_DB_H_