summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-06-22 09:00:15 +1000
committerNico Huber <nico.h@gmx.de>2021-06-26 11:54:32 +0000
commit4abb62c4ac1f25e40f2569535322342b9c939558 (patch)
tree2eb431e5a11f228ea4c35f4f6d4cca4856f2b6f6 /layout.c
parent20ff3d464ba20b385b84aa0eb132eeff3345accc (diff)
downloadflashrom-4abb62c4ac1f25e40f2569535322342b9c939558.tar.gz
flashrom-4abb62c4ac1f25e40f2569535322342b9c939558.tar.bz2
flashrom-4abb62c4ac1f25e40f2569535322342b9c939558.zip
hwaccess_x86_io_unittest: Add dummy iopl to avoid including sys/io.h
sys/io.h is platform specific, and also in tests environment we don't need real functions anyway. Adding dummy implementation of iopl is sufficient for tests. The rest of io is not needed because hwaccess_x86_io_unittest.h re-defines macros OUTB/INB/etc and those macros evaluate to test-only functions. This is a follow up on commit 21e22ba8a7750f1cfe5cd3323e3137695ffef0a4 which introduced hwaccess_x86_io_unittest.h BUG=b:181803212 TEST=builds and ninja test on x86 (same as before) Change-Id: I3f2f0408be7c00f954b899031b52b2b97ef19ca3 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55741 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'layout.c')
0 files changed, 0 insertions, 0 deletions