coreboot-kgpe-d16/src/arch/x86
Angel Pons b324df6a54 arch/x86: Provide readXp/writeXp helpers in arch/mmio.h
These p-suffixed helpers allow dropping pointer casts in call-sites,
which is particularly useful when accessing registers at an offset from
a base address. Move existing helpers in chipset code to arch/mmio.h and
create the rest accordingly.

Change-Id: I36a015456f7b0af1f1bf2fdff9e1ccd1e3b11747
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/51862
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2021-04-06 07:10:40 +00:00
..
acpi ACPI: Drop commented-out DSDT DefinitionBlock instances 2020-07-09 23:55:06 +00:00
include arch/x86: Provide readXp/writeXp helpers in arch/mmio.h 2021-04-06 07:10:40 +00:00
acpi.c src: Make HAVE_CF9_RESET set the FADT reset register 2020-07-20 13:23:13 +00:00
acpi_bert_storage.c acpi: Fix Coverity Scan report 2021-02-10 07:22:35 +00:00
acpi_s3.c ACPI: Final APM_CNT_GNVS_UPDATE cleanup 2021-01-04 23:16:03 +00:00
assembly_entry.S arch/x86/gdt: Work around assembler bug 2020-08-21 16:01:42 +00:00
boot.c arch/x86/boot: Jump to payload in protected mode 2020-08-19 09:06:43 +00:00
bootblock.ld arch/x86: Top-align .text in bootblock 2021-01-28 08:54:50 +00:00
bootblock_normal.c cbfs: Remove prog_locate() for stages and rmodules 2021-03-16 21:45:34 +00:00
c_exit.S arch/x86/boot: Jump to payload in protected mode 2020-08-19 09:06:43 +00:00
c_start.S memlayout: Store region sizes as separate symbols 2021-02-19 08:39:26 +00:00
car.ld memlayout: Store region sizes as separate symbols 2021-02-19 08:39:26 +00:00
cf9_reset.c
cpu.c src: use ARRAY_SIZE where possible 2021-02-15 11:30:40 +00:00
cpu_common.c
ebda.c src/arch: Remove unused <console/console.h> 2021-02-15 10:48:12 +00:00
exception.c src/arch: Drop unneeded empty lines 2020-08-24 09:16:19 +00:00
exit_car.S arch/x86/exit_car.S: Fix checking clflush support 2020-08-31 06:45:35 +00:00
gdt_init.S arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00
id.S arch/x86/id.S: Remove unneeded whitespace before tab 2021-02-11 10:22:07 +00:00
idt.S arch/x86: Support x86_64 exceptions 2020-07-05 19:56:09 +00:00
ioapic.c
Kconfig arch/x86: Remove most C_ENV_BOOTBLOCK_SIZE limits 2021-01-28 08:55:31 +00:00
Makefile.inc cpu/x86: Link entry32.inc 2021-01-28 08:53:07 +00:00
memcpy.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
memlayout.ld arch/x86: Top-align .init in bootblock 2021-01-28 08:54:21 +00:00
memmove.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
memset.c arch/x86: Add support for ASan to memory functions 2020-08-21 07:46:04 +00:00
mmap_boot.c coreboot tables: Add SPI flash memory map windows to coreboot tables 2020-12-08 22:56:09 +00:00
mpspec.c arch/x86/mpspec.c: Drop dead code 2020-07-12 19:31:21 +00:00
pirq_routing.c src/arch: Drop unneeded empty lines 2020-08-24 09:16:19 +00:00
post.c
postcar.c ach/x86/postcar.c: Avoid double CBMEM initialization 2021-01-21 11:03:04 +00:00
postcar_loader.c cbfs: Remove prog_locate() for stages and rmodules 2021-03-16 21:45:34 +00:00
rdrand.c
smbios.c mb/ocp/deltalake: Fill ECC type in romstage 2021-03-01 08:22:28 +00:00
smbios_defaults.c arch/x86/smbios_defaults.c: Default to motherboard type 2021-03-12 15:36:09 +00:00
tables.c src: Remove unused 'include <bootstate.h>' 2020-06-02 07:40:35 +00:00
thread.c
thread_switch.S
timestamp.c
timestamp.inc
verstage.c
wakeup.S
walkcbfs.S arch/x86: Move prologue to .init section 2021-01-07 11:02:03 +00:00