diff options
Diffstat (limited to 'MdeModulePkg/Universal')
29 files changed, 481 insertions, 962 deletions
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h index 95326b8..fee8bdb 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h +++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.h @@ -63,8 +63,7 @@ BdsDeleteAllInvalidLegacyBootOptions ( EFI_STATUS
BdsAddNonExistingLegacyBootOptions (
VOID
- )
-;
+ );
/**
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h index 70335a6..4aed70a 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h +++ b/MdeModulePkg/Universal/BdsDxe/BootMaint/BootMaint.h @@ -467,8 +467,7 @@ typedef struct _STRING_DEPOSITORY { EFI_STATUS
BOpt_FindFileSystem (
IN BMM_CALLBACK_DATA *CallbackData
- )
-;
+ );
/**
Find files under current directory
@@ -486,8 +485,7 @@ EFI_STATUS BOpt_FindFiles (
IN BMM_CALLBACK_DATA *CallbackData,
IN BM_MENU_ENTRY *MenuEntry
- )
-;
+ );
/**
@@ -503,8 +501,7 @@ BOpt_FindFiles ( EFI_STATUS
BOpt_FindDrivers (
VOID
- )
-;
+ );
/**
@@ -776,8 +773,7 @@ FreeAllConsoles ( VOID
ChangeVariableDevicePath (
IN OUT EFI_DEVICE_PATH_PROTOCOL *DevicePath
- )
-;
+ );
/**
Update the multi-instance device path of Terminal Device based on
diff --git a/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h b/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h index f787684..3fe70c1 100644 --- a/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h +++ b/MdeModulePkg/Universal/BdsDxe/BootMngr/BootManager.h @@ -79,8 +79,7 @@ BootManagerCallback ( IN UINT8 Type,
IN EFI_IFR_TYPE_VALUE *Value,
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
- )
-;
+ );
/**
@@ -92,8 +91,7 @@ BootManagerCallback ( EFI_STATUS
InitializeBootManager (
VOID
- )
-;
+ );
/**
This funtion invokees Boot Manager. If all devices have not a chance to be connected,
@@ -105,7 +103,6 @@ InitializeBootManager ( VOID
CallBootManager (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h index 4496762..9668452 100644 --- a/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h +++ b/MdeModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.h @@ -98,8 +98,7 @@ DeviceManagerCallback ( IN UINT8 Type,
IN EFI_IFR_TYPE_VALUE *Value,
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest
- )
-;
+ );
/**
@@ -112,8 +111,7 @@ DeviceManagerCallback ( EFI_STATUS
InitializeDeviceManager (
VOID
- )
-;
+ );
/**
@@ -131,7 +129,6 @@ InitializeDeviceManager ( EFI_STATUS
CallDeviceManager (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/Hotkey.h b/MdeModulePkg/Universal/BdsDxe/Hotkey.h index 3bc2150..944e5fb 100644 --- a/MdeModulePkg/Universal/BdsDxe/Hotkey.h +++ b/MdeModulePkg/Universal/BdsDxe/Hotkey.h @@ -53,8 +53,7 @@ EFI_STATUS RegisterHotkey (
IN EFI_KEY_OPTION *KeyOption,
OUT UINT16 *KeyOptionNumber
- )
-;
+ );
/**
@@ -70,8 +69,7 @@ RegisterHotkey ( EFI_STATUS
UnregisterHotkey (
IN UINT16 KeyOptionNumber
- )
-;
+ );
/**
@@ -87,7 +85,6 @@ UnregisterHotkey ( EFI_STATUS
InitializeHotkeyService (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h b/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h index 1063c86..1926839 100644 --- a/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h +++ b/MdeModulePkg/Universal/BdsDxe/HwErrRecSupport.h @@ -34,7 +34,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. VOID
InitializeHwErrRecSupport (
IN UINT16 HwErrRecSupportLevel
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/BdsDxe/Language.h b/MdeModulePkg/Universal/BdsDxe/Language.h index 1d10f71..39dd1ec 100644 --- a/MdeModulePkg/Universal/BdsDxe/Language.h +++ b/MdeModulePkg/Universal/BdsDxe/Language.h @@ -27,7 +27,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. VOID
InitializeLanguage (
BOOLEAN LangCodesSettingRequired
- )
-;
+ );
#endif // _LANGUAGE_H_
diff --git a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h index 578b49a..407081e 100644 --- a/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h +++ b/MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitter.h @@ -272,8 +272,7 @@ EFIAPI ConSplitterDriverEntry (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
/**
Construct console input devices' private data.
@@ -289,8 +288,7 @@ ConSplitterDriverEntry ( EFI_STATUS
ConSplitterTextInConstructor (
TEXT_IN_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
/**
Construct console output devices' private data.
@@ -305,8 +303,7 @@ ConSplitterTextInConstructor ( EFI_STATUS
ConSplitterTextOutConstructor (
TEXT_OUT_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
//
// Driver Binding Functions
@@ -330,8 +327,7 @@ ConSplitterConInDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Test to see if Simple Pointer protocol could be supported on the ControllerHandle.
@@ -351,8 +347,7 @@ ConSplitterSimplePointerDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Test to see if Console Out Device could be supported on the ControllerHandle.
@@ -372,8 +367,7 @@ ConSplitterConOutDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Test to see if Standard Error Device could be supported on the ControllerHandle.
@@ -393,8 +387,7 @@ ConSplitterStdErrDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Console In Consplitter on device handle.
@@ -414,8 +407,7 @@ ConSplitterConInDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Simple Pointer Consplitter on device handle.
@@ -435,8 +427,7 @@ ConSplitterSimplePointerDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Console Out Consplitter on device handle.
@@ -456,8 +447,7 @@ ConSplitterConOutDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Standard Error Consplitter on device handle.
@@ -477,8 +467,7 @@ ConSplitterStdErrDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Stop Console In ConSplitter on ControllerHandle by closing Console In Devcice GUID.
@@ -500,8 +489,7 @@ ConSplitterConInDriverBindingStop ( IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Stop Simple Pointer protocol ConSplitter on ControllerHandle by closing
@@ -524,8 +512,7 @@ ConSplitterSimplePointerDriverBindingStop ( IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Stop Console Out ConSplitter on ControllerHandle by closing Console Out Devcice GUID.
@@ -547,8 +534,7 @@ ConSplitterConOutDriverBindingStop ( IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Stop Standard Error ConSplitter on ControllerHandle by closing Standard Error GUID.
@@ -570,8 +556,7 @@ ConSplitterStdErrDriverBindingStop ( IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
@@ -592,8 +577,7 @@ ConSplitterAbsolutePointerDriverBindingSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Start Absolute Pointer Consplitter on device handle.
@@ -613,8 +597,7 @@ ConSplitterAbsolutePointerDriverBindingStart ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE ControllerHandle,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
/**
Stop Absolute Pointer protocol ConSplitter on ControllerHandle by closing
@@ -637,8 +620,7 @@ ConSplitterAbsolutePointerDriverBindingStop ( IN EFI_HANDLE ControllerHandle,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
/**
Add Absolute Pointer Device in Consplitter Absolute Pointer list.
@@ -654,8 +636,7 @@ EFI_STATUS ConSplitterAbsolutePointerAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_ABSOLUTE_POINTER_PROTOCOL *AbsolutePointer
- )
-;
+ );
/**
Remove Absolute Pointer Device in Consplitter Absolute Pointer list.
@@ -671,8 +652,7 @@ EFI_STATUS ConSplitterAbsolutePointerDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_ABSOLUTE_POINTER_PROTOCOL *AbsolutePointer
- )
-;
+ );
//
// Absolute Pointer protocol interfaces
@@ -695,8 +675,7 @@ EFIAPI ConSplitterAbsolutePointerReset (
IN EFI_ABSOLUTE_POINTER_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
@@ -719,8 +698,7 @@ EFIAPI ConSplitterAbsolutePointerGetState (
IN EFI_ABSOLUTE_POINTER_PROTOCOL *This,
IN OUT EFI_ABSOLUTE_POINTER_STATE *State
- )
-;
+ );
/**
This event agregates all the events of the pointer devices in the splitter.
@@ -740,8 +718,7 @@ EFIAPI ConSplitterAbsolutePointerWaitForInput (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Retrieves a Unicode string that is the user readable name of the driver.
@@ -1000,8 +977,7 @@ ConSplitterAbsolutePointerComponentNameGetControllerName ( IN EFI_HANDLE ChildHandle OPTIONAL,
IN CHAR8 *Language,
OUT CHAR16 **ControllerName
- )
-;
+ );
/**
Retrieves a Unicode string that is the user readable name of the controller
@@ -1179,8 +1155,7 @@ EFI_STATUS ConSplitterTextInAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *TextIn
- )
-;
+ );
/**
Remove Simple Text Device in Consplitter Absolute Pointer list.
@@ -1196,8 +1171,7 @@ EFI_STATUS ConSplitterTextInDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *TextIn
- )
-;
+ );
//
// SimplePointer Constuctor/Destructor functions
@@ -1217,8 +1191,7 @@ EFI_STATUS ConSplitterSimplePointerAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_POINTER_PROTOCOL *SimplePointer
- )
-;
+ );
/**
Remove Simple Pointer Device in Consplitter Absolute Pointer list.
@@ -1234,8 +1207,7 @@ EFI_STATUS ConSplitterSimplePointerDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_POINTER_PROTOCOL *SimplePointer
- )
-;
+ );
//
// TextOut Constuctor/Destructor functions
@@ -1259,8 +1231,7 @@ ConSplitterTextOutAddDevice ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *TextOut,
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,
IN EFI_UGA_DRAW_PROTOCOL *UgaDraw
- )
-;
+ );
/**
Remove Text Out Device in Consplitter Text Out list.
@@ -1276,8 +1247,7 @@ EFI_STATUS ConSplitterTextOutDeleteDevice (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *TextOut
- )
-;
+ );
//
// TextIn I/O Functions
@@ -1299,8 +1269,7 @@ EFIAPI ConSplitterTextInReset (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -1321,8 +1290,7 @@ EFIAPI ConSplitterTextInReadKeyStroke (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Add Text Input Ex Device in Consplitter Text Input Ex list.
@@ -1338,8 +1306,7 @@ EFI_STATUS ConSplitterTextInExAddDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TextInEx
- )
-;
+ );
/**
Remove Simple Text Ex Device in Consplitter Absolute Pointer list.
@@ -1355,8 +1322,7 @@ EFI_STATUS ConSplitterTextInExDeleteDevice (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *TextInEx
- )
-;
+ );
//
// Simple Text Input Ex protocol function prototypes
@@ -1379,8 +1345,7 @@ EFIAPI ConSplitterTextInResetEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
@@ -1404,8 +1369,7 @@ EFIAPI ConSplitterTextInReadKeyStrokeEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
OUT EFI_KEY_DATA *KeyData
- )
-;
+ );
/**
@@ -1428,8 +1392,7 @@ EFIAPI ConSplitterTextInSetState (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_KEY_TOGGLE_STATE *KeyToggleState
- )
-;
+ );
/**
@@ -1458,8 +1421,7 @@ ConSplitterTextInRegisterKeyNotify ( IN EFI_KEY_DATA *KeyData,
IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
@@ -1480,8 +1442,7 @@ EFIAPI ConSplitterTextInUnregisterKeyNotify (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
/**
This event agregates all the events of the ConIn devices in the spliter.
@@ -1501,8 +1462,7 @@ EFIAPI ConSplitterTextInWaitForKey (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Return TRUE if StdIn is locked. The ConIn device on the virtual handle is
the only device locked.
@@ -1516,8 +1476,7 @@ ConSplitterTextInWaitForKey ( BOOLEAN
ConSpliterConssoleControlStdInLocked (
VOID
- )
-;
+ );
/**
This timer event will fire when StdIn is locked. It will check the key
sequence on StdIn to see if it matches the password. Any error in the
@@ -1536,8 +1495,7 @@ EFIAPI ConSpliterConsoleControlLockStdInEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
If Password is NULL unlock the password state variable and set the event
@@ -1557,8 +1515,7 @@ EFIAPI ConSpliterConsoleControlLockStdIn (
IN EFI_CONSOLE_CONTROL_PROTOCOL *This,
IN CHAR16 *Password
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -1578,8 +1535,7 @@ EFIAPI ConSplitterTextInPrivateReadKeyStroke (
IN TEXT_IN_SPLITTER_PRIVATE_DATA *Private,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Reset the input device and optionaly run diagnostics
@@ -1597,8 +1553,7 @@ EFIAPI ConSplitterSimplePointerReset (
IN EFI_SIMPLE_POINTER_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -1619,8 +1574,7 @@ EFIAPI ConSplitterSimplePointerGetState (
IN EFI_SIMPLE_POINTER_PROTOCOL *This,
IN OUT EFI_SIMPLE_POINTER_STATE *State
- )
-;
+ );
/**
This event agregates all the events of the ConIn devices in the spliter.
@@ -1640,8 +1594,7 @@ EFIAPI ConSplitterSimplePointerWaitForInput (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
//
// TextOut I/O Functions
@@ -1664,8 +1617,7 @@ EFIAPI ConSplitterTextOutReset (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Write a Unicode string to the output device.
@@ -1691,8 +1643,7 @@ EFIAPI ConSplitterTextOutOutputString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Verifies that all characters in a Unicode string can be output to the
@@ -1714,8 +1665,7 @@ EFIAPI ConSplitterTextOutTestString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Returns information for an available text mode that the output device(s)
@@ -1741,8 +1691,7 @@ ConSplitterTextOutQueryMode ( IN UINTN ModeNumber,
OUT UINTN *Columns,
OUT UINTN *Rows
- )
-;
+ );
/**
Sets the output device(s) to a specified mode.
@@ -1761,8 +1710,7 @@ EFIAPI ConSplitterTextOutSetMode (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN ModeNumber
- )
-;
+ );
/**
Sets the background and foreground colors for the OutputString () and
@@ -1786,8 +1734,7 @@ EFIAPI ConSplitterTextOutSetAttribute (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Attribute
- )
-;
+ );
/**
Clears the output device(s) display to the currently selected background
@@ -1805,8 +1752,7 @@ EFI_STATUS EFIAPI
ConSplitterTextOutClearScreen (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This
- )
-;
+ );
/**
Sets the current coordinates of the cursor position
@@ -1833,8 +1779,7 @@ ConSplitterTextOutSetCursorPosition ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Column,
IN UINTN Row
- )
-;
+ );
/**
@@ -1856,8 +1801,7 @@ EFIAPI ConSplitterTextOutEnableCursor (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN Visible
- )
-;
+ );
/**
Take the passed in Buffer of size SizeOfCount and grow the buffer
@@ -1879,8 +1823,7 @@ ConSplitterGrowBuffer ( IN UINTN SizeOfCount,
IN UINTN *Count,
IN OUT VOID **Buffer
- )
-;
+ );
/**
Return the current video mode information. Also returns info about existence
@@ -1903,8 +1846,7 @@ ConSpliterConsoleControlGetMode ( OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *Mode,
OUT BOOLEAN *GopExists,
OUT BOOLEAN *StdInLocked
- )
-;
+ );
/**
Set the current mode to either text or graphics. Graphics is
@@ -1923,8 +1865,7 @@ EFIAPI ConSpliterConsoleControlSetMode (
IN EFI_CONSOLE_CONTROL_PROTOCOL *This,
IN EFI_CONSOLE_CONTROL_SCREEN_MODE Mode
- )
-;
+ );
/**
Return the current video mode information.
@@ -1951,8 +1892,7 @@ ConSpliterGraphicsOutputQueryMode ( IN UINT32 ModeNumber,
OUT UINTN *SizeOfInfo,
OUT EFI_GRAPHICS_OUTPUT_MODE_INFORMATION **Info
- )
-;
+ );
/**
Graphics output protocol interface to set video mode.
@@ -1971,8 +1911,7 @@ EFIAPI ConSpliterGraphicsOutputSetMode (
IN EFI_GRAPHICS_OUTPUT_PROTOCOL * This,
IN UINT32 ModeNumber
- )
-;
+ );
/**
The following table defines actions for BltOperations.
@@ -2033,8 +1972,7 @@ ConSpliterGraphicsOutputBlt ( IN UINTN Width,
IN UINTN Height,
IN UINTN Delta OPTIONAL
- )
-;
+ );
/**
Write data from the buffer to video display based on Graphics Output setting.
@@ -2055,8 +1993,7 @@ DevNullGopSync ( IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,
IN EFI_UGA_DRAW_PROTOCOL *UgaDraw
- )
-;
+ );
/**
Return the current video mode information.
@@ -2080,8 +2017,7 @@ ConSpliterUgaDrawGetMode ( OUT UINT32 *VerticalResolution,
OUT UINT32 *ColorDepth,
OUT UINT32 *RefreshRate
- )
-;
+ );
/**
Return the current video mode information.
@@ -2105,8 +2041,7 @@ ConSpliterUgaDrawSetMode ( IN UINT32 VerticalResolution,
IN UINT32 ColorDepth,
IN UINT32 RefreshRate
- )
-;
+ );
/**
The following table defines actions for BltOperations.
@@ -2167,8 +2102,7 @@ ConSpliterUgaDrawBlt ( IN UINTN Width,
IN UINTN Height,
IN UINTN Delta OPTIONAL
- )
-;
+ );
/**
Write data from the buffer to video display based on UGA Draw setting.
@@ -2188,8 +2122,7 @@ DevNullUgaSync ( IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *GraphicsOutput,
IN EFI_UGA_DRAW_PROTOCOL *UgaDraw
- )
-;
+ );
/**
Write a Unicode string to the output device.
@@ -2215,8 +2148,7 @@ EFI_STATUS DevNullTextOutOutputString (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN CHAR16 *WString
- )
-;
+ );
/**
Sets the output device(s) to a specified mode.
@@ -2235,8 +2167,7 @@ EFI_STATUS DevNullTextOutSetMode (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN UINTN ModeNumber
- )
-;
+ );
/**
Clears the output device(s) display to the currently selected background
@@ -2253,8 +2184,7 @@ DevNullTextOutSetMode ( EFI_STATUS
DevNullTextOutClearScreen (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
/**
Sets the current coordinates of the cursor position.
@@ -2278,8 +2208,7 @@ DevNullTextOutSetCursorPosition ( IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN UINTN Column,
IN UINTN Row
- )
-;
+ );
/**
Implements SIMPLE_TEXT_OUTPUT.EnableCursor().
@@ -2296,8 +2225,7 @@ EFI_STATUS DevNullTextOutEnableCursor (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private,
IN BOOLEAN Visible
- )
-;
+ );
/**
Take the DevNull TextOut device and update the Simple Text Out on every
@@ -2312,7 +2240,6 @@ DevNullTextOutEnableCursor ( EFI_STATUS
DevNullSyncStdOut (
IN TEXT_OUT_SPLITTER_PRIVATE_DATA *Private
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h index 9fa72ad..e3e5c38 100644 --- a/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h +++ b/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsole.h @@ -525,8 +525,7 @@ GraphicsConsoleControllerDriverStop ( EFI_STATUS
EfiLocateHiiProtocol (
VOID
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h index 7da100c..862826c 100644 --- a/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h +++ b/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h @@ -181,8 +181,7 @@ EFIAPI InitializeTerminal (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_INPUT_PROTOCOL.Reset().
@@ -201,8 +200,7 @@ EFIAPI TerminalConInReset (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
@@ -223,8 +221,7 @@ EFIAPI TerminalConInReadKeyStroke (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This,
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Check if the key already has been registered.
@@ -244,8 +241,7 @@ BOOLEAN IsKeyRegistered (
IN EFI_KEY_DATA *RegsiteredData,
IN EFI_KEY_DATA *InputData
- )
-;
+ );
/**
Event notification function for EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL.WaitForKeyEx event
@@ -262,8 +258,7 @@ EFIAPI TerminalConInWaitForKeyEx (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
//
// Simple Text Input Ex protocol prototypes
@@ -285,8 +280,7 @@ EFIAPI TerminalConInResetEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Reads the next keystroke from the input device. The WaitForKey Event can
@@ -309,8 +303,7 @@ EFIAPI TerminalConInReadKeyStrokeEx (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
OUT EFI_KEY_DATA *KeyData
- )
-;
+ );
/**
Set certain state for the input device.
@@ -332,8 +325,7 @@ EFIAPI TerminalConInSetState (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_KEY_TOGGLE_STATE *KeyToggleState
- )
-;
+ );
/**
Register a notification function for a particular keystroke for the input device.
@@ -361,8 +353,7 @@ TerminalConInRegisterKeyNotify ( IN EFI_KEY_DATA *KeyData,
IN EFI_KEY_NOTIFY_FUNCTION KeyNotificationFunction,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
Remove a registered notification function from a particular keystroke.
@@ -382,8 +373,7 @@ EFIAPI TerminalConInUnregisterKeyNotify (
IN EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
/**
Event notification function for EFI_SIMPLE_TEXT_INPUT_PROTOCOL.WaitForKey event
@@ -400,8 +390,7 @@ EFIAPI TerminalConInWaitForKey (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.Reset().
@@ -423,8 +412,7 @@ EFIAPI TerminalConOutReset (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.OutputString().
@@ -447,8 +435,7 @@ EFIAPI TerminalConOutOutputString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.TestString().
@@ -469,8 +456,7 @@ EFIAPI TerminalConOutTestString (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN CHAR16 *WString
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.QueryMode().
@@ -496,8 +482,7 @@ TerminalConOutQueryMode ( IN UINTN ModeNumber,
OUT UINTN *Columns,
OUT UINTN *Rows
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUT.SetMode().
@@ -518,8 +503,7 @@ EFIAPI TerminalConOutSetMode (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN ModeNumber
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.SetAttribute().
@@ -538,8 +522,7 @@ EFIAPI TerminalConOutSetAttribute (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Attribute
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.ClearScreen().
@@ -557,8 +540,7 @@ EFI_STATUS EFIAPI
TerminalConOutClearScreen (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This
- )
-;
+ );
/**
Implements EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL.SetCursorPosition().
@@ -579,8 +561,7 @@ TerminalConOutSetCursorPosition ( IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN UINTN Column,
IN UINTN Row
- )
-;
+ );
/**
Implements SIMPLE_TEXT_OUTPUT.EnableCursor().
@@ -599,8 +580,7 @@ EFIAPI TerminalConOutEnableCursor (
IN EFI_SIMPLE_TEXT_OUTPUT_PROTOCOL *This,
IN BOOLEAN Visible
- )
-;
+ );
/**
Test to see if this driver supports Controller.
@@ -816,8 +796,7 @@ TerminalComponentNameGetControllerName ( EFI_STATUS
TerminalConInCheckForKey (
IN EFI_SIMPLE_TEXT_INPUT_PROTOCOL *This
- )
-;
+ );
/**
Update terminal device path in Console Device Environment Variables.
@@ -832,8 +811,7 @@ VOID TerminalUpdateConsoleDevVariable (
IN CHAR16 *VariableName,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath
- )
-;
+ );
/**
Remove console device variable.
@@ -848,8 +826,7 @@ VOID TerminalRemoveConsoleDevVariable (
IN CHAR16 *VariableName,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath
- )
-;
+ );
/**
Read the EFI variable (VendorGuid/Name) and return a dynamically allocated
@@ -869,8 +846,7 @@ TerminalGetVariableAndSize ( IN CHAR16 *Name,
IN EFI_GUID *VendorGuid,
OUT UINTN *VariableSize
- )
-;
+ );
/**
Build termial device path according to terminal type.
@@ -889,8 +865,7 @@ SetTerminalDevicePath ( IN UINT8 TerminalType,
IN EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath,
OUT EFI_DEVICE_PATH_PROTOCOL **TerminalDevicePath
- )
-;
+ );
/**
Initialize the Raw Data FIFO.
@@ -903,8 +878,7 @@ SetTerminalDevicePath ( VOID
InitializeRawFiFo (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Initialize the Unicode FIFO.
@@ -917,8 +891,7 @@ InitializeRawFiFo ( VOID
InitializeUnicodeFiFo (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Initialize the EFI Key FIFO.
@@ -931,8 +904,7 @@ InitializeUnicodeFiFo ( VOID
InitializeEfiKeyFiFo (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Get one key out of serial buffer.
@@ -950,8 +922,7 @@ EFI_STATUS GetOneKeyFromSerial (
EFI_SERIAL_IO_PROTOCOL *SerialIo,
UINT8 *Input
- )
-;
+ );
/**
Insert one byte raw data into the Raw Data FIFO.
@@ -968,8 +939,7 @@ BOOLEAN RawFiFoInsertOneKey (
TERMINAL_DEV *TerminalDevice,
UINT8 Input
- )
-;
+ );
/**
Remove one pre-fetched key out of the Raw Data FIFO.
@@ -985,8 +955,7 @@ BOOLEAN RawFiFoRemoveOneKey (
TERMINAL_DEV *TerminalDevice,
UINT8 *Output
- )
-;
+ );
/**
Clarify whether Raw Data FIFO buffer is empty.
@@ -1000,8 +969,7 @@ RawFiFoRemoveOneKey ( BOOLEAN
IsRawFiFoEmpty (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Clarify whether Raw Data FIFO buffer is full.
@@ -1015,8 +983,7 @@ IsRawFiFoEmpty ( BOOLEAN
IsRawFiFoFull (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Insert one pre-fetched key into the FIFO buffer.
@@ -1033,8 +1000,7 @@ BOOLEAN EfiKeyFiFoInsertOneKey (
TERMINAL_DEV *TerminalDevice,
EFI_INPUT_KEY Key
- )
-;
+ );
/**
Remove one pre-fetched key out of the FIFO buffer.
@@ -1050,8 +1016,7 @@ BOOLEAN EfiKeyFiFoRemoveOneKey (
TERMINAL_DEV *TerminalDevice,
EFI_INPUT_KEY *Output
- )
-;
+ );
/**
Clarify whether FIFO buffer is empty.
@@ -1065,8 +1030,7 @@ EfiKeyFiFoRemoveOneKey ( BOOLEAN
IsEfiKeyFiFoEmpty (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Clarify whether FIFO buffer is full.
@@ -1080,8 +1044,7 @@ IsEfiKeyFiFoEmpty ( BOOLEAN
IsEfiKeyFiFoFull (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Insert one pre-fetched key into the Unicode FIFO buffer.
@@ -1098,8 +1061,7 @@ BOOLEAN UnicodeFiFoInsertOneKey (
TERMINAL_DEV *TerminalDevice,
UINT16 Input
- )
-;
+ );
/**
Remove one pre-fetched key out of the Unicode FIFO buffer.
@@ -1115,8 +1077,7 @@ BOOLEAN UnicodeFiFoRemoveOneKey (
TERMINAL_DEV *TerminalDevice,
UINT16 *Output
- )
-;
+ );
/**
Clarify whether Unicode FIFO buffer is empty.
@@ -1130,8 +1091,7 @@ UnicodeFiFoRemoveOneKey ( BOOLEAN
IsUnicodeFiFoEmpty (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Clarify whether Unicode FIFO buffer is full.
@@ -1145,8 +1105,7 @@ IsUnicodeFiFoEmpty ( BOOLEAN
IsUnicodeFiFoFull (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Count Unicode FIFO buffer.
@@ -1159,8 +1118,7 @@ IsUnicodeFiFoFull ( UINT8
UnicodeFiFoGetKeyCount (
TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Translate raw data into Unicode (according to different encode), and
@@ -1174,8 +1132,7 @@ UnicodeFiFoGetKeyCount ( VOID
TranslateRawDataToEfiKey (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
//
// internal functions for PC ANSI
@@ -1193,8 +1150,7 @@ TranslateRawDataToEfiKey ( VOID
AnsiRawDataToUnicode (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Converts a stream of Unicode characters from a terminal input device into EFI Keys that
@@ -1264,8 +1220,7 @@ AnsiRawDataToUnicode ( VOID
UnicodeToEfiKey (
IN TERMINAL_DEV *TerminalDevice
- )
-;
+ );
/**
Check if input string is valid Ascii string, valid EFI control characters
@@ -1282,8 +1237,7 @@ EFI_STATUS AnsiTestString (
IN TERMINAL_DEV *TerminalDevice,
IN CHAR16 *WString
- )
-;
+ );
//
// internal functions for VTUTF8
@@ -1301,8 +1255,7 @@ AnsiTestString ( VOID
VTUTF8RawDataToUnicode (
IN TERMINAL_DEV *VtUtf8Device
- )
-;
+ );
/**
Check if input string is valid VT-UTF8 string.
@@ -1317,8 +1270,7 @@ EFI_STATUS VTUTF8TestString (
IN TERMINAL_DEV *TerminalDevice,
IN CHAR16 *WString
- )
-;
+ );
/**
Translate one Unicode character into VT-UTF8 characters.
@@ -1343,8 +1295,7 @@ UnicodeToUtf8 ( IN CHAR16 Unicode,
OUT UTF8_CHAR *Utf8Char,
OUT UINT8 *ValidBytes
- )
-;
+ );
/**
Get one valid VT-UTF8 characters set from Raw Data FIFO.
@@ -1362,8 +1313,7 @@ GetOneValidUtf8Char ( IN TERMINAL_DEV *Utf8Device,
OUT UTF8_CHAR *Utf8Char,
OUT UINT8 *ValidBytes
- )
-;
+ );
/**
Translate VT-UTF8 characters into one Unicode character.
@@ -1387,8 +1337,7 @@ Utf8ToUnicode ( IN UTF8_CHAR Utf8Char,
IN UINT8 ValidBytes,
OUT CHAR16 *UnicodeChar
- )
-;
+ );
//
// functions for boxdraw unicode
@@ -1411,8 +1360,7 @@ TerminalIsValidTextGraphics ( IN CHAR16 Graphic,
OUT CHAR8 *PcAnsi, OPTIONAL
OUT CHAR8 *Ascii OPTIONAL
- )
-;
+ );
/**
Detects if a valid ASCII char.
@@ -1426,8 +1374,7 @@ TerminalIsValidTextGraphics ( BOOLEAN
TerminalIsValidAscii (
IN CHAR16 Ascii
- )
-;
+ );
/**
Detects if a valid EFI control character.
@@ -1441,7 +1388,6 @@ TerminalIsValidAscii ( BOOLEAN
TerminalIsValidEfiCntlChar (
IN CHAR16 CharC
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h index f19de75..535bddd 100644 --- a/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h +++ b/MdeModulePkg/Universal/DebugPortDxe/DebugPort.h @@ -97,8 +97,7 @@ EFI_STATUS DebugPortEntryPoint (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -106,8 +105,7 @@ DebugPortSupported ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -115,8 +113,7 @@ DebugPortStart ( IN EFI_DRIVER_BINDING_PROTOCOL *This,
IN EFI_HANDLE Controller,
IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -125,8 +122,7 @@ DebugPortStop ( IN EFI_HANDLE Controller,
IN UINTN NumberOfChildren,
IN EFI_HANDLE *ChildHandleBuffer
- )
-;
+ );
//
// EFI Component Name Functions
@@ -265,8 +261,7 @@ EFI_STATUS EFIAPI
DebugPortReset (
IN EFI_DEBUGPORT_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -275,8 +270,7 @@ DebugPortRead ( IN UINT32 Timeout,
IN OUT UINTN *BufferSize,
IN VOID *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -285,14 +279,12 @@ DebugPortWrite ( IN UINT32 Timeout,
IN OUT UINTN *BufferSize,
OUT VOID *Buffer
- )
-;
+ );
EFI_STATUS
EFIAPI
DebugPortPoll (
IN EFI_DEBUGPORT_PROTOCOL *This
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h index b8cd8ec..0fa93de 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h +++ b/MdeModulePkg/Universal/DebugSupportDxe/Ia32/plDebugSupport.h @@ -46,8 +46,7 @@ typedef VOID
(*DEBUG_PROC) (
VOID
- )
-;
+ );
typedef struct {
DESCRIPTOR OrigDesc;
diff --git a/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h b/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h index f45ceff..b643ec4 100644 --- a/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h +++ b/MdeModulePkg/Universal/DebugSupportDxe/x64/plDebugSupport.h @@ -49,8 +49,7 @@ typedef VOID
(*DEBUG_PROC) (
VOID
- )
-;
+ );
typedef struct {
DESCRIPTOR OrigDesc;
diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h index 90a9fd8..2a5195b 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h @@ -150,8 +150,7 @@ EFIAPI InitializeFtwLite (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
//
// Fault Tolerant Write Protocol API
@@ -189,8 +188,7 @@ FtwLiteWrite ( IN UINTN Offset,
IN OUT UINTN *NumBytes,
IN VOID *Buffer
- )
-;
+ );
//
// Internal functions
@@ -213,8 +211,7 @@ FtwLiteWrite ( EFI_STATUS
FtwRestart (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Aborts all previous allocated writes.
@@ -230,8 +227,7 @@ FtwRestart ( EFI_STATUS
FtwAbort (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
@@ -252,8 +248,7 @@ EFI_STATUS FtwWriteRecord (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
IN EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *Fvb
- )
-;
+ );
/**
To Erase one block. The size is FTW_BLOCK_SIZE
@@ -272,8 +267,7 @@ FtwEraseBlock ( IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
@@ -299,8 +293,7 @@ FtwEraseBlock ( EFI_STATUS
FtwEraseSpareBlock (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Retrive the proper FVB protocol interface by HANDLE.
@@ -318,8 +311,7 @@ EFI_STATUS FtwGetFvbByHandle (
IN EFI_HANDLE FvBlockHandle,
OUT EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL **FvBlock
- )
-;
+ );
/**
@@ -337,8 +329,7 @@ EFI_STATUS GetFvbByAddress (
IN EFI_PHYSICAL_ADDRESS Address,
OUT EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL **FvBlock
- )
-;
+ );
/**
@@ -357,8 +348,7 @@ IsInWorkingBlock ( EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
@@ -378,8 +368,7 @@ IsBootBlock ( EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
Copy the content of spare block to a target block. Size is FTW_BLOCK_SIZE.
@@ -403,8 +392,7 @@ FlushSpareBlockToTargetBlock ( EFI_FTW_LITE_DEVICE *FtwLiteDevice,
EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL *FvBlock,
EFI_LBA Lba
- )
-;
+ );
/**
Copy the content of spare block to working block. Size is FTW_BLOCK_SIZE.
@@ -428,8 +416,7 @@ FlushSpareBlockToTargetBlock ( EFI_STATUS
FlushSpareBlockToWorkingBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Copy the content of spare block to a boot block. Size is FTW_BLOCK_SIZE.
@@ -450,8 +437,7 @@ FlushSpareBlockToWorkingBlock ( EFI_STATUS
FlushSpareBlockToBootBlock (
EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Update a bit of state on a block device. The location of the bit is
@@ -477,8 +463,7 @@ FtwUpdateFvState ( IN EFI_LBA Lba,
IN UINTN Offset,
IN UINT8 NewBit
- )
-;
+ );
/**
Get the last Write record pointer.
@@ -497,8 +482,7 @@ EFI_STATUS FtwGetLastRecord (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
OUT EFI_FTW_LITE_RECORD **FtwLastRecord
- )
-;
+ );
/**
@@ -517,8 +501,7 @@ IsErasedFlashBuffer ( IN BOOLEAN Polarity,
IN UINT8 *Buffer,
IN UINTN BufferSize
- )
-;
+ );
/**
Initialize a work space when there is no work space.
@@ -533,8 +516,7 @@ IsErasedFlashBuffer ( EFI_STATUS
InitWorkSpaceHeader (
IN EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER *WorkingHeader
- )
-;
+ );
/**
Read from working block to refresh the work space in memory.
@@ -549,8 +531,7 @@ InitWorkSpaceHeader ( EFI_STATUS
WorkSpaceRefresh (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice
- )
-;
+ );
/**
Check to see if it is a valid work space.
@@ -565,8 +546,7 @@ WorkSpaceRefresh ( BOOLEAN
IsValidWorkSpace (
IN EFI_FAULT_TOLERANT_WORKING_BLOCK_HEADER *WorkingHeader
- )
-;
+ );
/**
Reclaim the work space on the working block.
@@ -584,7 +564,6 @@ EFI_STATUS FtwReclaimWorkSpace (
IN EFI_FTW_LITE_DEVICE *FtwLiteDevice,
IN BOOLEAN PreserveRecord
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h index d559c82..4b53e87 100644 --- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h +++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabase.h @@ -305,8 +305,7 @@ typedef struct _HII_DATABASE_PRIVATE_DATA { BOOLEAN
IsHiiHandleValid (
EFI_HII_HANDLE Handle
- )
-;
+ );
/**
@@ -338,8 +337,7 @@ IsFontInfoExisted ( IN EFI_FONT_INFO_MASK *FontInfoMask, OPTIONAL
IN EFI_FONT_HANDLE FontHandle, OPTIONAL
OUT HII_GLOBAL_FONT_INFO **GlobalFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -362,8 +360,7 @@ GetSystemFont ( IN HII_DATABASE_PRIVATE_DATA *Private,
OUT EFI_FONT_DISPLAY_INFO **FontInfo,
OUT UINTN *FontInfoSize OPTIONAL
- )
-;
+ );
/**
@@ -399,8 +396,7 @@ FindStringBlock ( OUT UINT8 **StringBlockAddr, OPTIONAL
OUT UINTN *StringTextOffset, OPTIONAL
OUT EFI_STRING_ID *LastStringId OPTIONAL
- )
-;
+ );
/**
@@ -431,8 +427,7 @@ FindGlyphBlock ( OUT UINT8 **GlyphBuffer, OPTIONAL
OUT EFI_HII_GLYPH_INFO *Cell, OPTIONAL
OUT UINTN *GlyphBufferLen OPTIONAL
- )
-;
+ );
//
// EFI_HII_FONT_PROTOCOL protocol interfaces
@@ -506,8 +501,7 @@ HiiStringToImage ( OUT EFI_HII_ROW_INFO **RowInfoArray OPTIONAL,
OUT UINTN *RowInfoArraySize OPTIONAL,
OUT UINTN *ColumnInfoArray OPTIONAL
- )
-;
+ );
/**
@@ -586,8 +580,7 @@ HiiStringIdToImage ( OUT EFI_HII_ROW_INFO **RowInfoArray OPTIONAL,
OUT UINTN *RowInfoArraySize OPTIONAL,
OUT UINTN *ColumnInfoArray OPTIONAL
- )
-;
+ );
/**
@@ -620,8 +613,7 @@ HiiGetGlyph ( IN CONST EFI_FONT_DISPLAY_INFO *StringInfo,
OUT EFI_IMAGE_OUTPUT **Blt,
OUT UINTN *Baseline OPTIONAL
- )
-;
+ );
/**
@@ -661,8 +653,7 @@ HiiGetFontInfo ( IN CONST EFI_FONT_DISPLAY_INFO *StringInfoIn, OPTIONAL
OUT EFI_FONT_DISPLAY_INFO **StringInfoOut,
IN CONST EFI_STRING String OPTIONAL
- )
-;
+ );
//
// EFI_HII_IMAGE_PROTOCOL interfaces
@@ -694,8 +685,7 @@ HiiNewImage ( IN EFI_HII_HANDLE PackageList,
OUT EFI_IMAGE_ID *ImageId,
IN CONST EFI_IMAGE_INPUT *Image
- )
-;
+ );
/**
@@ -726,8 +716,7 @@ HiiGetImage ( IN EFI_HII_HANDLE PackageList,
IN EFI_IMAGE_ID ImageId,
OUT EFI_IMAGE_INPUT *Image
- )
-;
+ );
/**
@@ -753,8 +742,7 @@ HiiSetImage ( IN EFI_HII_HANDLE PackageList,
IN EFI_IMAGE_ID ImageId,
IN CONST EFI_IMAGE_INPUT *Image
- )
-;
+ );
/**
@@ -795,8 +783,7 @@ HiiDrawImage ( IN OUT EFI_IMAGE_OUTPUT **Blt,
IN UINTN BltX,
IN UINTN BltY
- )
-;
+ );
/**
@@ -893,8 +880,7 @@ HiiNewString ( IN CONST CHAR16 *LanguageName, OPTIONAL
IN CONST EFI_STRING String,
IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -941,8 +927,7 @@ HiiGetString ( OUT EFI_STRING String,
IN OUT UINTN *StringSize,
OUT EFI_FONT_INFO **StringFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -976,8 +961,7 @@ HiiSetString ( IN CONST CHAR8 *Language,
IN CONST EFI_STRING String,
IN CONST EFI_FONT_INFO *StringFontInfo OPTIONAL
- )
-;
+ );
/**
@@ -1008,8 +992,7 @@ HiiGetLanguages ( IN EFI_HII_HANDLE PackageList,
IN OUT CHAR8 *Languages,
IN OUT UINTN *LanguagesSize
- )
-;
+ );
/**
@@ -1051,8 +1034,7 @@ HiiGetSecondaryLanguages ( IN CONST CHAR8 *FirstLanguage,
IN OUT CHAR8 *SecondaryLanguages,
IN OUT UINTN *SecondaryLanguagesSize
- )
-;
+ );
//
// EFI_HII_DATABASE_PROTOCOL protocol interfaces
@@ -1085,8 +1067,7 @@ HiiNewPackageList ( IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageList,
IN CONST EFI_HANDLE DriverHandle,
OUT EFI_HII_HANDLE *Handle
- )
-;
+ );
/**
@@ -1109,8 +1090,7 @@ EFIAPI HiiRemovePackageList (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HII_HANDLE Handle
- )
-;
+ );
/**
@@ -1137,8 +1117,7 @@ HiiUpdatePackageList ( IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HII_HANDLE Handle,
IN CONST EFI_HII_PACKAGE_LIST_HEADER *PackageList
- )
-;
+ );
/**
@@ -1183,8 +1162,7 @@ HiiListPackageLists ( IN CONST EFI_GUID *PackageGuid,
IN OUT UINTN *HandleBufferLength,
OUT EFI_HII_HANDLE *Handle
- )
-;
+ );
/**
@@ -1221,8 +1199,7 @@ HiiExportPackageLists ( IN EFI_HII_HANDLE Handle,
IN OUT UINTN *BufferSize,
OUT EFI_HII_PACKAGE_LIST_HEADER *Buffer
- )
-;
+ );
/**
@@ -1270,8 +1247,7 @@ HiiRegisterPackageNotify ( IN CONST EFI_HII_DATABASE_NOTIFY PackageNotifyFn,
IN EFI_HII_DATABASE_NOTIFY_TYPE NotifyType,
OUT EFI_HANDLE *NotifyHandle
- )
-;
+ );
/**
@@ -1292,8 +1268,7 @@ EFIAPI HiiUnregisterPackageNotify (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HANDLE NotificationHandle
- )
-;
+ );
/**
@@ -1325,8 +1300,7 @@ HiiFindKeyboardLayouts ( IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN OUT UINT16 *KeyGuidBufferLength,
OUT EFI_GUID *KeyGuidBuffer
- )
-;
+ );
/**
@@ -1357,8 +1331,7 @@ HiiGetKeyboardLayout ( IN CONST EFI_GUID *KeyGuid,
IN OUT UINT16 *KeyboardLayoutLength,
OUT EFI_HII_KEYBOARD_LAYOUT *KeyboardLayout
- )
-;
+ );
/**
@@ -1383,8 +1356,7 @@ EFIAPI HiiSetKeyboardLayout (
IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN CONST EFI_GUID *KeyGuid
- )
-;
+ );
/**
@@ -1409,8 +1381,7 @@ HiiGetPackageListHandle ( IN CONST EFI_HII_DATABASE_PROTOCOL *This,
IN EFI_HII_HANDLE PackageListHandle,
OUT EFI_HANDLE *DriverHandle
- )
-;
+ );
//
// EFI_HII_CONFIG_ROUTING_PROTOCOL interfaces
@@ -1463,8 +1434,7 @@ HiiConfigRoutingExtractConfig ( IN CONST EFI_STRING Request,
OUT EFI_STRING *Progress,
OUT EFI_STRING *Results
- )
-;
+ );
/**
@@ -1493,8 +1463,7 @@ EFIAPI HiiConfigRoutingExportConfig (
IN CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *This,
OUT EFI_STRING *Results
- )
-;
+ );
/**
@@ -1528,8 +1497,7 @@ HiiConfigRoutingRouteConfig ( IN CONST EFI_HII_CONFIG_ROUTING_PROTOCOL *This,
IN CONST EFI_STRING Configuration,
OUT EFI_STRING *Progress
- )
-;
+ );
@@ -1581,8 +1549,7 @@ HiiBlockToConfig ( IN CONST UINTN BlockSize,
OUT EFI_STRING *Config,
OUT EFI_STRING *Progress
- )
-;
+ );
/**
@@ -1639,8 +1606,7 @@ HiiConfigToBlock ( IN OUT UINT8 *Block,
IN OUT UINTN *BlockSize,
OUT EFI_STRING *Progress
- )
-;
+ );
/**
@@ -1693,8 +1659,7 @@ HiiGetAltCfg ( IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,
IN CONST UINT16 *AltCfgId,
OUT EFI_STRING *AltCfgResp
- )
-;
+ );
//
diff --git a/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h b/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h index a71e6a2..15dad80 100644 --- a/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h +++ b/MdeModulePkg/Universal/MemoryTest/NullMemoryTestDxe/NullMemoryTest.h @@ -79,8 +79,7 @@ InitializeMemoryTest ( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,
IN EXTENDMEM_COVERAGE_LEVEL Level,
OUT BOOLEAN *RequireSoftECCInit
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -90,15 +89,13 @@ GenPerformMemoryTest ( OUT UINT64 *TotalMemorySize,
OUT BOOLEAN *ErrorOut,
IN BOOLEAN TestAbort
- )
-;
+ );
EFI_STATUS
EFIAPI
GenMemoryTestFinished (
IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -106,7 +103,6 @@ GenCompatibleRangeTest ( IN EFI_GENERIC_MEMORY_TEST_PROTOCOL *This,
IN EFI_PHYSICAL_ADDRESS StartAddress,
IN UINT64 Length
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h b/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h index 4fac2a0..0c40cd9 100644 --- a/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h +++ b/MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounter.h @@ -41,7 +41,6 @@ EFIAPI MonotonicCounterDriverInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h b/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h index dd59626..fca782c 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h +++ b/MdeModulePkg/Universal/Network/IScsiDxe/Md5.h @@ -48,8 +48,7 @@ typedef struct _MD5_CTX { EFI_STATUS
MD5Init (
IN MD5_CTX *Md5Ctx
- )
-;
+ );
/**
the external interface of Md5 algorithm
@@ -69,8 +68,7 @@ MD5Update ( IN MD5_CTX *Md5Ctx,
IN VOID *Data,
IN UINTN DataLen
- )
-;
+ );
/**
accumulate the MD5 value of every data segment and generate the finial
@@ -88,7 +86,6 @@ EFI_STATUS MD5Final (
IN MD5_CTX *Md5Ctx,
OUT UINT8 *HashVal
- )
-;
+ );
#endif // _MD5_H
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h index 0d1e3f7..56c1393 100644 --- a/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h +++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Bc.h @@ -188,16 +188,14 @@ PxebcBisStart ( PXE_BASECODE_DEVICE *Private,
BIS_APPLICATION_HANDLE *BisAppHandle,
EFI_BIS_DATA **BisDataSigInfo
- )
-;
+ );
VOID
PxebcBisStop (
EFI_BIS_PROTOCOL *Bis,
BIS_APPLICATION_HANDLE BisAppHandle,
EFI_BIS_DATA *BisDataSigInfo
- )
-;
+ );
BOOLEAN
PxebcBisVerify (
@@ -206,14 +204,12 @@ PxebcBisVerify ( UINTN FileBufferLength,
VOID *CredentialBuffer,
UINTN CredentialBufferLength
- )
-;
+ );
BOOLEAN
PxebcBisDetect (
PXE_BASECODE_DEVICE *Private
- )
-;
+ );
//
// Global Variables
@@ -240,31 +236,27 @@ EFIAPI InitializeBCDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
BcStart (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN BOOLEAN UseIpv6
- )
-;
+ );
EFI_STATUS
EFIAPI
BcStop (
IN EFI_PXE_BASE_CODE_PROTOCOL *This
- )
-;
+ );
EFI_STATUS
EFIAPI
BcDhcp (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN BOOLEAN SortOffers
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -274,8 +266,7 @@ BcDiscover ( IN UINT16 *Layer,
IN BOOLEAN UseBis,
IN EFI_PXE_BASE_CODE_DISCOVER_INFO * Info OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -290,8 +281,7 @@ BcMtftp ( IN UINT8 *Filename,
IN EFI_PXE_BASE_CODE_MTFTP_INFO * Info OPTIONAL,
IN BOOLEAN DontUseBuffer
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -307,8 +297,7 @@ BcUdpWrite ( IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -323,8 +312,7 @@ BcUdpRead ( IN VOID *HeaderPtr, OPTIONAL
IN OUT UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -345,8 +333,7 @@ BcTcpWrite ( IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -361,8 +348,7 @@ BcTcpRead ( IN VOID *HeaderPtr, OPTIONAL
IN OUT UINTN *BufferSize,
IN VOID *BufferPtr
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -370,16 +356,14 @@ BcArp ( IN EFI_PXE_BASE_CODE_PROTOCOL * This,
IN EFI_IP_ADDRESS * IpAddr,
IN EFI_MAC_ADDRESS * MacAddr OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
BcIpFilter (
IN EFI_PXE_BASE_CODE_PROTOCOL *This,
IN EFI_PXE_BASE_CODE_IP_FILTER *NewFilter
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -390,8 +374,7 @@ BcSetParameters ( IN UINT8 *NewTTL, OPTIONAL
IN UINT8 *NewToS, OPTIONAL
IN BOOLEAN *NewMakeCallback OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -399,8 +382,7 @@ BcSetStationIP ( IN EFI_PXE_BASE_CODE_PROTOCOL * This,
IN EFI_IP_ADDRESS * NewStationIp, OPTIONAL
IN EFI_IP_ADDRESS * NewSubnetMask OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -418,8 +400,7 @@ BcSetPackets ( IN EFI_PXE_BASE_CODE_PACKET * NewPxeDiscover, OPTIONAL
IN EFI_PXE_BASE_CODE_PACKET * NewPxeReply, OPTIONAL
IN EFI_PXE_BASE_CODE_PACKET * NewPxeBisReply OPTIONAL
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -429,15 +410,13 @@ LoadFile ( IN BOOLEAN BootPolicy,
IN OUT UINTN *BufferSize,
IN VOID *Buffer
- )
-;
+ );
EFI_STATUS
PxeBcLibGetSmbiosSystemGuidAndSerialNumber (
IN EFI_GUID *SystemGuid,
OUT CHAR8 **SystemSerialNumber
- )
-;
+ );
#include "Ip.h"
#include "Dhcp.h"
diff --git a/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h b/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h index 29f1439..158fce6 100644 --- a/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h +++ b/MdeModulePkg/Universal/Network/PxeBcDxe/Ip.h @@ -431,8 +431,7 @@ EFI_STATUS IpFilter (
PXE_BASECODE_DEVICE *Private,
IN EFI_PXE_BASE_CODE_IP_FILTER *Filter
- )
-;
+ );
//
// //////////////////////////////////////////////////////////////////////
@@ -452,8 +451,7 @@ UdpWrite ( IN VOID *HeaderPtr, OPTIONAL
IN UINTN *BufferSizePtr,
IN VOID *BufferPtr
- )
-;
+ );
//
// /////////////////////////////////////////////////////////////////////
@@ -473,22 +471,19 @@ UdpRead ( IN OUT UINTN *BufferSizePtr,
IN VOID *BufferPtr,
IN EFI_EVENT TimeoutEvent
- )
-;
+ );
VOID
IgmpLeaveGroup (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *
- )
-;
+ );
VOID
IgmpJoinGroup (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *
- )
-;
+ );
//
// convert number to zero filled ascii value of length lth
@@ -498,8 +493,7 @@ CvtNum ( UINTN Number,
UINT8 *BufferPtr,
INTN BufferLen
- )
-;
+ );
//
// convert number to ascii string at ptr
@@ -508,8 +502,7 @@ VOID UtoA10 (
UINTN Number,
UINT8 *BufferPtr
- )
-;
+ );
//
// convert ascii numeric string to UINTN
@@ -517,14 +510,12 @@ UtoA10 ( UINTN
AtoU (
UINT8 *BufferPtr
- )
-;
+ );
UINT64
AtoU64 (
UINT8 *BufferPtr
- )
-;
+ );
//
// calculate the internet checksum (RFC 1071)
@@ -534,8 +525,7 @@ UINT16 IpChecksum (
UINT16 *MessagePtr,
UINTN ByteLength
- )
-;
+ );
//
// do checksum on non contiguous header and data
@@ -546,8 +536,7 @@ IpChecksum2 ( UINTN HeaderLength,
UINT16 *Message,
UINTN MessageLength
- )
-;
+ );
//
// update checksum when only a single word changes
@@ -557,21 +546,18 @@ UpdateChecksum ( UINT16 OldChecksum,
UINT16 OldWord,
UINT16 NewWord
- )
-;
+ );
VOID
SeedRandom (
IN PXE_BASECODE_DEVICE *Private,
IN UINT16 InitialSeed
- )
-;
+ );
UINT16
Random (
IN PXE_BASECODE_DEVICE *Private
- )
-;
+ );
EFI_STATUS
SendPacket (
@@ -582,30 +568,26 @@ SendPacket ( VOID *HardwareAddress,
UINT16 MediaProtocol,
IN EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
VOID
HandleArpReceive (
PXE_BASECODE_DEVICE *Private,
ARP_PACKET *ArpPacketPtr,
VOID *HeaderPtr
- )
-;
+ );
VOID
HandleIgmp (
PXE_BASECODE_DEVICE *Private,
IGMPV2_MESSAGE *IgmpMessageptr,
UINTN IgmpMessageLen
- )
-;
+ );
VOID
IgmpCheckTimers (
PXE_BASECODE_DEVICE *Private
- )
-; // poll when doing a receive
+ ); // poll when doing a receive
// return hw add of IP and TRUE if available, otherwise FALSE
//
BOOLEAN
@@ -613,16 +595,14 @@ GetHwAddr ( IN PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *ProtocolAddressPtr,
EFI_MAC_ADDRESS *HardwareAddressPtr
- )
-;
+ );
EFI_STATUS
DoArp (
IN PXE_BASECODE_DEVICE *Private,
IN EFI_IP_ADDRESS *ProtocolAddressPtr,
OUT EFI_MAC_ADDRESS *HardwareAddressptr
- )
-;
+ );
BOOLEAN
OnSameSubnet (
@@ -630,15 +610,13 @@ OnSameSubnet ( EFI_IP_ADDRESS *Ip1,
EFI_IP_ADDRESS *Ip2,
EFI_IP_ADDRESS *SubnetMask
- )
-;
+ );
VOID
IpAddRouter (
PXE_BASECODE_DEVICE *Private,
EFI_IP_ADDRESS *RouterIp
- )
-;
+ );
#define Ip4AddRouter(Private, Ipv4Ptr) IpAddRouter (Private, (EFI_IP_ADDRESS *) Ipv4Ptr)
@@ -656,8 +634,7 @@ Ipv4Xmt ( VOID *Data,
UINTN DataLen,
EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
//
// send ipv4 packet with ipv4 option
@@ -673,8 +650,7 @@ Ipv4SendWOp ( UINTN OptionLen,
UINT32 DestIp,
EFI_PXE_BASE_CODE_FUNCTION Function
- )
-;
+ );
//
// send MsgLth message at MsgPtr - higher level protocol header already in xmtbuf, length HdrSize
@@ -690,8 +666,7 @@ Ip4Send ( IN UINTN HeaderSize, // protocol header byte length
IN UINT8 *MsgPtr, // pointer to data
IN UINTN MsgLength
- )
-; // data byte length
+ ); // data byte length
// receive up to MsgLth message into MsgPtr for protocol Prot
// return message length, src/dest ips if select any, and pointer to protocol header
//
@@ -707,15 +682,13 @@ IpReceive ( UINT8 *MsgPtr, // pointer to data buffer
UINTN *MsgLenPtr, // pointer to data buffer length/ O - returned data length
IN EFI_EVENT TimeoutEvent
- )
-;
+ );
#if 0
VOID
WaitForTxComplete (
IN PXE_BASECODE_DEVICE *Private
- )
-;
+ );
#endif
//
// routine to cycle waiting for a receive or timeout
@@ -728,8 +701,7 @@ WaitForReceive ( IN OUT UINTN *HeaderSizePtr,
IN OUT UINTN *BufferSizePtr,
IN OUT UINT16 *ProtocolPtr
- )
-;
+ );
#endif /* _IP_H_ */
diff --git a/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h b/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h index c923cce..cefe52d 100644 --- a/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h +++ b/MdeModulePkg/Universal/Network/PxeDhcp4Dxe/PxeDhcp4.h @@ -120,8 +120,7 @@ PxeDhcp4Run ( IN EFI_PXE_DHCP4_PROTOCOL *This,
IN OPTIONAL UINTN OpLen,
IN OPTIONAL VOID *OpList
- )
-;
+ );
extern
EFI_STATUS
@@ -129,8 +128,7 @@ EFIAPI PxeDhcp4Setup (
IN EFI_PXE_DHCP4_PROTOCOL *This,
IN EFI_PXE_DHCP4_DATA *Data
- )
-;
+ );
extern
EFI_STATUS
@@ -140,8 +138,7 @@ PxeDhcp4Init ( IN UINTN seconds_timeout,
OUT UINTN *offer_list_entries,
OUT DHCP4_PACKET **offer_list
- )
-;
+ );
extern
EFI_STATUS
@@ -150,8 +147,7 @@ PxeDhcp4Select ( IN EFI_PXE_DHCP4_PROTOCOL *This,
IN UINTN seconds_timeout,
IN DHCP4_PACKET *offer_list
- )
-;
+ );
extern
EFI_STATUS
@@ -159,8 +155,7 @@ EFIAPI PxeDhcp4Renew (
IN EFI_PXE_DHCP4_PROTOCOL *This,
UINTN seconds_timeout
- )
-;
+ );
extern
EFI_STATUS
@@ -168,16 +163,14 @@ EFIAPI PxeDhcp4Rebind (
IN EFI_PXE_DHCP4_PROTOCOL *This,
UINTN seconds_timeout
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
PxeDhcp4Release (
IN EFI_PXE_DHCP4_PROTOCOL *This
- )
-;
+ );
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
@@ -188,15 +181,13 @@ extern UINT16
htons (
UINTN n
- )
-;
+ );
extern
UINT32
htonl (
UINTN n
- )
-;
+ );
extern
VOID
@@ -204,8 +195,7 @@ EFIAPI timeout_notify (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
extern
VOID
@@ -213,8 +203,7 @@ EFIAPI periodic_notify (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
extern
EFI_STATUS
@@ -223,16 +212,14 @@ find_opt ( IN UINT8 OpCode,
IN UINTN Skip,
OUT DHCP4_OP **OpPtr
- )
-;
+ );
extern
EFI_STATUS
add_opt (
IN DHCP4_PACKET *Packet,
IN DHCP4_OP *OpPtr
- )
-;
+ );
extern
EFI_STATUS
@@ -240,30 +227,26 @@ start_udp ( IN PXE_DHCP4_PRIVATE_DATA *Private,
IN OPTIONAL EFI_IP_ADDRESS *station_ip,
IN OPTIONAL EFI_IP_ADDRESS *subnet_mask
- )
-;
+ );
extern
VOID
stop_udp (
IN PXE_DHCP4_PRIVATE_DATA *Private
- )
-;
+ );
extern
EFI_STATUS
start_receive_events (
IN PXE_DHCP4_PRIVATE_DATA *Private,
IN UINTN seconds_timeout
- )
-;
+ );
extern
VOID
stop_receive_events (
IN PXE_DHCP4_PRIVATE_DATA *Private
- )
-;
+ );
extern
EFI_STATUS
@@ -274,8 +257,7 @@ tx_udp ( IN EFI_IP_ADDRESS *src_ip,
IN VOID *buffer,
IN UINTN BufferSize
- )
-;
+ );
extern
EFI_STATUS
@@ -286,8 +268,7 @@ rx_udp ( IN OUT EFI_IP_ADDRESS *dest_ip,
IN OUT EFI_IP_ADDRESS *src_ip,
IN UINT16 op_flags
- )
-;
+ );
extern
EFI_STATUS
@@ -309,8 +290,7 @@ tx_rx_udp ( IN UINTN rx_pkt_size
),
IN UINTN seconds_timeout
- )
-;
+ );
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
diff --git a/MdeModulePkg/Universal/Network/SnpDxe/Snp.h b/MdeModulePkg/Universal/Network/SnpDxe/Snp.h index b6e58c4..4532ab4 100644 --- a/MdeModulePkg/Universal/Network/SnpDxe/Snp.h +++ b/MdeModulePkg/Universal/Network/SnpDxe/Snp.h @@ -148,35 +148,30 @@ add_v2p ( EFI_PCI_IO_PROTOCOL_OPERATION type,
VOID *vaddr,
UINTN bsize
- )
-;
+ );
EFI_STATUS
find_v2p (
struct s_v2p **v2p,
VOID *vaddr
- )
-;
+ );
EFI_STATUS
del_v2p (
VOID *vaddr
- )
-;
+ );
extern
VOID
snp_undi32_callback_block_30 (
IN UINT32 Enable
- )
-;
+ );
extern
VOID
snp_undi32_callback_delay_30 (
IN UINT64 MicroSeconds
- )
-;
+ );
extern
VOID
@@ -185,32 +180,28 @@ snp_undi32_callback_memio_30 ( IN UINT8 NumBytes,
IN UINT64 MemOrPortAddress,
IN OUT UINT64 BufferPtr
- )
-;
+ );
extern
VOID
snp_undi32_callback_v2p_30 (
IN UINT64 CpuAddr,
IN OUT UINT64 DeviceAddrPtr
- )
-;
+ );
extern
VOID
snp_undi32_callback_block (
IN UINT64 UniqueId,
IN UINT32 Enable
- )
-;
+ );
extern
VOID
snp_undi32_callback_delay (
IN UINT64 UniqueId,
IN UINT64 MicroSeconds
- )
-;
+ );
extern
VOID
@@ -220,8 +211,7 @@ snp_undi32_callback_memio ( IN UINT8 NumBytes,
IN UINT64 MemOrPortAddr,
IN OUT UINT64 BufferPtr
- )
-;
+ );
extern
VOID
@@ -231,8 +221,7 @@ snp_undi32_callback_map ( IN UINT32 NumBytes,
IN UINT32 Direction,
IN OUT UINT64 DeviceAddrPtr
- )
-;
+ );
extern
VOID
@@ -242,8 +231,7 @@ snp_undi32_callback_unmap ( IN UINT32 NumBytes,
IN UINT32 Direction,
IN UINT64 DeviceAddr // not a pointer to device address
- )
-;
+ );
extern
VOID
@@ -253,24 +241,21 @@ snp_undi32_callback_sync ( IN UINT32 NumBytes,
IN UINT32 Direction,
IN UINT64 DeviceAddr // not a pointer to device address
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
snp_undi32_start (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
snp_undi32_stop (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this
- )
-;
+ );
extern
EFI_STATUS
@@ -279,8 +264,7 @@ snp_undi32_initialize ( IN EFI_SIMPLE_NETWORK_PROTOCOL *this,
IN UINTN extra_rx_buffer_size OPTIONAL,
IN UINTN extra_tx_buffer_size OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -288,16 +272,14 @@ EFIAPI snp_undi32_reset (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this,
IN BOOLEAN ExtendedVerification
- )
-;
+ );
extern
EFI_STATUS
EFIAPI
snp_undi32_shutdown (
IN EFI_SIMPLE_NETWORK_PROTOCOL *this
- )
-;
+ );
extern
EFI_STATUS
@@ -309,8 +291,7 @@ snp_undi32_receive_filters ( IN BOOLEAN reset_mcast_filter,
IN UINTN mcast_filter_count OPTIONAL,
IN EFI_MAC_ADDRESS * mcast_filter OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -319,8 +300,7 @@ snp_undi32_station_address ( IN EFI_SIMPLE_NETWORK_PROTOCOL * this,
IN BOOLEAN reset,
IN EFI_MAC_ADDRESS *new OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -330,8 +310,7 @@ snp_undi32_statistics ( IN BOOLEAN reset,
IN OUT UINTN *statistics_size OPTIONAL,
IN OUT EFI_NETWORK_STATISTICS * statistics_table OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -341,8 +320,7 @@ snp_undi32_mcast_ip_to_mac ( IN BOOLEAN IPv6,
IN EFI_IP_ADDRESS *IP,
OUT EFI_MAC_ADDRESS *MAC
- )
-;
+ );
extern
EFI_STATUS
@@ -353,8 +331,7 @@ snp_undi32_nvdata ( IN UINTN offset,
IN UINTN buffer_size,
IN OUT VOID *buffer
- )
-;
+ );
extern
EFI_STATUS
@@ -363,8 +340,7 @@ snp_undi32_get_status ( IN EFI_SIMPLE_NETWORK_PROTOCOL * this,
OUT UINT32 *interrupt_status OPTIONAL,
OUT VOID **tx_buffer OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -377,8 +353,7 @@ snp_undi32_transmit ( IN EFI_MAC_ADDRESS * src_addr OPTIONAL,
IN EFI_MAC_ADDRESS * dest_addr OPTIONAL,
IN UINT16 *protocol OPTIONAL
- )
-;
+ );
extern
EFI_STATUS
@@ -391,8 +366,7 @@ snp_undi32_receive ( OUT EFI_MAC_ADDRESS * src_addr OPTIONAL,
OUT EFI_MAC_ADDRESS * dest_addr OPTIONAL,
OUT UINT16 *protocol OPTIONAL
- )
-;
+ );
typedef
EFI_STATUS
@@ -424,8 +398,7 @@ EFIAPI InitializeSnpNiiDriver (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
#define SNP_MEM_PAGES(x) (((x) - 1) / 4096 + 1)
diff --git a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c index c6108e2..d63c294 100644 --- a/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c +++ b/MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dispatcher.c @@ -141,8 +141,7 @@ Tcp4GetMode ( Option->EnableNagle = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_NAGLE));
Option->EnableTimeStamp = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_TS));
- Option->EnableWindowScaling = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_WS))
-;
+ Option->EnableWindowScaling = (BOOLEAN) (!TCP_FLG_ON (Tcb->CtrlFlag, TCP_CTRL_NO_WS));
Option->EnableSelectiveAck = FALSE;
Option->EnablePathMtuDiscovery = FALSE;
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.h b/MdeModulePkg/Universal/PCD/Dxe/Service.h index 4b56e43..cb5dd6c 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Service.h +++ b/MdeModulePkg/Universal/PCD/Dxe/Service.h @@ -75,8 +75,7 @@ VOID EFIAPI
DxePcdSetSku (
IN UINTN SkuId
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -93,8 +92,7 @@ UINT8 EFIAPI
DxePcdGet8 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -111,8 +109,7 @@ UINT16 EFIAPI
DxePcdGet16 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -129,8 +126,7 @@ UINT32 EFIAPI
DxePcdGet32 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -147,8 +143,7 @@ UINT64 EFIAPI
DxePcdGet64 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -167,8 +162,7 @@ VOID * EFIAPI
DxePcdGetPtr (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a Boolean value for a given PCD token.
@@ -187,8 +181,7 @@ BOOLEAN EFIAPI
DxePcdGetBool (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -205,8 +198,7 @@ UINTN EFIAPI
DxePcdGetSize (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -227,8 +219,7 @@ EFIAPI DxePcdGet8Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -249,8 +240,7 @@ EFIAPI DxePcdGet16Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -271,8 +261,7 @@ EFIAPI DxePcdGet32Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -293,8 +282,7 @@ EFIAPI DxePcdGet64Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -315,8 +303,7 @@ EFIAPI DxePcdGetPtrEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an Boolean value for a given PCD token.
@@ -337,8 +324,7 @@ EFIAPI DxePcdGetBoolEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -357,8 +343,7 @@ EFIAPI DxePcdGetSizeEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Sets an 8-bit value for a given PCD token.
@@ -382,8 +367,7 @@ EFIAPI DxePcdSet8 (
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -407,8 +391,7 @@ EFIAPI DxePcdSet16 (
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -432,8 +415,7 @@ EFIAPI DxePcdSet32 (
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -457,8 +439,7 @@ EFIAPI DxePcdSet64 (
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
@@ -488,8 +469,7 @@ DxePcdSetPtr ( IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -513,8 +493,7 @@ EFIAPI DxePcdSetBool (
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
@@ -541,8 +520,7 @@ DxePcdSet8Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -568,8 +546,7 @@ DxePcdSet16Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -595,8 +572,7 @@ DxePcdSet32Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -622,8 +598,7 @@ DxePcdSet64Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
Sets a value of a specified size for a given PCD token.
@@ -654,8 +629,7 @@ DxePcdSetPtrEx ( IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -681,8 +655,7 @@ DxePcdSetBoolEx ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
Specifies a function to be called anytime the value of a designated token is changed.
@@ -702,8 +675,7 @@ DxeRegisterCallBackOnSet ( IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
Cancels a previously set callback function for a particular PCD token number.
@@ -723,8 +695,7 @@ DxeUnRegisterCallBackOnSet ( IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
Retrieves the next valid PCD token for a given namespace.
@@ -749,8 +720,7 @@ EFIAPI DxePcdGetNextToken (
IN CONST EFI_GUID *Guid, OPTIONAL
IN OUT UINTN *TokenNumber
- )
-;
+ );
/**
Get next token space in PCD database according to given token space guid.
@@ -771,8 +741,7 @@ EFI_STATUS EFIAPI
DxePcdGetNextTokenSpace (
IN OUT CONST EFI_GUID **Guid
- )
-;
+ );
typedef struct {
LIST_ENTRY Node;
@@ -800,8 +769,7 @@ SetValueWorker ( IN UINTN TokenNumber,
IN VOID *Data,
IN UINTN Size
- )
-;
+ );
/**
Set value for an PCD entry
@@ -824,8 +792,7 @@ SetWorker ( IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Wrapper function for set PCD value for non-Pointer type dynamic-ex PCD.
@@ -844,8 +811,7 @@ ExSetValueWorker ( IN CONST EFI_GUID *Guid,
IN VOID *Data,
IN UINTN SetSize
- )
-;
+ );
/**
Set value for a dynamic PCD entry.
@@ -872,8 +838,7 @@ ExSetWorker ( IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Get the PCD entry pointer in PCD database.
@@ -893,8 +858,7 @@ VOID * GetWorker (
IN UINTN TokenNumber,
IN UINTN GetSize
- )
-;
+ );
/**
Wrapper function for get PCD value for dynamic-ex PCD.
@@ -911,8 +875,7 @@ ExGetWorker ( IN CONST EFI_GUID *Guid,
IN UINTN ExTokenNumber,
IN UINTN GetSize
- )
-;
+ );
/**
Find the local token number according to system SKU ID.
@@ -930,8 +893,7 @@ GetSkuEnabledTokenNumber ( UINT32 LocalTokenNumber,
UINTN Size,
BOOLEAN IsPeiDb
- )
-;
+ );
/**
Get Variable which contains HII type PCD entry.
@@ -949,8 +911,7 @@ GetHiiVariable ( IN UINT16 *VariableName,
OUT UINT8 **VariableData,
OUT UINTN *VariableSize
- )
-;
+ );
/**
Set value for HII-type PCD.
@@ -974,8 +935,7 @@ SetHiiVariable ( IN CONST VOID *Data,
IN UINTN DataSize,
IN UINTN Offset
- )
-;
+ );
/**
Register the callback function for a PCD entry.
@@ -996,8 +956,7 @@ DxeRegisterCallBackWorker ( IN UINTN TokenNumber,
IN CONST EFI_GUID *Guid, OPTIONAL
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
UnRegister the callback function for a PCD entry.
@@ -1018,8 +977,7 @@ DxeUnRegisterCallBackWorker ( IN UINTN TokenNumber,
IN CONST EFI_GUID *Guid, OPTIONAL
IN PCD_PROTOCOL_CALLBACK CallBackFunction
- )
-;
+ );
/**
Initialize the PCD database in DXE phase.
@@ -1031,8 +989,7 @@ DxeUnRegisterCallBackWorker ( VOID
BuildPcdDxeDataBase (
VOID
- )
-;
+ );
/**
Get local token number according to dynamic-ex PCD's {token space guid:token number}
@@ -1051,8 +1008,7 @@ UINTN GetExPcdTokenNumber (
IN CONST EFI_GUID *Guid,
IN UINT32 ExTokenNumber
- )
-;
+ );
/**
Get next token number in given token space.
@@ -1087,8 +1043,7 @@ ExGetNextTokeNumber ( IN UINTN SizeOfGuidTable,
IN DYNAMICEX_MAPPING *ExMapTable,
IN UINTN SizeOfExMapTable
- )
-;
+ );
/**
Get size of POINTER type PCD value.
@@ -1103,8 +1058,7 @@ UINTN GetPtrTypeSize (
IN UINTN LocalTokenNumberTableIdx,
OUT UINTN *MaxSize
- )
-;
+ );
/**
Set size of POINTER type PCD value. The size should not exceed the maxmium size
@@ -1120,8 +1074,7 @@ BOOLEAN SetPtrTypeSize (
IN UINTN LocalTokenNumberTableIdx,
IN OUT UINTN *CurrentSize
- )
-;
+ );
extern EFI_GUID gPcdDataBaseHobGuid;
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.h b/MdeModulePkg/Universal/PCD/Pei/Service.h index 006681c..438b70b 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Service.h +++ b/MdeModulePkg/Universal/PCD/Pei/Service.h @@ -76,8 +76,7 @@ VOID EFIAPI
PeiPcdSetSku (
IN UINTN SkuId
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -94,8 +93,7 @@ UINT8 EFIAPI
PeiPcdGet8 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -112,8 +110,7 @@ UINT16 EFIAPI
PeiPcdGet16 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -130,8 +127,7 @@ UINT32 EFIAPI
PeiPcdGet32 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -148,8 +144,7 @@ UINT64 EFIAPI
PeiPcdGet64 (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -168,8 +163,7 @@ VOID * EFIAPI
PeiPcdGetPtr (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a Boolean value for a given PCD token.
@@ -188,8 +182,7 @@ BOOLEAN EFIAPI
PeiPcdGetBool (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -206,8 +199,7 @@ UINTN EFIAPI
PeiPcdGetSize (
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 8-bit value for a given PCD token.
@@ -228,8 +220,7 @@ EFIAPI PeiPcdGet8Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 16-bit value for a given PCD token.
@@ -250,8 +241,7 @@ EFIAPI PeiPcdGet16Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 32-bit value for a given PCD token.
@@ -272,8 +262,7 @@ EFIAPI PeiPcdGet32Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an 64-bit value for a given PCD token.
@@ -294,8 +283,7 @@ EFIAPI PeiPcdGet64Ex (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves a pointer to a value for a given PCD token.
@@ -316,8 +304,7 @@ EFIAPI PeiPcdGetPtrEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves an Boolean value for a given PCD token.
@@ -338,8 +325,7 @@ EFIAPI PeiPcdGetBoolEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Retrieves the size of the value for a given PCD token.
@@ -358,8 +344,7 @@ EFIAPI PeiPcdGetSizeEx (
IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber
- )
-;
+ );
/**
Sets an 8-bit value for a given PCD token.
@@ -383,8 +368,7 @@ EFIAPI PeiPcdSet8 (
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -408,8 +392,7 @@ EFIAPI PeiPcdSet16 (
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -433,8 +416,7 @@ EFIAPI PeiPcdSet32 (
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -458,8 +440,7 @@ EFIAPI PeiPcdSet64 (
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
Sets a value of a specified size for a given PCD token.
@@ -488,8 +469,7 @@ PeiPcdSetPtr ( IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -513,8 +493,7 @@ EFIAPI PeiPcdSetBool (
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
Sets an 8-bit value for a given PCD token.
@@ -540,8 +519,7 @@ PeiPcdSet8Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT8 Value
- )
-;
+ );
/**
Sets an 16-bit value for a given PCD token.
@@ -567,8 +545,7 @@ PeiPcdSet16Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT16 Value
- )
-;
+ );
/**
Sets an 32-bit value for a given PCD token.
@@ -594,8 +571,7 @@ PeiPcdSet32Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT32 Value
- )
-;
+ );
/**
Sets an 64-bit value for a given PCD token.
@@ -621,8 +597,7 @@ PeiPcdSet64Ex ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN UINT64 Value
- )
-;
+ );
/**
Sets a value of a specified size for a given PCD token.
@@ -653,8 +628,7 @@ PeiPcdSetPtrEx ( IN UINTN TokenNumber,
IN OUT UINTN *SizeOfBuffer,
IN VOID *Buffer
- )
-;
+ );
/**
Sets an Boolean value for a given PCD token.
@@ -680,8 +654,7 @@ PeiPcdSetBoolEx ( IN CONST EFI_GUID *Guid,
IN UINTN TokenNumber,
IN BOOLEAN Value
- )
-;
+ );
/**
Specifies a function to be called anytime the value of a designated token is changed.
@@ -701,8 +674,7 @@ PeiRegisterCallBackOnSet ( IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PPI_CALLBACK CallBackFunction
- )
-;
+ );
/**
Cancels a previously set callback function for a particular PCD token number.
@@ -722,8 +694,7 @@ PcdUnRegisterCallBackOnSet ( IN CONST EFI_GUID *Guid, OPTIONAL
IN UINTN TokenNumber,
IN PCD_PPI_CALLBACK CallBackFunction
- )
-;
+ );
/**
Retrieves the next valid PCD token for a given namespace.
@@ -748,8 +719,7 @@ EFIAPI PeiPcdGetNextToken (
IN CONST EFI_GUID *Guid, OPTIONAL
IN OUT UINTN *TokenNumber
- )
-;
+ );
/**
Retrieves the next valid PCD token namespace for a given namespace.
@@ -776,8 +746,7 @@ EFI_STATUS EFIAPI
PeiPcdGetNextTokenSpace (
IN OUT CONST EFI_GUID **Guid
- )
-;
+ );
/* Internal Function definitions */
@@ -790,8 +759,7 @@ PeiPcdGetNextTokenSpace ( PEI_PCD_DATABASE *
GetPcdDatabase (
VOID
- )
-;
+ );
/**
Wrapper function for setting non-pointer type value for a PCD entry.
@@ -808,8 +776,7 @@ SetValueWorker ( IN UINTN TokenNumber,
IN VOID *Data,
IN UINTN Size
- )
-;
+ );
/**
Set value for an PCD entry
@@ -832,8 +799,7 @@ SetWorker ( IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Wrapper function for set PCD value for non-Pointer type dynamic-ex PCD.
@@ -852,8 +818,7 @@ ExSetValueWorker ( IN CONST EFI_GUID *Guid,
IN VOID *Data,
IN UINTN Size
- )
-;
+ );
/**
Set value for a dynamic PCD entry.
@@ -880,8 +845,7 @@ ExSetWorker ( IN VOID *Data,
IN OUT UINTN *Size,
IN BOOLEAN PtrType
- )
-;
+ );
/**
Get the PCD entry pointer in PCD database.
@@ -901,8 +865,7 @@ VOID * GetWorker (
IN UINTN TokenNumber,
IN UINTN GetSize
- )
-;
+ );
/**
Wrapper function for get PCD value for dynamic-ex PCD.
@@ -919,8 +882,7 @@ ExGetWorker ( IN CONST EFI_GUID *Guid,
IN UINTN ExTokenNumber,
IN UINTN GetSize
- )
-;
+ );
typedef struct {
UINTN TokenNumber;
@@ -945,8 +907,7 @@ UINTN GetExPcdTokenNumber (
IN CONST EFI_GUID *Guid,
IN UINTN ExTokenNumber
- )
-;
+ );
/**
The function registers the CallBackOnSet fucntion
@@ -976,8 +937,7 @@ PeiRegisterCallBackWorker ( VOID
BuildPcdDatabase (
VOID
- )
-;
+ );
/**
Get SKU ID tabble from PCD database.
@@ -992,8 +952,7 @@ SKU_ID * GetSkuIdArray (
IN UINTN LocalTokenNumberTableIdx,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
/**
Get index of PCD entry in size table.
@@ -1008,8 +967,7 @@ UINTN GetSizeTableIndex (
IN UINTN LocalTokenNumberTableIdx,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
/**
Get PCD value's size for POINTER type PCD.
@@ -1029,8 +987,7 @@ GetPtrTypeSize ( IN UINTN LocalTokenNumberTableIdx,
OUT UINTN *MaxSize,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
/**
Set PCD value's size for POINTER type PCD.
@@ -1051,8 +1008,7 @@ SetPtrTypeSize ( IN UINTN LocalTokenNumberTableIdx,
IN OUT UINTN *CurrentSize,
IN PEI_PCD_DATABASE *Database
- )
-;
+ );
extern EFI_GUID gPcdDataBaseHobGuid;
diff --git a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h index 8d1dbe1..cebcd23 100644 --- a/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h +++ b/MdeModulePkg/Universal/PcatRealTimeClockRuntimeDxe/PcRtc.h @@ -419,8 +419,7 @@ ConvertRtcTimeToEfiTime ( IN OUT EFI_TIME *Time,
IN UINT8 Century,
IN RTC_REGISTER_B RegisterB
- )
-;
+ );
EFI_STATUS
RtcWaitToUpdate (
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h index e41f953..9dcfdb6 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.h @@ -511,8 +511,7 @@ extern EFI_GUID gTianoHiiIfrGuid; VOID
InitializeBrowserStrings (
VOID
- )
-;
+ );
/**
Prints a unicode string to the default console,
@@ -526,8 +525,7 @@ InitializeBrowserStrings ( UINTN
PrintString (
IN CHAR16 *String
- )
-;
+ );
/**
Prints a chracter to the default console,
@@ -541,8 +539,7 @@ PrintString ( UINTN
PrintChar (
CHAR16 Character
- )
-;
+ );
/**
Prints a formatted unicode string to the default console, at
@@ -562,8 +559,7 @@ PrintAt ( IN UINTN Row,
IN CHAR16 *Fmt,
...
- )
-;
+ );
/**
Prints a unicode string to the default console, at
@@ -581,8 +577,7 @@ PrintStringAt ( IN UINTN Column,
IN UINTN Row,
IN CHAR16 *String
- )
-;
+ );
/**
Prints a chracter to the default console, at
@@ -600,8 +595,7 @@ PrintCharAt ( IN UINTN Column,
IN UINTN Row,
CHAR16 Character
- )
-;
+ );
/**
Parse opcodes in the formset IFR binary.
@@ -615,8 +609,7 @@ PrintCharAt ( EFI_STATUS
ParseOpCodes (
IN FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
Free resources allocated for a FormSet.
@@ -627,8 +620,7 @@ ParseOpCodes ( VOID
DestroyFormSet (
IN OUT FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
This function displays the page frame.
@@ -637,8 +629,7 @@ DestroyFormSet ( VOID
DisplayPageFrame (
VOID
- )
-;
+ );
/**
Create a new string in HII Package List.
@@ -654,8 +645,7 @@ EFI_STRING_ID NewString (
IN CHAR16 *String,
IN EFI_HII_HANDLE HiiHandle
- )
-;
+ );
/**
Delete a string from HII Package List.
@@ -670,8 +660,7 @@ EFI_STATUS DeleteString (
IN EFI_STRING_ID StringId,
IN EFI_HII_HANDLE HiiHandle
- )
-;
+ );
/**
Get the string based on the StringId and HII Package List Handle.
@@ -687,8 +676,7 @@ CHAR16 * GetToken (
IN EFI_STRING_ID Token,
IN EFI_HII_HANDLE HiiHandle
- )
-;
+ );
/**
Draw a pop up windows based on the dimension, number of lines and
@@ -704,8 +692,7 @@ CreateSharedPopUp ( IN UINTN RequestedWidth,
IN UINTN NumberOfLines,
IN VA_LIST Marker
- )
-;
+ );
/**
Routine used to abstract a generic dialog interface and return the selected key or string
@@ -742,8 +729,7 @@ CreateDialog ( OUT CHAR16 *StringBuffer,
OUT EFI_INPUT_KEY *KeyValue,
...
- )
-;
+ );
/**
Get Question's current Value.
@@ -763,8 +749,7 @@ GetQuestionValue ( IN FORM_BROWSER_FORM *Form,
IN OUT FORM_BROWSER_STATEMENT *Question,
IN BOOLEAN Cached
- )
-;
+ );
/**
Save Question Value to edit copy(cached) or Storage(uncached).
@@ -784,8 +769,7 @@ SetQuestionValue ( IN FORM_BROWSER_FORM *Form,
IN OUT FORM_BROWSER_STATEMENT *Question,
IN BOOLEAN Cached
- )
-;
+ );
/**
Perform inconsistent check for a Form.
@@ -805,8 +789,7 @@ ValidateQuestion ( IN FORM_BROWSER_FORM *Form,
IN FORM_BROWSER_STATEMENT *Question,
IN UINTN Type
- )
-;
+ );
/**
Submit a Form.
@@ -821,8 +804,7 @@ EFI_STATUS SubmitForm (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form
- )
-;
+ );
/**
Reset Question to its default value.
@@ -841,8 +823,7 @@ GetQuestionDefault ( IN FORM_BROWSER_FORM *Form,
IN FORM_BROWSER_STATEMENT *Question,
IN UINT16 DefaultId
- )
-;
+ );
/**
Get current setting of Questions.
@@ -855,8 +836,7 @@ GetQuestionDefault ( EFI_STATUS
InitializeCurrentSetting (
IN OUT FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
Initialize the internal data structure of a FormSet.
@@ -876,8 +856,7 @@ InitializeFormSet ( IN EFI_HII_HANDLE Handle,
IN OUT EFI_GUID *FormSetGuid,
OUT FORM_BROWSER_FORMSET *FormSet
- )
-;
+ );
/**
Reset Questions in a Form to their default value.
@@ -894,8 +873,7 @@ ExtractFormDefault ( IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN UINT16 DefaultId
- )
-;
+ );
/**
Initialize Question's Edit copy from Storage.
@@ -910,8 +888,7 @@ EFI_STATUS LoadFormConfig (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form
- )
-;
+ );
/**
Convert setting of Buffer Storage or NameValue Storage to <ConfigResp>.
@@ -927,8 +904,7 @@ EFI_STATUS StorageToConfigResp (
IN FORMSET_STORAGE *Storage,
IN CHAR16 **ConfigResp
- )
-;
+ );
/**
Convert <ConfigResp> to settings in Buffer Storage or NameValue Storage.
@@ -944,8 +920,7 @@ EFI_STATUS ConfigRespToStorage (
IN FORMSET_STORAGE *Storage,
IN CHAR16 *ConfigResp
- )
-;
+ );
/**
Fill storage's edit copy with settings requested from Configuration Driver.
@@ -960,8 +935,7 @@ EFI_STATUS LoadStorage (
IN FORM_BROWSER_FORMSET *FormSet,
IN FORMSET_STORAGE *Storage
- )
-;
+ );
/**
Fetch the Ifr binary data of a FormSet.
@@ -986,8 +960,7 @@ GetIfrBinaryData ( IN OUT EFI_GUID *FormSetGuid,
OUT UINTN *BinaryLength,
OUT UINT8 **BinaryData
- )
-;
+ );
/**
This is the routine which an external caller uses to direct the browser
@@ -1027,8 +1000,7 @@ SendForm ( IN UINT16 FormId, OPTIONAL
IN CONST EFI_SCREEN_DESCRIPTOR *ScreenDimensions, OPTIONAL
OUT EFI_BROWSER_ACTION_REQUEST *ActionRequest OPTIONAL
- )
-;
+ );
/**
This function is called by a callback handler to retrieve uncommitted state
@@ -1066,7 +1038,6 @@ BrowserCallback ( IN BOOLEAN RetrieveData,
IN CONST EFI_GUID *VariableGuid, OPTIONAL
IN CONST CHAR16 *VariableName OPTIONAL
- )
-;
+ );
#endif
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h index 444961c..1eaeb59 100644 --- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h +++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h @@ -180,8 +180,7 @@ extern UI_MENU_SELECTION *gCurrentSelection; VOID
UiInitMenu (
VOID
- )
-;
+ );
/**
Initialize Menu option list.
@@ -190,8 +189,7 @@ UiInitMenu ( VOID
UiInitMenuList (
VOID
- )
-;
+ );
/**
Remove a Menu in list, and return FormId/QuestionId for previous Menu.
@@ -202,8 +200,7 @@ UiInitMenuList ( VOID
UiRemoveMenuListEntry (
OUT UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
Free Menu option linked list.
@@ -212,8 +209,7 @@ UiRemoveMenuListEntry ( VOID
UiFreeMenuList (
VOID
- )
-;
+ );
/**
Add one menu entry to the linked lst
@@ -224,8 +220,7 @@ UiFreeMenuList ( VOID
UiAddMenuListEntry (
IN UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
Free Menu option linked list.
@@ -234,8 +229,7 @@ UiAddMenuListEntry ( VOID
UiFreeMenu (
VOID
- )
-;
+ );
/**
Add one menu option by specified description and context.
@@ -254,8 +248,7 @@ UiAddMenuOption ( IN FORM_BROWSER_STATEMENT *Statement,
IN UINT16 NumberOfLines,
IN UINT16 MenuItemCount
- )
-;
+ );
/**
Display menu and wait for user to select one menu option, then return it.
@@ -271,8 +264,7 @@ UiAddMenuOption ( EFI_STATUS
UiDisplayMenu (
IN OUT UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
Free up the resource allocated for all strings required
@@ -282,8 +274,7 @@ UiDisplayMenu ( VOID
FreeBrowserStrings (
VOID
- )
-;
+ );
/**
The worker function that send the displays to the screen. On output,
@@ -301,8 +292,7 @@ FreeBrowserStrings ( EFI_STATUS
SetupBrowser (
IN OUT UI_MENU_SELECTION *Selection
- )
-;
+ );
/**
VSPrint worker function that prints a Value as a decimal number in Buffer.
@@ -320,8 +310,7 @@ ValueToString ( IN CHAR16 *Buffer,
IN BOOLEAN Flags,
IN INT64 Value
- )
-;
+ );
/**
Set Buffer to Value for Size bytes.
@@ -336,8 +325,7 @@ SetUnicodeMem ( IN VOID *Buffer,
IN UINTN Size,
IN CHAR16 Value
- )
-;
+ );
/**
Wait for a given event to fire, or for an optional timeout to expire.
@@ -355,8 +343,7 @@ UiWaitForSingleEvent ( IN EFI_EVENT Event,
IN UINT64 Timeout, OPTIONAL
IN UINT8 RefreshInterval OPTIONAL
- )
-;
+ );
/**
Draw a pop up windows based on the dimension, number of lines and
@@ -372,8 +359,7 @@ CreatePopUp ( IN UINTN ScreenWidth,
IN UINTN NumberOfLines,
...
- )
-;
+ );
/**
Get string or password input from user.
@@ -391,8 +377,7 @@ ReadString ( IN UI_MENU_OPTION *MenuOption,
IN CHAR16 *Prompt,
OUT CHAR16 *StringPtr
- )
-;
+ );
/**
Get selection for OneOf and OrderedList (Left/Right will be ignored).
@@ -408,8 +393,7 @@ EFI_STATUS GetSelectionInputPopUp (
IN UI_MENU_SELECTION *Selection,
IN UI_MENU_OPTION *MenuOption
- )
-;
+ );
/**
This routine reads a numeric value from the user input.
@@ -425,8 +409,7 @@ EFI_STATUS GetNumericInput (
IN UI_MENU_SELECTION *Selection,
IN UI_MENU_OPTION *MenuOption
- )
-;
+ );
/**
Update status bar on the bottom of menu.
@@ -441,8 +424,7 @@ UpdateStatusBar ( IN UINTN MessageType,
IN UINT8 Flags,
IN BOOLEAN State
- )
-;
+ );
/**
Process Question Config.
@@ -458,8 +440,7 @@ EFI_STATUS ProcessQuestionConfig (
IN UI_MENU_SELECTION *Selection,
IN FORM_BROWSER_STATEMENT *Question
- )
-;
+ );
/**
Print Question Value according to it's storage width and display attributes.
@@ -477,8 +458,7 @@ PrintFormattedNumber ( IN FORM_BROWSER_STATEMENT *Question,
IN OUT CHAR16 *FormattedNumber,
IN UINTN BufferSize
- )
-;
+ );
/**
Search an Option of a Question by its value.
@@ -494,8 +474,7 @@ QUESTION_OPTION * ValueToOption (
IN FORM_BROWSER_STATEMENT *Question,
IN EFI_HII_VALUE *OptionValue
- )
-;
+ );
/**
Process a Question's Option (whether selected or un-selected).
@@ -515,8 +494,7 @@ ProcessOptions ( IN UI_MENU_OPTION *MenuOption,
IN BOOLEAN Selected,
OUT CHAR16 **OptionString
- )
-;
+ );
/**
Process the help string: Split StringPtr to several lines of strings stored in
@@ -532,8 +510,7 @@ ProcessHelpString ( IN CHAR16 *StringPtr,
OUT CHAR16 **FormattedString,
IN UINTN RowCount
- )
-;
+ );
/**
Update key's help imformation.
@@ -546,8 +523,7 @@ VOID UpdateKeyHelp (
IN UI_MENU_OPTION *MenuOption,
IN BOOLEAN Selected
- )
-;
+ );
/**
Clear retangle with specified text attribute.
@@ -566,8 +542,7 @@ ClearLines ( UINTN TopRow,
UINTN BottomRow,
UINTN TextAttribute
- )
-;
+ );
/**
Count the storage space of a Unicode string.
@@ -586,8 +561,7 @@ ClearLines ( UINTN
GetStringWidth (
CHAR16 *String
- )
-;
+ );
/**
Will copy LineWidth amount of a string in the OutputString buffer and return the
@@ -608,8 +582,7 @@ GetLineByWidth ( IN UINT16 LineWidth,
IN OUT UINTN *Index,
OUT CHAR16 **OutputString
- )
-;
+ );
/**
Get the supported width for a particular op-code
@@ -624,8 +597,7 @@ UINT16 GetWidth (
IN FORM_BROWSER_STATEMENT *Statement,
IN EFI_HII_HANDLE Handle
- )
-;
+ );
/**
Concatenate a narrow string to another string.
@@ -639,8 +611,7 @@ VOID NewStrCat (
CHAR16 *Destination,
CHAR16 *Source
- )
-;
+ );
/**
Wait for a key to be pressed by user.
@@ -653,8 +624,7 @@ NewStrCat ( EFI_STATUS
WaitForKeyStroke (
OUT EFI_INPUT_KEY *Key
- )
-;
+ );
/**
Reset stack pointer to begin of the stack.
@@ -663,8 +633,7 @@ WaitForKeyStroke ( VOID
ResetScopeStack (
VOID
- )
-;
+ );
/**
Push an Operand onto the Stack
@@ -679,8 +648,7 @@ ResetScopeStack ( EFI_STATUS
PushScope (
IN UINT8 Operand
- )
-;
+ );
/**
Pop an Operand from the Stack
@@ -695,8 +663,7 @@ PushScope ( EFI_STATUS
PopScope (
OUT UINT8 *Operand
- )
-;
+ );
/**
Get Form given its FormId.
@@ -712,8 +679,7 @@ FORM_BROWSER_FORM * IdToForm (
IN FORM_BROWSER_FORMSET *FormSet,
IN UINT16 FormId
- )
-;
+ );
/**
Search a Question in Formset scope using its QuestionId.
@@ -731,8 +697,7 @@ IdToQuestion ( IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN UINT16 QuestionId
- )
-;
+ );
/**
Zero extend integer/boolean/date/time to UINT64 for comparing.
@@ -743,8 +708,7 @@ IdToQuestion ( VOID
ExtendValueToU64 (
IN EFI_HII_VALUE *Value
- )
-;
+ );
/**
Compare two Hii value.
@@ -764,8 +728,7 @@ CompareHiiValue ( IN EFI_HII_VALUE *Value1,
IN EFI_HII_VALUE *Value2,
IN EFI_HII_HANDLE HiiHandle OPTIONAL
- )
-;
+ );
/**
Evaluate the result of a HII expression
@@ -788,7 +751,6 @@ EvaluateExpression ( IN FORM_BROWSER_FORMSET *FormSet,
IN FORM_BROWSER_FORM *Form,
IN OUT FORM_EXPRESSION *Expression
- )
-;
+ );
#endif // _UI_H
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h index 956e23d..1688bf1 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/Variable.h @@ -86,24 +86,21 @@ EFIAPI VariableCommonInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
EFI_STATUS
EFIAPI
VariableServiceInitialize (
IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE *SystemTable
- )
-;
+ );
VOID
EFIAPI
VariableClassAddressChangeEvent (
IN EFI_EVENT Event,
IN VOID *Context
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -115,8 +112,7 @@ GetVariable ( OUT VOID *Data,
IN VARIABLE_GLOBAL * Global,
IN UINT32 Instance
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -126,8 +122,7 @@ GetNextVariableName ( IN OUT EFI_GUID *VendorGuid,
IN VARIABLE_GLOBAL *Global,
IN UINT32 Instance
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -141,8 +136,7 @@ SetVariable ( IN UINTN *VolatileOffset,
IN UINTN *NonVolatileOffset,
IN UINT32 Instance
- )
-;
+ );
EFI_STATUS
EFIAPI
@@ -153,7 +147,6 @@ QueryVariableInfo ( OUT UINT64 *MaximumVariableSize,
IN VARIABLE_GLOBAL *Global,
IN UINT32 Instance
- )
-;
+ );
#endif
|