Add SEC Code And Readme.md for LoongArchQemu
Signed-off-by: xianglai li
Signed-off-by: xianglai li
---
.../Include/LoongArchAsmMacro.h | 23 +
.../Loongson/LoongArchQemuPkg/Loongson.dec| 38 ++
.../Loongson/LoongArchQemuPkg/Loongson.dsc| 133 +
.../Loongson/LoongArc
I've noticed a problem that only appears to affect RELEASE builds of
JunoPkg: the boot hangs at "Press ESCAPE for boot options ...".
Breaking into the code, I see it in SiI3132AtaPassThruCommand running
the loop around line 236:
while (Timeout && !(Value32 & IrqMask)) {
gBS->Stall (
Added the function of saving non-volatile variables.
Signed-off-by: xianglai li
---
Platform/Loongson/LoongArchQemuPkg/Loongson.dec | 6 ++
Platform/Loongson/LoongArchQemuPkg/Loongson.dsc | 2 +-
Platform/Loongson/LoongArchQemuPkg/Loongson.fdf | 16 +++-
.../Loongson/LoongAr
Patch set: Reviewed-by: Zhichao Gao
Thanks,
Zhichao
> -Original Message-
> From: Abdul Lateef Attar
> Sent: Friday, March 18, 2022 8:59 PM
> To: devel@edk2.groups.io
> Cc: Ni, Ray ; Gao, Zhichao ; Sami
> Mujawar
> Subject: [PATCH v6 0/2] ShellPkg/AcpiView: Adds ACPI_PARSER bitfield
> p
Support Dxe for LoogArch.
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 14 +-
.../Loongson/LoongArchQemuPkg/Loongson.dsc| 399 +-
.../Loongson/LoongArchQemuPkg/Loongson.fdf| 240 +++
.../LoongArchQemuPkg/Loongson.fdf.inc
This library provides flash read and write functionality
and supports writing variables to flash.
Signed-off-by: xianglai li
---
.../QemuFlashFvbServicesRuntimeDxe/FvbInfo.c | 115 ++
.../FvbServicesRuntimeDxe.inf | 76 ++
.../FvbServicesSmm.inf| 70
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.
Signed-off-by: xianglai li
---
.../Drivers/PciCpuIo2Dxe/PciCpuIo2Dxe.c | 548 ++
This library provides interfaces related to restart and shutdown.
Signed-off-by: xianglai li
---
.../Library/ResetSystemLib/ResetSystemLib.c | 155 ++
.../Library/ResetSystemLib/ResetSystemLib.inf | 40 +
2 files changed, 195 insertions(+)
create mode 100644
Platform/Loo
This library provides interfaces such as
real-time clock initialization
to get time and setting time.
Signed-off-by: xianglai li
---
.../LsRealTimeClockLib/LsRealTimeClock.h | 41 +++
.../LsRealTimeClockLib/LsRealTimeClockLib.c | 343 ++
.../LsRealTimeClockLib/LsRealTimeC
The Library provides Boot Manager interfaces.
Signed-off-by: xianglai li
---
.../PlatformBootManagerLib/PlatformBm.c | 760 ++
.../PlatformBootManagerLib/PlatformBm.h | 112 +++
.../PlatformBootManagerLib.inf| 77 ++
.../PlatformBootManagerLib/QemuKer
This driver produces Timer Architectural Protocol,
Registers a timer interrupt and initializes the timer.
Signed-off-by: xianglai li
---
.../Drivers/StableTimerDxe/Timer.c| 405 ++
.../Drivers/StableTimerDxe/Timer.h| 166 +++
.../Drivers/StableTimerDxe
The driver produces EFI_CPU_ARCH_PROTOCOL,
Initialize the exception entry address.
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Drivers/CpuDxe/CpuDxe.c | 382 ++
.../LoongArchQemuPkg/Drivers/CpuDxe/CpuDxe.h | 153 +++
.../Drivers/CpuDxe/CpuDxe.inf |
Platform PEI module for LoongArch platform initialization.
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 22 ++
.../Loongson/LoongArchQemuPkg/Loongson.dsc| 66 -
.../Loongson/LoongArchQemuPkg/Loongson.fdf| 51
.../LoongArchQemuPkg/PlatformPei/
This library provides a delay interface and a timing interface.
Signed-off-by: xianglai li
---
.../Include/Library/StableTimer.h | 42 +++
.../Library/StableTimerLib/Count.S| 26 ++
.../Library/StableTimerLib/TimerLib.c | 262 ++
.../Library/Stab
Read the memory map information through the QemuFwCfg interface,
then build the page table through the memory map information,
and finally enable Mmu.
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Include/Library/Cpu.h| 29 +
.../LoongArchQemuPkg/Include/Library/MmuLib.h | 85 ++
...
Use a register to save PeiServicesTable pointer,
This lib Provides PeiServicesTable pointer saving
and retrieval services.
Signed-off-by: xianglai li
---
.../PeiServicesTablePointer.c | 78 +++
.../PeiServicesTablePointerLib.inf| 32
2 files c
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.
Signed-off-by: xianglai li
---
.../Include/IndustryStandard/QemuFwCfg.h | 95
.../Include
Serial Port library for LoongarchQemuPkg
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Include/Library/Cpu.h| 344 ++
.../Include/LoongArchQemuPlatform.h | 103 +++
.../Library/SerialPortLib/SerialPortLib.c | 612 ++
.../Library/SerialPortLib/Seria
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 documents or LoongArch tools at
https://github.com/loongson/.
+++
b/UefiPayloadPkg/Library/DebugPrintErrorLevelLibCmos/DebugPrintErrorLevelLibCmos.c
1. Please change the folder and file names to
"DebugPrintErrorLevelLibHob/DebugPrintErrorLevelLibHob.c".
Please change the INF file name accordingly.
+#include
2. PiHob.h is included by PiDxe.h. So you
Series pushed via:
PR - https://github.com/tianocore/edk2/pull/2682
Commits -
https://github.com/tianocore/edk2/commit/5d8d8b514832fcaa36c0b573b51442c2f53e2aaf
https://github.com/tianocore/edk2/commit/69218d5d2854acaa7a11c777244de4a297d2fbb9
Best Regards,
Hao Wu
> -Original Message-
> Fro
Hi!
I've been thinking about adding sanitizer support (UBSan and KASAN), like
coreboot already has, to the wiki's Tasks for the upcoming GSoC, but I'm a
bit confused by something.
Is there anything in the UEFI spec that stops us from doing non-identity
memory mappings? I know it specifies the need
On Thu, Mar 24, 2022 at 15:56:32 +0100, Pierre Gondois wrote:
> > > > > +/** Invoke the monitor call using the appropriate conduit.
> > > > > +If PcdMonitorConduitHvc is TRUE use the HVC conduit else use SMC
> > > > > conduit.
> > > > > +
> > > > > + @param [in, out] ArgsArguments passed
(Replacing Leif's mail address to the @quicinc.com one)
On 3/24/22 10:46, Pierre Gondois wrote:
On 11/25/21 16:23, Sami Mujawar via groups.io wrote:
Hi Leif,
Thank you for the feedback.
Please find my response inline marked [SAMI].
Regards,
Sami Mujawar
On 24/11/2021 01:01 PM, Leif Lind
For the series:
Reviewed-by: Leif Lindholm
Pushed as 1b548f8e16a9..41628dcf3332.
Thanks!
On Sat, Mar 19, 2022 at 14:32:50 -0600, Rebecca Cran wrote:
> Trusted Firmware is no longer called ATF (ARM Trusted Firmware) but is
> now TF-A (Trusted Firmware for A-profile architecture). Update
> Readme.
Thanks!
Wow, I kicked this can quite far down the road. Sorry about that.
Reviewed-by: Leif Lindholm
Pushed as 1b548f8e16a9.
On Mon, Feb 07, 2022 at 17:19:20 +, Kinney, Michael D wrote:
> Reviewed-by: Michael D Kinney
>
> Mike
>
> > -Original Message-
> > From: Leif Lindholm
>
In function ‘SetDevicePathEndNode’,
inlined from ‘FileDevicePath’ at DevicePathUtilities.c:857:5:
DevicePathUtilities.c:321:3: error: writing 4 bytes into a region of size 1
[-Werror=stringop-overflow=]
321 | memcpy (Node, &mUefiDevicePathLibEndDevicePath, sizeof
(mUefiDevicePathLibEndDev
Two bugfixes (patches 1+2), one workaround (#3).
Gerd Hoffmann (3):
BaseTools: fix gcc12 warning
BaseTools: fix gcc12 warning
Basetools: turn off gcc12 warning
BaseTools/Source/C/GenFfs/GenFfs.c | 2 +-
BaseTools/Source/C/GenSec/GenSec.c | 2 +-
BaseTools/Source/C
Sdk/C/LzmaEnc.c: In function ‘LzmaEnc_CodeOneMemBlock’:
Sdk/C/LzmaEnc.c:2828:19: error: storing the address of local variable
‘outStream’ in ‘*p.rc.outStream’ [-Werror=dangling-pointer=]
2828 | p->rc.outStream = &outStream.vt;
| ^~~
Sdk/C/LzmaEnc.c:2811:28: n
GenFfs.c:545:5: error: pointer ‘InFileHandle’ used after ‘fclose’
[-Werror=use-after-free]
545 | Error(NULL, 0, 4001, "Resource", "memory cannot be allocated of
%s", InFileHandle);
|
^~~
GenFfs.c:544
On 11/25/21 16:23, Sami Mujawar via groups.io wrote:
Hi Leif,
Thank you for the feedback.
Please find my response inline marked [SAMI].
Regards,
Sami Mujawar
On 24/11/2021 01:01 PM, Leif Lindholm wrote:
Hi Sami,
On Tue, Nov 16, 2021 at 11:32:55 +, Sami Mujawar wrote:
Bugzilla: 3668
31 matches
Mail list logo