diff options
author | Thomas Heijligen <thomas.heijligen@secunet.com> | 2021-12-14 16:36:05 +0100 |
---|---|---|
committer | Nico Huber <nico.h@gmx.de> | 2021-12-22 12:35:00 +0000 |
commit | 49d758698a0dd166679c48b1a2785e50e9b0cc83 (patch) | |
tree | b48b29bd4ccdc13543fab9685dc410a6a5be6613 /hwaccess.h | |
parent | 88c871e74cb9d8b6f6f38747d1caae916364e2a2 (diff) | |
download | flashrom-49d758698a0dd166679c48b1a2785e50e9b0cc83.tar.gz flashrom-49d758698a0dd166679c48b1a2785e50e9b0cc83.tar.bz2 flashrom-49d758698a0dd166679c48b1a2785e50e9b0cc83.zip |
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 <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/60110
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'hwaccess.h')
-rw-r--r-- | hwaccess.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -124,8 +124,6 @@ cpu_to_be(64) #if NEED_RAW_ACCESS == 1 && (defined (__i386__) || defined (__x86_64__) || defined(__amd64__)) -#include "hwaccess_x86_io.h" - #if !(defined(__MACH__) && defined(__APPLE__)) && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__) && !defined(__DragonFly__) && !defined(__LIBPAYLOAD__) typedef struct { uint32_t hi, lo; } msr_t; msr_t rdmsr(int addr); |