From 4d94f56c6c5ba00d35d6b3e3a1862439b2ced3f0 Mon Sep 17 00:00:00 2001 From: Michel Stam Date: Mon, 7 Apr 2014 12:01:20 +0200 Subject: common: Allow for I/O mapped I/O Rework the current framework so that I/O mapped I/O resources are also possible. Signed-off-by: Michel Stam Signed-off-by: Sascha Hauer --- arch/x86/include/asm/io.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/x86') diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 9cb78e41ec..f020510569 100644 --- a/arch/x86/include/asm/io.h +++ b/arch/x86/include/asm/io.h @@ -12,6 +12,8 @@ #include +#define IO_SPACE_LIMIT 0xffff + static inline void outb(unsigned char value, int port) { asm volatile("outb %b0, %w1" : : "a"(value), "Nd"(port)); -- cgit v1.2.3