inb parameter physical/Virtual.

Hi all,

I am into writing Linux device drivers. I have a query regarding usage
of inb, outb instruction in the drivers.

What is the address we need to pass to inb, oub instructions? I mean, Is
it a Physical address or a Virtual address?


Regards,
Mukund jampala








-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
mukundjb [ Di, 12 April 2005 07:06 ] [ ID #741411 ]

Re: inb parameter physical/Virtual.

On Apr 12, 2005 10:51 AM, Mukund JB. <mukundjb [at] esntechnologies.co.in> wrote:
>
> Hi all,
>
> I am into writing Linux device drivers. I have a query regarding usage
> of inb, outb instruction in the drivers.
>
> What is the address we need to pass to inb, oub instructions? I mean, Is
> it a Physical address or a Virtual address?
>
> Regards,
> Mukund jampala

No,
It is I/O port address. It is different from Memory address. In x86,
I/O Port addresses are 16bit.

Regards
Manish Regmi

--
---------------------------------------------------------
"Owning a hammer doesn't make one an architect"
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo [at] vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
manish regmi [ Di, 12 April 2005 13:39 ] [ ID #741414 ]
Linux » gmane.linux.newbie » inb parameter physical/Virtual.

Vorheriges Thema: help on dmesg output
Nächstes Thema: 3d graphics in X