svn commit: r190919 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

John Baldwin jhb at freebsd.org
Mon Apr 13 15:29:07 UTC 2009


On Saturday 11 April 2009 10:01:01 am Ed Schouten wrote:
> Author: ed
> Date: Sat Apr 11 14:01:01 2009
> New Revision: 190919
> URL: http://svn.freebsd.org/changeset/base/190919
> 
> Log:
>   Simplify in/out functions (for i386 and AMD64).
>   
>   Remove a hack to generate more efficient code for port numbers below
>   0x100, which has been obsolete for at least ten years, because GCC has
>   an asm constraint to specify that.
>   
>   Submitted by:	Christoph Mallon <christoph mallon gmx de>

Hmm, it appears that you broke the DDB usage:

db> call inb(0x20)

Since the functions are now called 'inb_' and 'outb_'.  Perhaps the inline 
routines should be _inb() and _outb() and inb and outb should still be macros 
that wrap them that then get undefined in machdep.c for the functions used in 
DDB?

-- 
John Baldwin


More information about the svn-src-all mailing list