memtest86plus/system
Chao Li 3ce7c3fb39
loongarch: Add 64-bit PCIe memory space mapping and change the stable timer as the main timer (#450)
* system/loongarch: Add 64-bit PCIe memory space mapping

Added the 64-bit PCIe memory space mapping. From 0x8000000000ULL to
0xFD00000000ULL are LoongArch 64-bit PCIe memory spaces and need to be
mapped.

Signed-off-by: Chao Li <lichao@loongson.cn>

* system/loongarch: Optimization timer on LoongArch

Since some LoongArch64 CPUs stop the performance counters when ilde, the
running time displayed on the screen is incorrect.

Using stable counter can solve this problem, so remove the performance
counters time, and add stable counter time.

Signed-off-by: Chao Li <lichao@loongson.cn>

---------

Signed-off-by: Chao Li <lichao@loongson.cn>
2024-10-24 19:28:00 +02:00
..
imc Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
loongarch loongarch: Add 64-bit PCIe memory space mapping and change the stable timer as the main timer (#450) 2024-10-24 19:28:00 +02:00
acpi.c Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
acpi.h Add initial NUMA awareness support (#378) 2024-03-13 01:43:26 +01:00
cache.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
cpuid.c [cpuinfo] Fix old CPUs (P5/P6-class) name and cache info (#267) 2023-03-03 13:21:27 +01:00
cpuid.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
cpuinfo.c Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
cpuinfo.h Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
cpulocal.c Faster barrier implementation. 2022-02-28 22:05:21 +00:00
cpulocal.h Faster barrier implementation. 2022-02-28 22:05:21 +00:00
ehci.c Refactor the memrw functions to reduce the redundancy. (#415) 2024-07-16 08:55:13 +01:00
ehci.h Take ownership of all USB controllers before probing for devices. (#167) 2022-10-07 09:32:09 +01:00
font.c Initial commit. 2020-05-24 21:30:55 +01:00
font.h Exclude copyright notices from Doxygen file descriptions. 2022-02-19 19:56:55 +00:00
heap.c Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
heap.h Fix and improve documentation in heap.h (issue #232) 2023-01-03 11:55:51 +00:00
hwctrl.c Add the 64-bit and 32-bit CC flag 2024-07-22 22:50:15 +02:00
hwctrl.h Tidy up code for performing reset via the EFI runtime sevices. 2022-04-23 13:25:33 +01:00
hwquirks.c Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
hwquirks.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
i2c_x86.c Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
io.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
jedec_id.h Add detection for various JEDEC Manufacturers 2024-01-07 15:20:19 +01:00
keyboard.c By default, only enable USB keyboard detection when booted in UEFI mode. 2022-07-24 13:56:41 +01:00
keyboard.h Add usbdebug command line option and conditionally pause at end of USB scan. 2022-04-17 22:46:17 +01:00
memctrl.c Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
memctrl.h Preliminary ECC support for AMD Zen CPUs (#353) 2023-11-29 12:53:05 +01:00
memrw.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
memsize.h Exclude copyright notices from Doxygen file descriptions. 2022-02-19 19:56:55 +00:00
mmio.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
msr.h Preliminary ECC support for AMD Zen CPUs (#353) 2023-11-29 12:53:05 +01:00
ohci.c Refactor the memrw functions to reduce the redundancy. (#415) 2024-07-16 08:55:13 +01:00
ohci.h Take ownership of all USB controllers before probing for devices. (#167) 2022-10-07 09:32:09 +01:00
pci_mmio.c Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
pci.c Include unistd.h in pci.c to use usleep() 2022-05-20 13:46:29 +02:00
pci.h Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
pmem.c Fix the behaviour of sort_pm_map() (issue #392) 2024-04-09 20:07:09 +01:00
pmem.h Exclude copyright notices from Doxygen file descriptions. 2022-02-19 19:56:55 +00:00
reloc32.c Faster barrier implementation. 2022-02-28 22:05:21 +00:00
reloc64.c Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
screen.c Add the 64-bit and 32-bit CC flag 2024-07-22 22:50:15 +02:00
screen.h Add boot options to perform display rotation and set preferred screen resolution (#383) 2024-03-04 14:49:13 +01:00
serial.c Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
serial.h Add support for MMIO UART console (#300) 2023-05-12 15:49:00 +02:00
smbios.c Add the 64-bit and 32-bit CC flag 2024-07-22 22:50:15 +02:00
smbios.h Simple maintenance improvements (#145) 2022-08-15 17:51:48 +02:00
smbus.h Add support for Intel MTL & ARL CPUs (#441) 2024-09-30 13:38:13 +02:00
smp.c loongarch: Add 64-bit PCIe memory space mapping and change the stable timer as the main timer (#450) 2024-10-24 19:28:00 +02:00
smp.h Add initial NUMA awareness support (#378) 2024-03-13 01:43:26 +01:00
spd.c Split SPD parsing and printing code from smbus.c to spd.c (#426) 2024-08-08 02:41:19 +02:00
spd.h Split SPD parsing and printing code from smbus.c to spd.c (#426) 2024-08-08 02:41:19 +02:00
temperature.c Fix various temperature-related issues on older Atom CPUs 2023-05-18 16:03:48 +02:00
temperature.h Add Memory Controller Registers polling to get current DRAM Timings/Frequency (#306) 2023-05-12 15:33:28 +02:00
timers.c loongarch: Add 64-bit PCIe memory space mapping and change the stable timer as the main timer (#450) 2024-10-24 19:28:00 +02:00
timers.h Add ACPI Timer as the primary TSC correction source and PIT Timer as fallback 2022-06-19 16:39:03 +02:00
tsc.h loongarch: Add 64-bit PCIe memory space mapping and change the stable timer as the main timer (#450) 2024-10-24 19:28:00 +02:00
uhci.c Refactor the memrw functions to reduce the redundancy. (#415) 2024-07-16 08:55:13 +01:00
uhci.h Take ownership of all USB controllers before probing for devices. (#167) 2022-10-07 09:32:09 +01:00
usb.h Exclude copyright notices from Doxygen file descriptions. 2022-02-19 19:56:55 +00:00
usbhcd.c Add LoongArch support (#410) 2024-08-30 13:38:46 +02:00
usbhcd.h Fix EHCI and XHCI drivers to handle USB1 hubs (issue #156) 2022-09-08 18:09:43 +01:00
vmem.c Add option to map_region to indicate we only use the region during startup. 2022-02-28 22:05:21 +00:00
vmem.h Rework memory mapping to allow for larger program size (#54) 2022-04-28 23:04:01 +02:00
xhci.c Refactor the memrw functions to reduce the redundancy. (#415) 2024-07-16 08:55:13 +01:00
xhci.h Take ownership of all USB controllers before probing for devices. (#167) 2022-10-07 09:32:09 +01:00