Re: About inb, outb, .... !

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is how outb is defined, you can look in io.h to see how the others are 
done.

#define __OUT(s,s1,x) \
__OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "Nd" (port)); } \
__OUT1(s##_p,x) __OUT2(s,s1,"w") __FULL_SLOW_DOWN_IO : : "a" (value), "Nd" 
(port));} 

__OUT(b,"b",char)




On Sunday 26 January 2003 10:04 pm, Anticipating a Reply wrote:
> Hi !
>
>   Well I looked into the file
> /usr/src/linux/include/asm-i386/io.h
>
>   It only has the comment that the outb, inb, outb_p,
> inb_p are defined here , but I did not
> find it there .
>
>   Please send me the part which defines them .
>
> Thanks !
>
>  --- John Levon <levon@movementarian.org> wrote: > On
> Sat, Jan 25, 2003 at 09:43:59AM +0000,
>
> > Anticipating a Reply wrote:
> > >  Sorry ! But I could not find the definition
> > > of outb, inb, outb_p, inb_p , etc  for
> > > x-86 architecture .
> >
> > include/asm-i386/io.h
> >
> > regards
> > john
> > --
> > " It is quite humbling to realize that the storage
> > occupied by the longest line
> > from a typical Usenet posting is sufficient to
> > provide a state space so vast
> > that all the computation power in the world can not
> > conquer it."
> > 	- Dave Wallace
>
> ________________________________________________________________________
> Missed your favourite TV serial last night? Try the new, Yahoo! TV.
>        visit http://in.tv.yahoo.com

-- 
Tom Bradley
Software Engineer
Jaycor / Titan Systems

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux