From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x244.google.com (mail-io0-x244.google.com [IPv6:2607:f8b0:4001:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 20A1280333 for ; Mon, 6 Mar 2017 15:27:57 -0800 (PST) Received: by mail-io0-x244.google.com with SMTP id n76so20043586ioe.1 for ; Mon, 06 Mar 2017 15:27:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:subject:to:cc:date:message-id:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=gzcpR/Pe0rTnJkKPcU8knyV85S3fK3F8FXQQAWCYMYk=; b=L7tdukJnIckH2WcoNJkeCtyQfzt+ldTGq+SvaVvDIhrlIqoCCM3zEdwjN9QajZ6RRC 5iDf/fs6ePaHLkTxEM632YpWj5cJ0dOTIu/tzAhm8c/50DWVIu0J2hN6D+IoEh82Ajei rBWwDxvAhYTPrZ2c9AAimreO+dRuTCtML1DPmfh2PHQk/mfV00hFx83oY9poZspYczB9 eEGlmp3P3DNkZDdW4ts7K4o+RZ6QkT7iz1uFrEFQxCYb3cb2DNBU5Wutg/x76WsACb7m TCd4TQMuyRE7oXeNus4m9Vm2QA7xhYwlObCjGhO8oR77T7/BPBGcG8GmxjdhwcEqH3Hj Ttcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:date:message-id:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=gzcpR/Pe0rTnJkKPcU8knyV85S3fK3F8FXQQAWCYMYk=; b=deE0sk6MD8o/mVz4CKNztWB8auVnAUY3zDZBfqgIRhJp0GH9KW4192LAcxyfu0j4qS vKcCGGfEBNYLQhBVctQsmj/wSaBpg7zgCnDj20Roa7q+8+j2/z8DYp29WXrQ7LGx1TXS BVbftXBWZ7MCuVPZNkBXHfHQ1Pkk8vv1kr+1U/cUnARlZ6IQBo23exOOcuwMcpw4re/R HuFlqoUJsA6QljHRQveZeT9F+pv8stNgxOSlff9k0rM6/7r8xgCsFq/yUofTrEJ/m9Jl aAgTsR78KNgJCqdn3Q2AxfSwmrbuBGQZTBHzWd3SYtu7QRo0q++aQBNLN1gT9AO4iy99 XMCg== X-Gm-Message-State: AMke39nKBZzCxsOSc8HQj7PRaKA1FgIN2et4eKxtVq1L3gbpy25afxbYytV8dlLfqgleow== X-Received: by 10.107.27.204 with SMTP id b195mr3699408iob.26.1488842876461; Mon, 06 Mar 2017 15:27:56 -0800 (PST) Received: from [127.0.1.1] ([165.204.77.1]) by smtp.gmail.com with ESMTPSA id u206sm5562016itc.24.2017.03.06.15.27.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2017 15:27:56 -0800 (PST) From: Brijesh Singh X-Google-Original-From: Brijesh Singh To: jordan.l.justen@intel.com, edk2-devel@ml01.01.org, lersek@redhat.com Cc: Thomas.Lendacky@amd.com, leo.duran@amd.com, brijesh.sing@amd.com Date: Mon, 06 Mar 2017 18:27:55 -0500 Message-ID: <148884287496.29188.5155874233993236979.stgit@brijesh-build-machine> In-Reply-To: <148884284887.29188.7643544710695103939.stgit@brijesh-build-machine> References: <148884284887.29188.7643544710695103939.stgit@brijesh-build-machine> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Subject: [RFC PATCH v1 4/5] OvmfPkg/BaseIoLibIntrinsic: import BaseIoLibIntrinsic package X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 23:27:57 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Imports IoLib into OvmfPkg to make the changes to support SEV guest. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Brijesh Singh --- .../BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf | 0 .../BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni | 0 .../BaseIoLibIntrinsicInternal.h | 0 OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm | 0 .../Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoHighLevel.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLib.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLibArm.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLibEbc.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLibGcc.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIcc.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIpf.c | 0 .../Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMsc.c | 0 OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm | 0 OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm | 0 OvmfPkg/OvmfPkgIa32X64.dsc | 2 +- OvmfPkg/OvmfPkgX64.dsc | 2 +- 18 files changed, 2 insertions(+), 2 deletions(-) copy MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf => OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf (100%) copy MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni => OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni (100%) copy MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h => OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h (100%) copy MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm => OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm (100%) copy MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm => OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoHighLevel.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoHighLevel.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLib.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLib.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibArm.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibEbc.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibEbc.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibGcc.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIcc.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIpf.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c => OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMsc.c (100%) copy MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm => OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm (100%) copy MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm => OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm (100%) diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf b/OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf copy to OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni b/OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni copy to OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.uni diff --git a/MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h b/OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h copy to OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsicInternal.h diff --git a/MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm b/OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm copy to OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.asm diff --git a/MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm b/OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm copy to OvmfPkg/Library/BaseIoLibIntrinsic/Ia32/IoFifo.nasm diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoHighLevel.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoHighLevel.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoHighLevel.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoHighLevel.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLib.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLib.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLib.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLib.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibArm.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibArm.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibArm.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibEbc.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibEbc.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibEbc.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibEbc.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibGcc.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibGcc.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIcc.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibIcc.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIcc.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIpf.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibIpf.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibIpf.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMmioBuffer.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c b/OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMsc.c similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/IoLibMsc.c copy to OvmfPkg/Library/BaseIoLibIntrinsic/IoLibMsc.c diff --git a/MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm b/OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm copy to OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.asm diff --git a/MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm b/OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm similarity index 100% copy from MdePkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm copy to OvmfPkg/Library/BaseIoLibIntrinsic/X64/IoFifo.nasm diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc index a35e1d2..fd89518 100644 --- a/OvmfPkg/OvmfPkgIa32X64.dsc +++ b/OvmfPkg/OvmfPkgIa32X64.dsc @@ -106,7 +106,7 @@ PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf - IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + IoLib|OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc index 5d853d6..ce77170 100644 --- a/OvmfPkg/OvmfPkgX64.dsc +++ b/OvmfPkg/OvmfPkgX64.dsc @@ -106,7 +106,7 @@ PciExpressLib|MdePkg/Library/BasePciExpressLib/BasePciExpressLib.inf PciLib|MdePkg/Library/BasePciLibCf8/BasePciLibCf8.inf PciSegmentLib|MdePkg/Library/BasePciSegmentLibPci/BasePciSegmentLibPci.inf - IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf + IoLib|OvmfPkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf OemHookStatusCodeLib|MdeModulePkg/Library/OemHookStatusCodeLibNull/OemHookStatusCodeLibNull.inf SerialPortLib|PcAtChipsetPkg/Library/SerialIoLib/SerialIoLib.inf MtrrLib|UefiCpuPkg/Library/MtrrLib/MtrrLib.inf