| Index: hwaccess.h
|
| diff --git a/hwaccess.h b/hwaccess.h
|
| index 63a2bf2507dc3ba1b38668e91ef57e1800a94b83..36cd6bf44bf286e3a70d358813b7491c0eaf20f1 100644
|
| --- a/hwaccess.h
|
| +++ b/hwaccess.h
|
| @@ -24,7 +24,7 @@
|
| #ifndef __HWACCESS_H__
|
| #define __HWACCESS_H__ 1
|
|
|
| -#if defined (__i386__) || defined (__x86_64__)
|
| +#if defined (__i386__) || defined (__x86_64__) || defined(__arm__)
|
| #if defined(__GLIBC__)
|
| #include <sys/io.h>
|
| #endif
|
| @@ -326,6 +326,10 @@ int libpayload_wrmsr(int addr, msr_t msr);
|
|
|
| /* PCI port I/O is not yet implemented on MIPS. */
|
|
|
| +#elif defined(__arm__)
|
| +
|
| +/* Non memory mapped I/O is not supported on ARM. */
|
| +
|
| #else
|
|
|
| #error Unknown architecture, please check if it supports PCI port IO.
|
|
|