From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::d44; helo=mail-io1-xd44.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-io1-xd44.google.com (mail-io1-xd44.google.com [IPv6:2607:f8b0:4864:20::d44]) (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 4621E2194D387 for ; Wed, 12 Sep 2018 22:18:15 -0700 (PDT) Received: by mail-io1-xd44.google.com with SMTP id y12-v6so2123809ioj.13 for ; Wed, 12 Sep 2018 22:18:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=k/cP3+GgTqJGYyPnRnEupwNRansPVCF2k/h7mDIPVrU=; b=dQ4Bex2tmlGNrOMFM1n1YdEq698eMUqrm6cF8+sa+Ju6tV9yYJtweOnw+6knTsxBcB AGLLEpd2U1o6xr1qgnvgDBJbuXDSVIz52Wwd2mqSW/r6qwekDUekY8oDYNnfBd8Qu0gL qMqh/FzsHsAa2eD0ZVqJBJSh5dnyxO4WN2JTc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=k/cP3+GgTqJGYyPnRnEupwNRansPVCF2k/h7mDIPVrU=; b=iUbt1iQHplWK9iT5ix0ftYv5zhDDB/Mis/KA660oEytkZgP2DfdtBYrUwmrL7dJL0c 9ec82zgEZ8TXsFvF7GZHU85VoYz6pAW8rSlGkkT+eoFfgeXeT+A1Y/4YJ+FEF1MTG/9h bDEGjAtC6D1cpFLY2GuIjFLhwRTEiC4fCYJk13gB9n9WKzipltmggz6nu7WqU1VOzHFz CfUA7gXAALVBDjDVGp186DFjFnYgwW3pAl5BsQ/dkx+Ut6WJhDZzGd03QOzCtd2m3nj8 /0oBTHUrz1Q37gnqhI4SN7B1pbXzCGVeI3dR3cJLhC0z/ybF0ShL9MLBVDV5a9W/BaFt XZFw== X-Gm-Message-State: APzg51CaZS+ZSv/+9sDjV1x3kkEndjFVMgwk4CBIFNdD8LUgHLG6TP5Q HiAngPpRmcZsVPbsUY65/rwA6CN5aQQghBf+zzbQQw== X-Google-Smtp-Source: ANB0VdZfNn8WcSor9mlK1rrqjjTJhTFhRVVoXndKbbOeKNWFI64M63t72f59cRIlibfArDStAvtNlYy4nia2G66bDIs= X-Received: by 2002:a6b:ba86:: with SMTP id k128-v6mr4618790iof.170.1536815894148; Wed, 12 Sep 2018 22:18:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a6b:2848:0:0:0:0:0 with HTTP; Wed, 12 Sep 2018 22:18:13 -0700 (PDT) In-Reply-To: <06C8AB66E78EE34A949939824ABE2B313B81CDD8@shsmsx102.ccr.corp.intel.com> References: <20180912132151.4258-1-ard.biesheuvel@linaro.org> <06C8AB66E78EE34A949939824ABE2B313B81CDD8@shsmsx102.ccr.corp.intel.com> From: Ard Biesheuvel Date: Thu, 13 Sep 2018 07:18:13 +0200 Message-ID: To: "Shi, Steven" Cc: "edk2-devel@lists.01.org" , "Ni, Ruiyu" , "Zimmer, Vincent" , "Dong, Eric" , Andrew Fish , "agraf@suse.de" , "Richardson, Brian" , "Kinney, Michael D" , Laszlo Ersek , "Zeng, Star" Subject: Re: [PATCH 0/4] MdeModulePkg: add support for dispatching foreign arch PE/COFF images X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Sep 2018 05:18:15 -0000 Content-Type: text/plain; charset="UTF-8" On 13 September 2018 at 02:47, Shi, Steven wrote: > Hi Ard, > Just my curious, are you supporting the below idea of QEMU in UEFI? > > QEMU in UEFI - Alexander Graf > https://www.youtube.com/watch?v=uxvAH1Q4Mx0 > http://events17.linuxfoundation.org/sites/events/files/slides/QEMU%20in%20UEFI.pdf > Yes. X86EmulatorPkg was developed by Alexander and myself. >> -----Original Message----- >> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of >> Ard Biesheuvel >> Sent: Wednesday, September 12, 2018 9:22 PM >> To: edk2-devel@lists.01.org >> Cc: Ni, Ruiyu ; Zimmer, Vincent >> ; Dong, Eric ; Andrew >> Fish ; agraf@suse.de; Richardson, Brian >> ; Kinney, Michael D >> ; Laszlo Ersek ; Zeng, >> Star >> Subject: [edk2] [PATCH 0/4] MdeModulePkg: add support for dispatching >> foreign arch PE/COFF images >> >> Add the basic plumbing to DXE core, the PCI bus driver and the boot manager >> to allow PE/COFF images to be dispatched that target an architecture that is >> not native for the platform, but which is supported by an emulator. >> >> One implementation of such an emulator can be found here: >> https://github.com/ardbiesheuvel/X86EmulatorPkg >> >> Cc: Zimmer Vincent >> Cc: Brian Richardson >> Cc: Michael D Kinney >> Cc: Andrew Fish >> Cc: Laszlo Ersek >> Cc: Leif Lindholm >> Cc: Star Zeng >> Cc: Eric Dong >> Cc: Ruiyu Ni >> >> Ard Biesheuvel (4): >> MdeModulePkg: introduce PE/COFF image emulator protocol >> MdeModulePkg/DxeCore: invoke the emulator protocol for foreign images >> MdeModulePkg/PciBusDxe: invoke PE/COFF emulator for foreign option >> ROMs >> MdeModulePkg/UefiBootManagerLib: allow foreign Driver#### images >> >> MdeModulePkg/Bus/Pci/PciBusDxe/PciBus.h | 1 + >> MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf | 1 + >> .../Bus/Pci/PciBusDxe/PciOptionRomSupport.c | 16 +++++- >> MdeModulePkg/Core/Dxe/DxeMain.h | 3 ++ >> MdeModulePkg/Core/Dxe/DxeMain.inf | 1 + >> MdeModulePkg/Core/Dxe/Image/Image.c | 39 +++++++++++--- >> .../Include/Protocol/PeCoffImageEmulator.h | 51 +++++++++++++++++++ >> .../Library/UefiBootManagerLib/BmLoadOption.c | 26 +++++++++- >> .../Library/UefiBootManagerLib/InternalBm.h | 1 + >> .../UefiBootManagerLib/UefiBootManagerLib.inf | 1 + >> MdeModulePkg/MdeModulePkg.dec | 4 ++ >> 11 files changed, 136 insertions(+), 8 deletions(-) >> create mode 100644 >> MdeModulePkg/Include/Protocol/PeCoffImageEmulator.h >> >> -- >> 2.17.1 >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel