]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/SmmAccess/SmmAccess2Dxe.c
OvmfPkg: Enable CLANG9 tool chain
[mirror_edk2.git] / OvmfPkg / SmmAccess / SmmAccess2Dxe.c
index d5130399b0308ddcb0f42acf8641ce2ebc86f1fe..e098f6f15f778e6438f9f5948213e0ba2066e4e7 100644 (file)
@@ -8,13 +8,7 @@
   Copyright (C) 2013, 2015, Red Hat, Inc.<BR>\r
   Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>\r
 \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, WITHOUT\r
-  WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+  SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -149,6 +143,7 @@ SmmAccess2DxeEntryPoint (
   //\r
   ASSERT (FeaturePcdGet (PcdSmmSmramRequire));\r
 \r
+  InitQ35TsegMbytes ();\r
   GetStates (&mAccess2.LockState, &mAccess2.OpenState);\r
   return gBS->InstallMultipleProtocolInterfaces (&ImageHandle,\r
                 &gEfiSmmAccess2ProtocolGuid, &mAccess2,\r