From a550d468a6ca577d9e9c57a0eafcf2fc9fbb8c97 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Sun, 5 Dec 2021 14:53:57 -0800 Subject: EmulatorPkg: Apply uncrustify changes REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the EmulatorPkg package Cc: Andrew Fish Cc: Leif Lindholm Cc: Michael D Kinney Signed-off-by: Michael Kubacki Reviewed-by: Ray Ni --- EmulatorPkg/EmuThunkDxe/EmuThunk.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'EmulatorPkg/EmuThunkDxe') diff --git a/EmulatorPkg/EmuThunkDxe/EmuThunk.c b/EmulatorPkg/EmuThunkDxe/EmuThunk.c index d26d52ae36..97cdf16975 100644 --- a/EmulatorPkg/EmuThunkDxe/EmuThunk.c +++ b/EmulatorPkg/EmuThunkDxe/EmuThunk.c @@ -22,15 +22,15 @@ SPDX-License-Identifier: BSD-2-Clause-Patent // // EmuThunk Device Path Protocol Instance // -EMU_THUNK_DEVICE_PATH mEmuThunkDevicePath = { +EMU_THUNK_DEVICE_PATH mEmuThunkDevicePath = { { { { HARDWARE_DEVICE_PATH, HW_VENDOR_DP, { - (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)), - (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8) + (UINT8)(sizeof (EMU_VENDOR_DEVICE_PATH_NODE)), + (UINT8)((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8) } }, EMU_THUNK_PROTOCOL_GUID @@ -47,13 +47,13 @@ EMU_THUNK_DEVICE_PATH mEmuThunkDevicePath = { } }; - EFI_STATUS EFIAPI InitializeEmuThunk ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable + IN EFI_HANDLE ImageHandle, + IN EFI_SYSTEM_TABLE *SystemTable ) + /*++ Routine Description: @@ -74,8 +74,10 @@ Returns: Handle = NULL; Status = gBS->InstallMultipleProtocolInterfaces ( &Handle, - &gEmuThunkProtocolGuid, gEmuThunk, - &gEfiDevicePathProtocolGuid, &mEmuThunkDevicePath, + &gEmuThunkProtocolGuid, + gEmuThunk, + &gEfiDevicePathProtocolGuid, + &mEmuThunkDevicePath, NULL ); -- cgit v1.2.3