Re: ioperm question
From: Antoine Mathys (Antoine_DOT_Mathys_at_unifr_DOT_ch)
Date: 06/19/03
- Next message: seemanta dutta: "some unanswered questions on C"
- Previous message: Eric Sosman: "Re: write lock starvation"
- In reply to: spyros: "ioperm question"
- Next in thread: spyros: "Re: ioperm question"
- Reply: spyros: "Re: ioperm question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 19 Jun 2003 23:18:26 +0200
> ...
> int ioperm(unsigned long from, unsigned long num, int turn_on);
> ...
> My question is: can someone explain to me what a port is?
A port is an adress in the separate address space used for devices
communicating over the system bus.
> How many bytes
> does it have?
1 to 4.
> How do I know how many ports a device has?
This vary for every device. Consult the documentation. Usually, if a
device use, say, three ports, there will be consecutive but the number
of the first one may be set to anything (though there are defaults).
> Is there a
> difference between the ports of my ,say, parallel connector and my
> serial one? Differences between my serial connector and my sound card
> port?
No.
> I'm totally confused...
Indeed. What are you trying to do ?
A.M.
- Next message: seemanta dutta: "some unanswered questions on C"
- Previous message: Eric Sosman: "Re: write lock starvation"
- In reply to: spyros: "ioperm question"
- Next in thread: spyros: "Re: ioperm question"
- Reply: spyros: "Re: ioperm question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|