Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>\r
Copyright (c) 2017, Advanced Micro Devices. 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
#include <Uefi.h>\r
\r
QemuFwCfgSelectItem (QemuFwCfgItemSignature);\r
Signature = QemuFwCfgRead32 ();\r
- DEBUG ((EFI_D_INFO, "FW CFG Signature: 0x%x\n", Signature));\r
+ DEBUG ((DEBUG_INFO, "FW CFG Signature: 0x%x\n", Signature));\r
QemuFwCfgSelectItem (QemuFwCfgItemInterfaceVersion);\r
Revision = QemuFwCfgRead32 ();\r
- DEBUG ((EFI_D_INFO, "FW CFG Revision: 0x%x\n", Revision));\r
+ DEBUG ((DEBUG_INFO, "FW CFG Revision: 0x%x\n", Revision));\r
if ((Signature != SIGNATURE_32 ('Q', 'E', 'M', 'U')) ||\r
(Revision < 1)\r
) {\r
- DEBUG ((EFI_D_INFO, "QemuFwCfg interface not supported.\n"));\r
+ DEBUG ((DEBUG_INFO, "QemuFwCfg interface not supported.\n"));\r
mQemuFwCfgSupported = FALSE;\r
return RETURN_SUCCESS;\r
}\r
\r
//\r
// As per UEFI spec, in order to map a host address with\r
- // BusMasterCommomBuffer64, the buffer must be allocated using the IOMMU\r
+ // BusMasterCommonBuffer64, the buffer must be allocated using the IOMMU\r
// AllocateBuffer()\r
//\r
Status = mIoMmuProtocol->AllocateBuffer (\r