mirror of https://github.com/acidanthera/audk.git
OvmfPkg/SmmCpuFeaturesLib: upper-case the "static" keyword
In edk2, the "static" keyword is spelled "STATIC". Also let "STATIC" stand alone on a line in function definitions. Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Cc: Brijesh Singh <brijesh.singh@amd.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Brijesh Singh <brijesh.singh@amd.com> Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
This commit is contained in:
parent
b1bfdd6597
commit
ea992760ff
|
@ -444,7 +444,7 @@ typedef struct {
|
|||
/// Table used by GetRegisterIndex() to convert an EFI_SMM_SAVE_STATE_REGISTER
|
||||
/// value to an index into a table of type CPU_SMM_SAVE_STATE_LOOKUP_ENTRY
|
||||
///
|
||||
static CONST CPU_SMM_SAVE_STATE_REGISTER_RANGE mSmmCpuRegisterRanges[] = {
|
||||
STATIC CONST CPU_SMM_SAVE_STATE_REGISTER_RANGE mSmmCpuRegisterRanges[] = {
|
||||
SMM_REGISTER_RANGE (
|
||||
EFI_SMM_SAVE_STATE_REGISTER_GDTBASE,
|
||||
EFI_SMM_SAVE_STATE_REGISTER_LDTINFO
|
||||
|
@ -464,7 +464,7 @@ static CONST CPU_SMM_SAVE_STATE_REGISTER_RANGE mSmmCpuRegisterRanges[] = {
|
|||
/// Lookup table used to retrieve the widths and offsets associated with each
|
||||
/// supported EFI_SMM_SAVE_STATE_REGISTER value
|
||||
///
|
||||
static CONST CPU_SMM_SAVE_STATE_LOOKUP_ENTRY mSmmCpuWidthOffset[] = {
|
||||
STATIC CONST CPU_SMM_SAVE_STATE_LOOKUP_ENTRY mSmmCpuWidthOffset[] = {
|
||||
{
|
||||
0, // Width32
|
||||
0, // Width64
|
||||
|
@ -833,7 +833,8 @@ static CONST CPU_SMM_SAVE_STATE_LOOKUP_ENTRY mSmmCpuWidthOffset[] = {
|
|||
@retval >0 Index into mSmmCpuWidthOffset[] associated with Register
|
||||
|
||||
**/
|
||||
static UINTN
|
||||
STATIC
|
||||
UINTN
|
||||
GetRegisterIndex (
|
||||
IN EFI_SMM_SAVE_STATE_REGISTER Register
|
||||
)
|
||||
|
@ -876,7 +877,8 @@ GetRegisterIndex (
|
|||
@retval EFI_INVALID_PARAMTER This or Buffer is NULL.
|
||||
|
||||
**/
|
||||
static EFI_STATUS
|
||||
STATIC
|
||||
EFI_STATUS
|
||||
ReadSaveStateRegisterByIndex (
|
||||
IN UINTN CpuIndex,
|
||||
IN UINTN RegisterIndex,
|
||||
|
|
Loading…
Reference in New Issue