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
@@ -17,37 +17,37 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
0x24f14d8a, 0xd7a8, 0x4991, { 0x91, 0xe0, 0x96, 0xc3, 0xb7, 0xdb, 0x84, 0x56 } \
|
||||
}
|
||||
|
||||
#define MAX_USER_VARIABLE_COUNT 0x1000
|
||||
#define MAX_USER_VARIABLE_COUNT 0x1000
|
||||
|
||||
typedef struct {
|
||||
UINT8 SelectAll;
|
||||
UINT8 SelectAll;
|
||||
//
|
||||
// FALSE is to not delete, TRUE is to delete.
|
||||
//
|
||||
UINT8 UserVariable[MAX_USER_VARIABLE_COUNT];
|
||||
UINT8 UserVariable[MAX_USER_VARIABLE_COUNT];
|
||||
} VARIABLE_CLEANUP_DATA;
|
||||
|
||||
#define VARIABLE_CLEANUP_VARSTORE_ID 0x8000
|
||||
#define VARIABLE_CLEANUP_VARSTORE_ID 0x8000
|
||||
|
||||
//
|
||||
// Field offset of structure VARIABLE_CLEANUP_DATA
|
||||
//
|
||||
#define VAR_OFFSET(Field) ((UINTN) &(((VARIABLE_CLEANUP_DATA *) 0)->Field))
|
||||
#define USER_VARIABLE_VAR_OFFSET (VAR_OFFSET (UserVariable))
|
||||
#define VAR_OFFSET(Field) ((UINTN) &(((VARIABLE_CLEANUP_DATA *) 0)->Field))
|
||||
#define USER_VARIABLE_VAR_OFFSET (VAR_OFFSET (UserVariable))
|
||||
|
||||
#define FORM_ID_VARIABLE_CLEANUP 0x8000
|
||||
#define FORM_ID_VARIABLE_CLEANUP 0x8000
|
||||
|
||||
#define LABEL_START 0x0000
|
||||
#define LABEL_END 0xFFFF
|
||||
#define LABEL_START 0x0000
|
||||
#define LABEL_END 0xFFFF
|
||||
|
||||
#define SELECT_ALL_QUESTION_ID 0x7FFD
|
||||
#define SAVE_AND_EXIT_QUESTION_ID 0x7FFE
|
||||
#define NO_SAVE_AND_EXIT_QUESTION_ID 0x7FFF
|
||||
#define SELECT_ALL_QUESTION_ID 0x7FFD
|
||||
#define SAVE_AND_EXIT_QUESTION_ID 0x7FFE
|
||||
#define NO_SAVE_AND_EXIT_QUESTION_ID 0x7FFF
|
||||
|
||||
//
|
||||
// Tool automatic generated Question Id start from 1.
|
||||
// In order to avoid to conflict them, the user variable QuestionID offset is defined from 0x8000.
|
||||
//
|
||||
#define USER_VARIABLE_QUESTION_ID 0x8000
|
||||
#define USER_VARIABLE_QUESTION_ID 0x8000
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user