coreboot-kgpe-d16/src/arch/x86
Matt DeVillier 7866d497ad arch/x86/acpi: Add DMAR RMRR helper functions
Add DMAR RMRR table entry and helper functions, using the existing
DRHD functions as a model. As the DRHD device scope (DS) functions
aren't DRHD-specific, genericize them to be used with RMRR tables as
well. Correct DRHD bar size to match table entry in creator function,
as noted in comments from patchset below.

Adapted from/supersedes https://review.coreboot.org/25445

Change-Id: I912b1d7244ca4dd911bb6629533d453b1b4a06be
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/27269
Reviewed-by: Youness Alaoui <snifikino@gmail.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Jay Talbott <JayTalbott@sysproconsulting.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2018-06-30 09:02:56 +00:00
..
acpi arch/x86/acpi/statdef.asl: Remove unnecessary whitespace 2018-02-02 16:08:16 +00:00
include arch/x86/acpi: Add DMAR RMRR helper functions 2018-06-30 09:02:56 +00:00
acpi.c arch/x86/acpi: Add DMAR RMRR helper functions 2018-06-30 09:02:56 +00:00
acpi_device.c acpi: device: Walk up the tree to find identifier 2018-05-28 16:08:23 +00:00
acpi_pld.c acpi: Add support for writing ACPI _PLD structures 2018-05-11 09:00:33 +00:00
acpi_s3.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
acpigen.c arch/x86/acpigen: Fix corner case in _ROM generator 2018-05-18 12:19:43 +00:00
acpigen_dsm.c arch/x86/acpigen: Fix acpigen for If (Lequal (...)) 2016-11-16 01:08:06 +01:00
assembly_entry.S arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
boot.c arch/x86: Fix payload loading via bounce-buffer 2018-06-12 07:44:08 +00:00
bootblock.ld tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
bootblock_crt0.S arch/x86: Support "weak" BIST and timestamp save routines 2016-06-11 19:22:42 +02:00
bootblock_normal.c Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
bootblock_romcc.S arch/x86: Rename bootblock.S to bootblock_romcc.S 2016-01-30 03:11:12 +01:00
bootblock_simple.c Port cmos.default handling to C environment bootblock 2017-07-26 19:30:01 +00:00
c_start.S arch/x86: allow idt to be available to link in all stages 2018-04-26 15:17:08 +00:00
car.ld arch/x86: Increase TIMESTAMP region size to 0x200 2018-05-18 20:10:59 +00:00
cbfs_and_run.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
cbmem.c arch/x86: Remove unneeded includes 2018-06-04 08:41:55 +00:00
cpu.c arch/x86/cpu.c: Remove unneeded headers 2018-05-04 10:14:10 +00:00
cpu_common.c arch/x86: Remove unneeded includes 2018-06-04 08:41:55 +00:00
ebda.c arch/x86: initialize EBDA in S3 and S0/S5 path 2017-10-16 16:56:19 +00:00
exception.c arch/x86: Print CPU Index and APIC ID in case of exception 2018-05-02 01:39:34 +00:00
exit_car.S arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
failover.ld arch/x86: rename reset_vector -> _start 2016-03-04 01:16:05 +01:00
gdt.c arch/x86/gdt: Move variable assignment down 2017-11-03 15:20:15 +00:00
gdt_init.S arch/x86: Relocate GDT in verstage, romstage, and postcar 2018-05-03 04:40:58 +00:00
id.ld arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
id.S arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
idt.S arch/x86: remove nop padding from exception vectors 2018-04-26 15:18:57 +00:00
ioapic.c ioapic: extend definition name to avoid collision 2018-04-09 09:29:51 +00:00
Kconfig arch/x86: Always select RELOCATABLE_MODULES 2018-06-06 12:29:57 +00:00
Makefile.inc arch/x86: include verstage.c only when verstage is a separate stage 2018-06-28 09:02:20 +00:00
memcpy.c arch/x86: add missing license headers 2016-01-14 23:37:06 +01:00
memlayout.ld arch/x86: Use fixed size limit with RELOCATABLE_RAMSTAGE 2018-06-06 10:36:04 +00:00
memmove.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
memset.c arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00
mmap_boot.c arch/x86: Fix most of remaining issues detected by checkpatch 2017-03-20 16:36:24 +01:00
mpspec.c x86/mpspec: order the I/O APICs by the APIC Id 2018-04-30 06:22:46 +00:00
pci_ops.c Move pci_ops_mmconf from arch/x86/ to device/ 2018-05-08 03:01:35 +00:00
pci_ops_conf1.c arch/x86: Remove unneeded includes 2018-06-04 08:41:55 +00:00
pirq_routing.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
postcar.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
postcar_loader.c arch/x86: Introduce postcar_frame_add_romcache() 2018-06-04 08:20:35 +00:00
prologue.inc tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
rdrand.c arch/x86: Make rdrand.c clang friendly 2017-06-22 04:11:02 +00:00
smbios.c arch/x86/smbios: Conditionally call SMBIOS ops 2018-06-07 06:38:07 +00:00
stages.c tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
tables.c lib/bootmem: Introduce custom bootmem tags 2018-04-30 09:33:49 +00:00
thread.c arch/x86: Fix space issues detected by checkpatch 2017-03-17 03:17:39 +01:00
thread_switch.S tree: drop last paragraph of GPL copyright header 2015-10-31 21:37:39 +01:00
timestamp.c compiler.h: add __weak macro 2018-04-24 14:37:59 +00:00
verstage.c vboot: Remove CHIPSET_PROVIDES_VERSTAGE_MAIN_SYMBOL Kconfig option 2017-03-28 22:14:03 +02:00
wakeup.S arch/x86: remove .intel_syntax 2016-01-23 17:01:44 +01:00
walkcbfs.S arch/x86: Wrap lines at 80 columns 2017-03-17 03:18:24 +01:00