From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=UT1loF2g; spf=pass (domain: linaro.org, ip: 209.85.166.195, mailfrom: ard.biesheuvel@linaro.org) Received: from mail-it1-f195.google.com (mail-it1-f195.google.com [209.85.166.195]) by groups.io with SMTP; Mon, 15 Apr 2019 10:58:02 -0700 Received: by mail-it1-f195.google.com with SMTP id y134so28505229itc.5 for ; Mon, 15 Apr 2019 10:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OXTEEcfPxsHYkO//yOMcmAtZkU9pgOOsP/ju6Kpgutw=; b=UT1loF2gpZbDTYKWkX3PRyUcSc9gRRaedNC8N5vvF2XJUmDRElDQ8cBKKHLZysf/rK yprBvfXKdu8MGrxrBgbimu4YhQF7y3JLHfjPX0hTImmQtqty4mPKZ+xrdZoBttVBbUBh XYNuEzJEr8utRZHbKMuKo0DytSzHp2mveRSERzvJzxM19ngQ6z8D1oD3JJezbibSlU+6 tlpJVoqNqrP96QsYCFD6O/0goOBnasxw69Gurnev5WB1F7hJIPCzNCjeBPBX3VubNsaA lvADd4YlYA9IW9WWGt3VC9fKXU8yfoB+lTvtDZSIA+yrm6Cb9VHm9c1b0Mt7Ph6K2IFk sHiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=OXTEEcfPxsHYkO//yOMcmAtZkU9pgOOsP/ju6Kpgutw=; b=AHilp8Z4LFNQIV03qGg3wTNnPcBtg8uFuG441mPDIie1SU0KPXjYx/X8Gfi0mPjaRP n4Gq+LI5JJE008kmmqDto4PPFMdL3LW4piEYzlvopzhAA+UWJGY87XyEqWWuMW7h0Kab pJNouv64zjTTm/K5HzTncybM+jQDKHtFHoEz9Kd0ltVT4R33yqZ7pPhVE0Vi0Wmlkjar ge7U2xdOWMQSN8YNIZvU+Gjz9Z+nxJrzZDWl/d0Ny+YDRAvGuxRpdaR1wMAMIUA3IFHo rdSpR4OH0kmIetDwVdt2VNBwL+AaGUrVz278vmE3JTdLDKZAwPABhRrvS9m02Ju2kTYa br/g== X-Gm-Message-State: APjAAAXiM58SrP6EkJEKw8R+n9OK82Zi23U4n8nIX13pShALN6jxKN/C g22qeECVWmn6BLhWR4xQe9l5X2PpobY+ap5OOeEFmw== X-Google-Smtp-Source: APXvYqwzTmfLzmvEi1M4XgNBj39uyqegGxJXhS2tLR+jXXXCDGioHOmR59d0RnaNVU0LuBuugSgJvekKJYKl4jmO0ts= X-Received: by 2002:a24:41cd:: with SMTP id b74mr12677138itd.100.1555351081792; Mon, 15 Apr 2019 10:58:01 -0700 (PDT) MIME-Version: 1.0 References: <20190415024156.9101-1-ard.biesheuvel@linaro.org> <20190415091705.l4divyfw4jxjougd@bivouac.eciton.net> In-Reply-To: <20190415091705.l4divyfw4jxjougd@bivouac.eciton.net> From: "Ard Biesheuvel" Date: Mon, 15 Apr 2019 10:57:53 -0700 Message-ID: Subject: Re: [RFC PATCH edk2-non-osi] Emulator: add binary AARCH64 build of X86 PE/COFF emulator To: Leif Lindholm Cc: edk2-devel-groups-io , Andrew Fish , Laszlo Ersek , Michael D Kinney Content-Type: text/plain; charset="UTF-8" On Mon, 15 Apr 2019 at 02:17, Leif Lindholm wrote: > > Some bikeshedding below: > > On Sun, Apr 14, 2019 at 07:41:56PM -0700, Ard Biesheuvel wrote: > > Repo: http://github.com/ardbiesheuvel/X86EmulatorPkg.git > > Commit: 5f4deb30eb935f9004b93d97712cc3ac3ae1ca97 > > Does this permit execution of both IA32 and X64 code? If so, the name > makes sense (but the README.md in the above repo suggests otherwise, > and the readme here says nothing on the topic). > I don't know whether the emulator itself supports IA32 execution, but the driver definitely only registers itself for the X64 machine type. But since the naming of the upstream repo is not really under review here, I will add a mention that only X64 is supported. > > Repo: http://github.com/tiancore/edk2.git > > Commit: 2e21e8c4b89656897797019a9c56bc5ccbf12df1 > > > > Note that the X86EmulatorPkg project's license is _L_GPL not GPL, > > and so it could arguably be incorporated into edk2-non-osi in source > > form. However, the emulator is a rather sizable chunk of code, and > > providing a known working binary is preferred over having each > > platform build it from scratch, so providing just the binary should > > be sufficient for the time being. > > > > Cc: Andrew Fish > > Cc: Laszlo Ersek > > Cc: Leif Lindholm > > Cc: Michael D Kinney > > Signed-off-by: Ard Biesheuvel > > --- > > Note that this patch is against the edk2-non-osi repository, not EDK2 > > itself. > > > > Binaries are omitted from this patch. The complete patch can be found here: > > https://git.linaro.org/leg/noupstream/edk2-non-osi.git/commit/?h=upstream > > > > Emulator/X86EmulatorDxe/LICENSE | 504 ++++++++++++++++++++ > > Emulator/X86EmulatorDxe/README | 9 + > > Could this be Readme.md? > Of course. What does the .md stand for actually? > > Emulator/X86EmulatorDxe/X86EmulatorDxe.depex | Bin 0 -> 54 bytes > > Emulator/X86EmulatorDxe/X86EmulatorDxe.efi | Bin 0 -> 913408 bytes > > Emulator/X86EmulatorDxe/X86EmulatorDxe.inf | 21 + > > 5 files changed, 534 insertions(+) > > / > Leif