BaseTools: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Cc: Yonghong Zhu <yonghong.zhu@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
IFR is primarily consumed by the EFI presentation engine, and produced by EFI
|
||||
internal application and drivers as well as all add-in card option-ROM drivers
|
||||
|
||||
Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
|
||||
|
||||
This program and the accompanying materials are licensed and made available
|
||||
@ -55,27 +55,27 @@ typedef struct {
|
||||
} EFI_HII_PACKAGE_LIST_HEADER;
|
||||
|
||||
/**
|
||||
|
||||
Each package starts with a header, as defined above, which
|
||||
indicates the size and type of the package. When added to a
|
||||
pointer pointing to the start of the header, Length points at
|
||||
the next package. The package lists form a package list when
|
||||
concatenated together and terminated with an
|
||||
EFI_HII_PACKAGE_HEADER with a Type of EFI_HII_PACKAGE_END. The
|
||||
type EFI_HII_PACKAGE_TYPE_GUID is used for vendor-defined HII
|
||||
packages, whose contents are determined by the Guid. The range
|
||||
of package types starting with EFI_HII_PACKAGE_TYPE_SYSTEM_BEGIN
|
||||
through EFI_HII_PACKAGE_TYPE_SYSTEM_END are reserved for system
|
||||
firmware implementers.
|
||||
|
||||
|
||||
Each package starts with a header, as defined above, which
|
||||
indicates the size and type of the package. When added to a
|
||||
pointer pointing to the start of the header, Length points at
|
||||
the next package. The package lists form a package list when
|
||||
concatenated together and terminated with an
|
||||
EFI_HII_PACKAGE_HEADER with a Type of EFI_HII_PACKAGE_END. The
|
||||
type EFI_HII_PACKAGE_TYPE_GUID is used for vendor-defined HII
|
||||
packages, whose contents are determined by the Guid. The range
|
||||
of package types starting with EFI_HII_PACKAGE_TYPE_SYSTEM_BEGIN
|
||||
through EFI_HII_PACKAGE_TYPE_SYSTEM_END are reserved for system
|
||||
firmware implementers.
|
||||
|
||||
@param Length The size of the package in bytes.
|
||||
|
||||
|
||||
@param Type The package type. See EFI_HII_PACKAGE_TYPE_x,
|
||||
below.
|
||||
|
||||
|
||||
@param Data The package data, the format of which is
|
||||
determined by Type.
|
||||
|
||||
|
||||
**/
|
||||
typedef struct {
|
||||
UINT32 Length:24;
|
||||
@ -85,7 +85,7 @@ typedef struct {
|
||||
|
||||
//
|
||||
// EFI_HII_PACKAGE_TYPE_x.
|
||||
//
|
||||
//
|
||||
#define EFI_HII_PACKAGE_TYPE_ALL 0x00
|
||||
#define EFI_HII_PACKAGE_TYPE_GUID 0x01
|
||||
#define EFI_HII_PACKAGE_FORM 0x02
|
||||
@ -222,7 +222,7 @@ typedef struct _EFI_HII_GIBT_GLYPH_BLOCK {
|
||||
typedef struct _EFI_HII_GIBT_GLYPHS_BLOCK {
|
||||
EFI_HII_GLYPH_BLOCK Header;
|
||||
EFI_HII_GLYPH_INFO Cell;
|
||||
UINT16 Count;
|
||||
UINT16 Count;
|
||||
UINT8 BitmapData[1]; // the number of bytes per bitmap can be calculated by ((Cell.Width+7)/8)*Cell.Height
|
||||
} EFI_HII_GIBT_GLYPHS_BLOCK;
|
||||
|
||||
@ -1360,12 +1360,12 @@ typedef struct _EFI_IFR_SECURITY {
|
||||
|
||||
typedef struct _EFI_IFR_FORM_MAP_METHOD {
|
||||
///
|
||||
/// The string identifier which provides the human-readable name of
|
||||
/// The string identifier which provides the human-readable name of
|
||||
/// the configuration method for this standards map form.
|
||||
///
|
||||
EFI_STRING_ID MethodTitle;
|
||||
///
|
||||
/// Identifier which uniquely specifies the configuration methods
|
||||
/// Identifier which uniquely specifies the configuration methods
|
||||
/// associated with this standards map form.
|
||||
///
|
||||
EFI_GUID MethodIdentifier;
|
||||
@ -1373,8 +1373,8 @@ typedef struct _EFI_IFR_FORM_MAP_METHOD {
|
||||
|
||||
typedef struct _EFI_IFR_FORM_MAP {
|
||||
///
|
||||
/// The sequence that defines the type of opcode as well as the length
|
||||
/// of the opcode being defined. Header.OpCode = EFI_IFR_FORM_MAP_OP.
|
||||
/// The sequence that defines the type of opcode as well as the length
|
||||
/// of the opcode being defined. Header.OpCode = EFI_IFR_FORM_MAP_OP.
|
||||
///
|
||||
EFI_IFR_OP_HEADER Header;
|
||||
///
|
||||
@ -1389,13 +1389,13 @@ typedef struct _EFI_IFR_FORM_MAP {
|
||||
|
||||
typedef struct _EFI_IFR_SET {
|
||||
///
|
||||
/// The sequence that defines the type of opcode as well as the length
|
||||
/// of the opcode being defined. Header.OpCode = EFI_IFR_SET_OP.
|
||||
/// The sequence that defines the type of opcode as well as the length
|
||||
/// of the opcode being defined. Header.OpCode = EFI_IFR_SET_OP.
|
||||
///
|
||||
EFI_IFR_OP_HEADER Header;
|
||||
///
|
||||
/// Specifies the identifier of a previously declared variable store to
|
||||
/// use when storing the question's value.
|
||||
/// Specifies the identifier of a previously declared variable store to
|
||||
/// use when storing the question's value.
|
||||
///
|
||||
EFI_VARSTORE_ID VarStoreId;
|
||||
union {
|
||||
@ -1409,20 +1409,20 @@ typedef struct _EFI_IFR_SET {
|
||||
UINT16 VarOffset;
|
||||
} VarStoreInfo;
|
||||
///
|
||||
/// Specifies the type used for storage.
|
||||
/// Specifies the type used for storage.
|
||||
///
|
||||
UINT8 VarStoreType;
|
||||
} EFI_IFR_SET;
|
||||
|
||||
typedef struct _EFI_IFR_GET {
|
||||
///
|
||||
/// The sequence that defines the type of opcode as well as the length
|
||||
/// of the opcode being defined. Header.OpCode = EFI_IFR_GET_OP.
|
||||
/// The sequence that defines the type of opcode as well as the length
|
||||
/// of the opcode being defined. Header.OpCode = EFI_IFR_GET_OP.
|
||||
///
|
||||
EFI_IFR_OP_HEADER Header;
|
||||
///
|
||||
/// Specifies the identifier of a previously declared variable store to
|
||||
/// use when retrieving the value.
|
||||
/// Specifies the identifier of a previously declared variable store to
|
||||
/// use when retrieving the value.
|
||||
///
|
||||
EFI_VARSTORE_ID VarStoreId;
|
||||
union {
|
||||
@ -1436,7 +1436,7 @@ typedef struct _EFI_IFR_GET {
|
||||
UINT16 VarOffset;
|
||||
} VarStoreInfo;
|
||||
///
|
||||
/// Specifies the type used for storage.
|
||||
/// Specifies the type used for storage.
|
||||
///
|
||||
UINT8 VarStoreType;
|
||||
} EFI_IFR_GET;
|
||||
@ -1456,9 +1456,9 @@ typedef struct _EFI_IFR_MAP {
|
||||
// Keyboard Package
|
||||
//
|
||||
|
||||
typedef enum {
|
||||
typedef enum {
|
||||
EfiKeyLCtrl,
|
||||
EfiKeyA0,
|
||||
EfiKeyA0,
|
||||
EfiKeyLAlt,
|
||||
EfiKeySpaceBar,
|
||||
EfiKeyA2,
|
||||
@ -1575,7 +1575,7 @@ typedef struct {
|
||||
} EFI_KEY_DESCRIPTOR;
|
||||
|
||||
//
|
||||
// A key which is affected by all the standard shift modifiers.
|
||||
// A key which is affected by all the standard shift modifiers.
|
||||
// Most keys would be expected to have this bit active.
|
||||
//
|
||||
#define EFI_AFFECTED_BY_STANDARD_SHIFT 0x0001
|
||||
@ -1677,7 +1677,7 @@ typedef struct {
|
||||
// token usages.
|
||||
//
|
||||
//
|
||||
// STRING_TOKEN is not defined in UEFI specification. But it is placed
|
||||
// STRING_TOKEN is not defined in UEFI specification. But it is placed
|
||||
// here for the easy access by C files and VFR source files.
|
||||
//
|
||||
#define STRING_TOKEN(t) t
|
||||
|
Reference in New Issue
Block a user