MdeModulePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdeModulePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
7c7184e201
commit
1436aea4d5
@ -13,32 +13,32 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#define FORM_BROWSER_EXTENSION_PROTOCOL_GUID \
|
||||
{ 0x1f73b18d, 0x4630, 0x43c1, { 0xa1, 0xde, 0x6f, 0x80, 0x85, 0x5d, 0x7d, 0xa4 } }
|
||||
|
||||
typedef struct _EDKII_FORM_BROWSER_EXTENSION_PROTOCOL EDKII_FORM_BROWSER_EXTENSION_PROTOCOL;
|
||||
typedef struct _EDKII_FORM_BROWSER_EXTENSION_PROTOCOL EDKII_FORM_BROWSER_EXTENSION_PROTOCOL;
|
||||
|
||||
//
|
||||
// To be compatible, keep EFI_FORM_BROWSER_EXTENSION_PROTOCOL definition
|
||||
//
|
||||
typedef EDKII_FORM_BROWSER_EXTENSION_PROTOCOL EFI_FORM_BROWSER_EXTENSION_PROTOCOL;
|
||||
typedef EDKII_FORM_BROWSER_EXTENSION_PROTOCOL EFI_FORM_BROWSER_EXTENSION_PROTOCOL;
|
||||
|
||||
//
|
||||
// Return value of SAVE_REMINDER() that describes whether the changed data is saved or discarded.
|
||||
//
|
||||
#define BROWSER_NO_CHANGES 0
|
||||
#define BROWSER_SAVE_CHANGES 1
|
||||
#define BROWSER_DISCARD_CHANGES 2
|
||||
#define BROWSER_KEEP_CURRENT 3
|
||||
#define BROWSER_NO_CHANGES 0
|
||||
#define BROWSER_SAVE_CHANGES 1
|
||||
#define BROWSER_DISCARD_CHANGES 2
|
||||
#define BROWSER_KEEP_CURRENT 3
|
||||
|
||||
//
|
||||
// Browser actions. They can be cominbed together.
|
||||
// If more than one actions are specified, the action with low bit will be executed first.
|
||||
//
|
||||
#define BROWSER_ACTION_UNREGISTER 0
|
||||
#define BROWSER_ACTION_DISCARD BIT0
|
||||
#define BROWSER_ACTION_DEFAULT BIT1
|
||||
#define BROWSER_ACTION_SUBMIT BIT2
|
||||
#define BROWSER_ACTION_RESET BIT3
|
||||
#define BROWSER_ACTION_EXIT BIT4
|
||||
#define BROWSER_ACTION_GOTO BIT5
|
||||
#define BROWSER_ACTION_UNREGISTER 0
|
||||
#define BROWSER_ACTION_DISCARD BIT0
|
||||
#define BROWSER_ACTION_DEFAULT BIT1
|
||||
#define BROWSER_ACTION_SUBMIT BIT2
|
||||
#define BROWSER_ACTION_RESET BIT3
|
||||
#define BROWSER_ACTION_EXIT BIT4
|
||||
#define BROWSER_ACTION_GOTO BIT5
|
||||
|
||||
//
|
||||
// Scope for Browser action. It may be Form, FormSet or System level.
|
||||
@ -65,7 +65,7 @@ typedef enum {
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *SET_SCOPE) (
|
||||
(EFIAPI *SET_SCOPE)(
|
||||
IN BROWSER_SETTING_SCOPE Scope
|
||||
);
|
||||
|
||||
@ -87,7 +87,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *REGISTER_HOT_KEY) (
|
||||
(EFIAPI *REGISTER_HOT_KEY)(
|
||||
IN EFI_INPUT_KEY *KeyData,
|
||||
IN UINT32 Action,
|
||||
IN UINT16 DefaultId,
|
||||
@ -102,7 +102,7 @@ EFI_STATUS
|
||||
**/
|
||||
typedef
|
||||
VOID
|
||||
(EFIAPI *EXIT_HANDLER) (
|
||||
(EFIAPI *EXIT_HANDLER)(
|
||||
VOID
|
||||
);
|
||||
|
||||
@ -116,7 +116,7 @@ VOID
|
||||
**/
|
||||
typedef
|
||||
VOID
|
||||
(EFIAPI *REGISTER_EXIT_HANDLER) (
|
||||
(EFIAPI *REGISTER_EXIT_HANDLER)(
|
||||
IN EXIT_HANDLER Handler
|
||||
);
|
||||
|
||||
@ -137,13 +137,12 @@ UINT32
|
||||
);
|
||||
|
||||
struct _EDKII_FORM_BROWSER_EXTENSION_PROTOCOL {
|
||||
SET_SCOPE SetScope;
|
||||
REGISTER_HOT_KEY RegisterHotKey;
|
||||
REGISTER_EXIT_HANDLER RegiserExitHandler;
|
||||
SAVE_REMINDER SaveReminder;
|
||||
SET_SCOPE SetScope;
|
||||
REGISTER_HOT_KEY RegisterHotKey;
|
||||
REGISTER_EXIT_HANDLER RegiserExitHandler;
|
||||
SAVE_REMINDER SaveReminder;
|
||||
};
|
||||
|
||||
extern EFI_GUID gEdkiiFormBrowserExProtocolGuid;
|
||||
extern EFI_GUID gEdkiiFormBrowserExProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user