From 49d758698a0dd166679c48b1a2785e50e9b0cc83 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Tue, 14 Dec 2021 16:36:05 +0100 Subject: hwaccess: move x86 port I/O related code into own files Allow port I/O related code to be compiled independent from memory mapping functionality. This enables for a better selection of needed hardware access types. Change-Id: I372b4a409f036da766c42bc406b596bc41b0f75a Signed-off-by: Thomas Heijligen Reviewed-on: https://review.coreboot.org/c/flashrom/+/60110 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- tests/hwaccess_x86_io_unittest.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') diff --git a/tests/hwaccess_x86_io_unittest.h b/tests/hwaccess_x86_io_unittest.h index 2a4cd5f3c..14f3caa90 100644 --- a/tests/hwaccess_x86_io_unittest.h +++ b/tests/hwaccess_x86_io_unittest.h @@ -39,6 +39,8 @@ #include +int rget_io_perms(void); + /* * Dummy implementation of iopl from sys/io.h. * sys/io.h by itself is platform-specific, so instead of including -- cgit v1.2.3