\r
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>\r
Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>\r
- This program and the accompanying materials are licensed and made available\r
- under the terms and conditions of the BSD License which accompanies this\r
- distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
#include "StandaloneMmCore.h"\r
\r
-#define CONFIG_TABLE_SIZE_INCREASED 0x10\r
+#define CONFIG_TABLE_SIZE_INCREASED 0x10\r
\r
UINTN mMmSystemTableAllocateSize = 0;\r
\r
EFI_STATUS\r
EFIAPI\r
MmInstallConfigurationTable (\r
- IN CONST EFI_MM_SYSTEM_TABLE *SystemTable,\r
- IN CONST EFI_GUID *Guid,\r
- IN VOID *Table,\r
- IN UINTN TableSize\r
+ IN CONST EFI_MM_SYSTEM_TABLE *SystemTable,\r
+ IN CONST EFI_GUID *Guid,\r
+ IN VOID *Table,\r
+ IN UINTN TableSize\r
)\r
{\r
UINTN Index;\r
&(ConfigurationTable[Index + 1]),\r
(gMmCoreMmst.NumberOfTableEntries - Index) * sizeof (EFI_CONFIGURATION_TABLE)\r
);\r
-\r
} else {\r
//\r
// No matching GUIDs were found, so this is an add operation.\r
// Allocate a table with one additional entry.\r
//\r
mMmSystemTableAllocateSize += (CONFIG_TABLE_SIZE_INCREASED * sizeof (EFI_CONFIGURATION_TABLE));\r
- ConfigurationTable = AllocatePool (mMmSystemTableAllocateSize);\r
+ ConfigurationTable = AllocatePool (mMmSystemTableAllocateSize);\r
if (ConfigurationTable == NULL) {\r
//\r
// If a new table could not be allocated, then return an error.\r