mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 10:48:48 +00:00
Recommit: compiler.h: don't define inb/outb and friends on mips
From Julien Cristau 0148a15da1616a868d71abe1b56e3f28cc79533c in xserver git without arm_video.c changes. OK matthieu@
This commit is contained in:
@@ -518,14 +518,10 @@ xf86WriteMmio32Le(__volatile__ void *base, const unsigned long offset,
|
||||
barrier();
|
||||
}
|
||||
|
||||
#elif defined(__mips__) || (defined(__arm32__) && !defined(__linux__))
|
||||
#if defined(__arm32__) || defined(__mips64)
|
||||
#elif defined(__arm32__) && !defined(__linux__)
|
||||
#define PORT_SIZE long
|
||||
#else
|
||||
#define PORT_SIZE short
|
||||
#endif
|
||||
|
||||
_X_EXPORT unsigned int IOPortBase; /* Memory mapped I/O port area */
|
||||
extern _X_EXPORT unsigned int IOPortBase; /* Memory mapped I/O port area */
|
||||
|
||||
static __inline__ void
|
||||
outb(unsigned PORT_SIZE port, unsigned char val)
|
||||
|
||||
Reference in New Issue
Block a user