In EmulatorPkg/Win, SEC and PEI_CORE are loaded to memory allocated
through VirtualAlloc. Though the corresponding DLL files are loaded
and the entry points in DLL files are executed. The loading to memory
allocated through VirtualAlloc is for the case when the DLL files can
not be loaded.
Move the "physical" RAM allocation from WinPeiAutoScan
to main() entrypoint.
This is to prepare the changes for "reset" support.
Signed-off-by: Ray Ni
Cc: Andrew Fish
Cc: Zhiguang Liu
---
EmulatorPkg/Win/Host/WinHost.c | 60 ++
1 file changed, 25
Ray Ni (3):
EmulatorPkg/WinHost: pre-allocate "physical" RAM
EmulatorPkg/WinHost: XIP for SEC and PEI_CORE
EmulatorPkg/WinHost: Add Reset2 PPI
EmulatorPkg/Win/Host/WinHost.c | 139 ---
EmulatorPkg/Win/Host/WinHost.h | 3 +-
EmulatorPkg/Win/Host/WinHost.inf
When shutdown is requested, WinHost exits.
Otherwise, WinHost re-runs from SEC.
Tested no extra memory consumption with multiple resets in PEI.
Signed-off-by: Ray Ni
Cc: Andrew Fish
Cc: Zhiguang Liu
---
EmulatorPkg/Win/Host/WinHost.c | 75
Reviewed by: Jiewen Yao
Hi Mike/Liming
I suggest this be in edk2-stable202211.
Thank you
Yao, Jiewen
> -Original Message-
> From: Xu, Min M
> Sent: Friday, November 11, 2022 3:17 PM
> To: devel@edk2.groups.io
> Cc: Xu, Min M ; Dong, Eric ;
> Ni, Ray ; Brijesh Singh ; Aktas,
> Erdem ;
I think that process is reasonable and we can discuss further in the
upcoming Tools & CI meeting.
For now, I will leave the v1 patch on the mailing list and keep those
other commits up for reference.
Thanks,
Michael
On 11/11/2022 1:44 PM, Michael D Kinney wrote:
Hi Michael,
Thanks for the
Hi Michael,
Thanks for the quick investigation. I have reviewed some of the PRs generated
in your fork by dependabot. The detailed information it collects and adds to
the PR is really good.
I do notice that some dependencies (such as cmocka) are picking up the wrong
content. I think this
Please try Python 3.9 or higher.
What is actual failure in the log?
Thanks,
Mike
From: devel@edk2.groups.io On Behalf Of
tdmaha...@gmail.com
Sent: Thursday, November 10, 2022 9:44 PM
To: devel@edk2.groups.io
Subject: [edk2-devel] dek2 setup build failed
Hi,
I'm facing an issues to build
Hi,
I'm facing an issues to build edk2 setup
C:\edk2>build
Build environment: Windows-post2008Server-6.2.9200
Build start time: 11:07:27, Nov.11 2022
WORKSPACE = c:\edk2
EDK_TOOLS_PATH = c:\edk2\basetools
EDK_TOOLS_BIN = c:\edk2\basetools\bin\win32
CONF_PATH =
Hi Ard,
On Thu, Nov 10, 2022 at 2:48 PM Ard Biesheuvel wrote:
>
> Currently, we only expose EFI_RNG_PROTOCOL when running under QEMU if it
> exposes a virtio-rng device. This means that generic EFI apps or
> loaders have no access to an entropy source if this device is
> unavailable, unless they
Hi Ard,
On Fri, Nov 11, 2022 at 8:47 AM Ard Biesheuvel wrote:
>
> On Fri, 11 Nov 2022 at 03:41, Jason A. Donenfeld wrote:
> >
> > Hi Ard,
> >
> > On Thu, Nov 10, 2022 at 2:48 PM Ard Biesheuvel wrote:
> > >
> > > Currently, we only expose EFI_RNG_PROTOCOL when running under QEMU if it
> > >
Hi Robert,
Thank you for the confirmation.
The patch is upstreamed through the below commit:
https://github.com/tianocore/edk2-test/commit/1d181ad0d82520c099435ff08a8e829b44f493cc
With Warm Regards,
Edhay
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
Hi Mike,
It looks like the ability to open draft PRs is not possible at the moment:
Configure dependabot to create draft PRs · Issue #1291 ·
dependabot/dependabot-core · GitHub (
https://github.com/dependabot/dependabot-core/issues/1291 )
I could not find an ability for dependabot to leave
From: Anthony PERARD
When booting OvmfXen, the ACPI interface for shutdown/reset might not
be available, instead use the hypercall interface.
While it's probably possible to use the hypercall in all cases, we
keep using the same interface while it still possible. That is ACPI on
HVM guest, and
From: Anthony PERARD
Add a new function to allow to make an hypercall to shutdown the
machine.
This import "sched.h" public header from Xen Project's repo. Some
changes have been made to be closer to EDK2's coding style.
Signed-off-by: Anthony PERARD
---
From: Anthony PERARD
We need a way to execute instruction "generated" at runtime from the
runtime library.
This patch introduce XenHypercallRuntimeLib, which is mostly a copy of
XenHypercallLib with a few changes.
We reserved some code space with "XenHypercallPage", which we will
overwrite to
From: Anthony PERARD
Patch series available in this git branch:
https://xenbits.xen.org/git-http/people/aperard/ovmf.git
br.fix-pvh-shutdown-v2-v1
From: Anthony PERARD
Hi,
This series instroduce a XenHypercallLib that can be used at runtime by a EFI
service. And then it introduce a modified
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4143
Fix the name of InternalSyncCompareExchange64() function.
Signed-off-by: Sunil V L
Reported-by: Zhihao Li
Tested-by: Zhihao Li
Cc: Michael D Kinney
Cc: Liming Gao
Cc: Zhiguang Liu
Cc: Daniel Schaefer
---
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> Support Dxe for LoogArch.
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
> Cc: Michael D Kinney
>
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> This library provides interfaces related to restart and shutdown.
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> The Library provides Boot Manager interfaces.
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
> Cc: Michael D
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> This library provides interfaces such as
>
> real-time clock initialization
> to get time and setting time.
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> This driver produces Timer Architectural Protocol,
>
> Registers a timer interrupt and initializes the timer.
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc:
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> Add PCI CpuIo protocol.there is no fix translation
>
> offset between I/O port accesses and MMIO accesses.
> Add PciCpuIo2Dxe driver to implement EFI_CPU_IO2_PROTOCOL
> to add the translation for IO
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> The driver produces EFI_CPU_ARCH_PROTOCOL,
>
> Initialize the exception entry address.
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> The driver produces EFI_CPU_ARCH_PROTOCOL,
>
> Initialize the exception entry address.
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, "xianglai" wrote:
> Platform PEI module for LoongArch platform initialization.
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
> Cc:
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> This library provides a delay interface and a timing interface.
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> Read the memory map information through the QemuFwCfg interface,
>
> then build the page table through the memory map information,
> and finally enable Mmu.
>
>
> REF:
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> QemuFwCfgLib for PEI phase.
>
> This library obtains the QemuFWCfg base address by
> directly parsing the fdt, and reads and writes the data
> in the QemuFWCfg by operating on the QemuFWCfg base
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> Use a register to save PeiServicesTable pointer,
>
> This lib Provides PeiServicesTable pointer saving
> and retrieval services.
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc:
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> Add SEC Code And Readme.md for LoongArchQemu
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
> Cc: Michael D
Reviewed-by: Chao Li
Thanks,
Chao
On 11月 11 2022, at 5:12 下午, xianglai li wrote:
> Serial Port library for LoongarchQemuPkg
>
>
>
> REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
>
>
> Cc: Bibo Mao
> Cc: Chao Li
> Cc: Leif Lindholm
> Cc: Liming Gao
> Cc: Michael D Kinney
Support Dxe for LoogArch.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 13 +
Add Readme for LoogArch and Modify the Readme in the root directory.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
Platform/Loongson/LoongArchQemuPkg/Readme.md | 60
This library provides interfaces related to restart and shutdown.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../BaseResetSystemAcpiGed.c | 146
The Library provides Boot Manager interfaces.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../PlatformBootManagerLib/PlatformBm.c | 742 ++
This library provides interfaces such as
real-time clock initialization
to get time and setting time.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
The driver produces EFI_CPU_ARCH_PROTOCOL,
Initialize the exception entry address.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
Add PCI CpuIo protocol.there is no fix translation
offset between I/O port accesses and MMIO accesses.
Add PciCpuIo2Dxe driver to implement EFI_CPU_IO2_PROTOCOL
to add the translation for IO access.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif
This driver produces Timer Architectural Protocol,
Registers a timer interrupt and initializes the timer.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
Read the memory map information through the QemuFwCfg interface,
then build the page table through the memory map information,
and finally enable Mmu.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Platform PEI module for LoongArch platform initialization.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 23 ++
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
The uploaded code generates firmware to support Linux launching on the
LoongArch platform under qemu,
So it will run in a virtual machine.
LoongArch is the general processor architecture of Loongson.
You can get the latest LoongArch
Add SEC Code And Readme.md for LoongArchQemu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
Signed-off-by: xianglai li
---
.../Include/LoongArchQemuPlatform.h |
Use a register to save PeiServicesTable pointer,
This lib Provides PeiServicesTable pointer saving
and retrieval services.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
QemuFwCfgLib for PEI phase.
This library obtains the QemuFWCfg base address by
directly parsing the fdt, and reads and writes the data
in the QemuFWCfg by operating on the QemuFWCfg base address.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif
Serial Port library for LoongarchQemuPkg
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Include/Library/Cpu.h| 237 +++
This library provides a delay interface and a timing interface.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../Include/Library/StableTimer.h | 59 +
Support Dxe for LoogArch.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 13 +
Add Readme for LoogArch and Modify the Readme in the root directory.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
Platform/Loongson/LoongArchQemuPkg/Readme.md | 60
The Library provides Boot Manager interfaces.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../PlatformBootManagerLib/PlatformBm.c | 742 ++
Add PCI CpuIo protocol.there is no fix translation
offset between I/O port accesses and MMIO accesses.
Add PciCpuIo2Dxe driver to implement EFI_CPU_IO2_PROTOCOL
to add the translation for IO access.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif
This library provides interfaces related to restart and shutdown.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../BaseResetSystemAcpiGed.c | 146
The driver produces EFI_CPU_ARCH_PROTOCOL,
Initialize the exception entry address.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
This library provides interfaces such as
real-time clock initialization
to get time and setting time.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
Platform PEI module for LoongArch platform initialization.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 23 ++
This driver produces Timer Architectural Protocol,
Registers a timer interrupt and initializes the timer.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
Read the memory map information through the QemuFwCfg interface,
then build the page table through the memory map information,
and finally enable Mmu.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Serial Port library for LoongarchQemuPkg
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Include/Library/Cpu.h| 237 +++
Add SEC Code And Readme.md for LoongArchQemu
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
Signed-off-by: xianglai li
---
.../Include/LoongArchQemuPlatform.h |
This library provides a delay interface and a timing interface.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
.../Include/Library/StableTimer.h | 59 +
QemuFwCfgLib for PEI phase.
This library obtains the QemuFWCfg base address by
directly parsing the fdt, and reads and writes the data
in the QemuFWCfg by operating on the QemuFWCfg base address.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
The uploaded code generates firmware to support Linux launching on the
LoongArch platform under qemu,
So it will run in a virtual machine.
LoongArch is the general processor architecture of Loongson.
You can get the latest LoongArch
Use a register to save PeiServicesTable pointer,
This lib Provides PeiServicesTable pointer saving
and retrieval services.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4054
Cc: Bibo Mao
Cc: Chao Li
Cc: Leif Lindholm
Cc: Liming Gao
Cc: Michael D Kinney
Signed-off-by: xianglai li
---
On Thu, Nov 10, 2022 at 02:47:35PM +0100, Ard Biesheuvel wrote:
> Currently, we only expose EFI_RNG_PROTOCOL when running under QEMU if it
> exposes a virtio-rng device. This means that generic EFI apps or
> loaders have no access to an entropy source if this device is
> unavailable, unless they
66 matches
Mail list logo