inb parameter physical/Virtual.

inb parameter physical/Virtual.

am 12.04.2005 07:06:57 von mukundjb

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@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

Re: inb parameter physical/Virtual.

am 12.04.2005 13:39:08 von manish regmi

On Apr 12, 2005 10:51 AM, Mukund JB. 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@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