From 91f1423cac0460ab79492a9c167765359b9dd3e2 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 7 Dec 2012 16:55:12 -0800 Subject: Fix Yabel compilation on non-x86 platforms Mostly preventing inb/outb being used on non-x86 Change-Id: I0434df4ce477c262337672867dc6ce398ff95279 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/2002 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/device/oprom/include/io.h | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/device/oprom/include/io.h (limited to 'src/device/oprom/include') diff --git a/src/device/oprom/include/io.h b/src/device/oprom/include/io.h new file mode 100644 index 0000000000..d9b2139b7e --- /dev/null +++ b/src/device/oprom/include/io.h @@ -0,0 +1,9 @@ +void outb(u8 val, u16 port); +void outw(u16 val, u16 port); +void outl(u32 val, u16 port); + +u8 inb(u16 port); +u16 inw(u16 port); +u32 inl(u16 port); + + -- cgit v1.2.3