Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 335000 Details for
Bug 447152
Various x11-drivers/xf86-video-* fails on IA64 with: error: impossible register constraint in 'asm'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix_inx_outx.patch
fix_inx_outx.patch (text/plain), 1.70 KB, created by
Chí-Thanh Christopher Nguyễn
on 2013-01-09 21:54:45 UTC
(
hide
)
Description:
fix_inx_outx.patch
Filename:
MIME Type:
Creator:
Chí-Thanh Christopher Nguyễn
Created:
2013-01-09 21:54:45 UTC
Size:
1.70 KB
patch
obsolete
>diff -r --context xorg-server-1.12.3/hw/xfree86/common/compiler.h xorg-server-1.12.3-fix/hw/xfree86/common/compiler.h >*** xorg-server-1.12.3/hw/xfree86/common/compiler.h 2012-07-06 07:17:19.000000000 +0200 >--- xorg-server-1.12.3-fix/hw/xfree86/common/compiler.h 2012-08-29 00:14:39.000000000 +0200 >*************** >*** 421,426 **** >--- 421,474 ---- > #include <machine/pio.h> > #endif /* __NetBSD__ */ > >+ #elif defined(linux) && defined(__ia64__) >+ /* for Linux on ia64, we use the LIBC _inx/_outx routines */ >+ /* note that the appropriate setup via "ioperm" needs to be done */ >+ /* *before* any inx/outx is done. */ >+ >+ extern _X_EXPORT void _outb(unsigned char val, unsigned long port); >+ extern _X_EXPORT void _outw(unsigned short val, unsigned long port); >+ extern _X_EXPORT void _outl(unsigned int val, unsigned long port); >+ extern _X_EXPORT unsigned int _inb(unsigned long port); >+ extern _X_EXPORT unsigned int _inw(unsigned long port); >+ extern _X_EXPORT unsigned int _inl(unsigned long port); >+ >+ static __inline__ void >+ outb(unsigned long port, unsigned char val) >+ { >+ _outb(val, port); >+ } >+ >+ static __inline__ void >+ outw(unsigned long port, unsigned short val) >+ { >+ _outw(val, port); >+ } >+ >+ static __inline__ void >+ outl(unsigned long port, unsigned int val) >+ { >+ _outl(val, port); >+ } >+ >+ static __inline__ unsigned int >+ inb(unsigned long port) >+ { >+ return _inb(port); >+ } >+ >+ static __inline__ unsigned int >+ inw(unsigned long port) >+ { >+ return _inw(port); >+ } >+ >+ static __inline__ unsigned int >+ inl(unsigned long port) >+ { >+ return _inl(port); >+ } >+ > #elif (defined(linux) || defined(__FreeBSD__)) && defined(__amd64__) > > #include <inttypes.h>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 447152
:
332244
| 335000 |
335002