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
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
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
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
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
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
/qemu/tree/tcg-dev
The LoongArch Documentation in Loongson community:
https://github.com/loongson/LoongArch-Documentation/tree/main/docs
xianglai li (16):
Platform/Loongson: Add Serial Port library
Platform/Loongson: Support SEC And Add Readme.md
Platform/Loongson: Add PeiServicesTablePointerLib
://github.com/loongson/LoongArch-Documentation/tree/main/docs
If there is a problem with my submission process, please provide some
suggestions.
Thank you very much.
xianglai li.
-原始邮件-
发件人: xianglai
发送时间: 2022-03-02 16:44:32 (星期三)
收件人: devel@edk2.groups.io
抄送:
主题: [edk2-devel] [edk2
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
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
The Library provides Boot Manager interfaces.
Signed-off-by: xianglai li
---
.../PlatformBootManagerLib/PlatformBm.c | 761 ++
.../PlatformBootManagerLib/PlatformBm.h | 126 +++
.../PlatformBootManagerLib.inf| 78 ++
.../PlatformBootManagerLib
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
Support Dxe for LoogArch.
Signed-off-by: xianglai li
---
.../Loongson/LoongArchQemuPkg/Loongson.dec| 14 +-
.../Loongson/LoongArchQemuPkg/Loongson.dsc| 385 +-
.../Loongson/LoongArchQemuPkg/Loongson.fdf| 241 +++
.../LoongArchQemuPkg/Loongson.fdf.inc
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 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
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
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/MmuLib.h | 85 ++
.../LoongArchQemuPkg/Library/MmuLib/Mmu.S | 35
This library provides interfaces for creating kernel boot parameters.
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Include/Library/Bpi.h| 77 +++
.../LoongArchQemuPkg/Library/BpiLib/Bpi.c | 492 ++
.../Library/BpiLib/BpiLib.inf | 38 ++
3 files
/.
xianglai li (15):
Platform/Loongson: Add Serial Port library
Platform/Loongson: Support SEC And Add Readme.md
Platform/Loongson: Add PeiServicesTablePointerLib.
Platform/Loongson: Add QemuFwCfgLib.
Platform/Loongson: Add BpiLib.
Platform/Loongson: Add MmuLib.
Platform/Loongson: Add
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
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
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
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
Serial Port library for LoongarchQemuPkg
Signed-off-by: xianglai li
---
.../LoongArchQemuPkg/Include/Library/Cpu.h| 344 ++
.../Include/LoongArchQemuPlatform.h | 103 +++
.../Library/SerialPortLib/SerialPortLib.c | 614 ++
.../Library/SerialPortLib
the forced type conversion of UINT32.
2.Use UINT64 type variables.
Signed-off-by: xianglai li
---
OvmfPkg/AmdSev/AmdSevX64.dsc | 2 ++
OvmfPkg/Bhyve/BhyveX64.dsc | 2 ++
OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.c | 8 +++-
OvmfPkg/EmuVariableFvbRuntimeDxe/Fvb.inf | 4
201 - 226 of 226 matches
Mail list logo