Question concerning driver development - I/O Port addresses

I am developing a driver for an EISA card under QNX 4.25. The card
uses
jumper settings for I./O port address, DMA and IRQ. I have surveyed
the
IRQs used with sin irqs and read the section on developing and
attaching
an ISR. I have perused memory with sin memory. Having come from the
rather pampered Windows 9X and NT environment, I would like to know
how
one might determine which I/O port addresses are in use (short of
brute
force reading memory), and which DMAs are used (short of reading the
documents of each card in the machine). Does QNX have any calls for
this
purpose?

My second question concerns the memory regions displayed in sin
memory.
What exactly are selector and limit? The terms are used but not
defined
(or did I miss something in the docs?). Thanks in advance for any help

that you might be able to give me.

Douglas Reed

“Douglas Reed” <dreed@guise.com> wrote in message
news:3BC359AF.A4863DC4@guise.com

I am developing a driver for an EISA card under QNX 4.25. The card
uses
jumper settings for I./O port address, DMA and IRQ. I have surveyed
the
IRQs used with sin irqs and read the section on developing and
attaching
an ISR. I have perused memory with sin memory. Having come from the
rather pampered Windows 9X and NT environment, I would like to know
how one might determine which I/O port addresses are in use (short of
brute force reading memory),

You cannot, even with “brute force”.

and which DMAs are used (short of reading the
documents of each card in the machine).

You cannot.

Does QNX have any calls for this purpose?

No

My second question concerns the memory regions displayed in sin
memory.

What exactly are selector and limit? The terms are used but not
defined (or did I miss something in the docs?). Thanks in advance for any
help
that you might be able to give me.

I’ll let other answer that question. In all those years I’ve never had a
use
for sin mem :wink: However I can recommand reading documentation about
Intel CPU and the implementation of virtual memory.

Douglas Reed

begin 666 Shortcut to phindows.lnk
M3 $4`@``````P ```````$:[( .".J:O3-L$!`&"R"8E,P0$` M)JI_=QO!`0#0`@```````0```````````````````(@`% `?4.!/T"#J.FD0 MHM@(`"LP,)T9`"-#.EP``````````````````````#&$)0`Q```````F*\X! M$0!0<F]G<F%M($9I;&5S`%!23T=207XQ`!@`,0``````)BL<9Q `<&AI;F1O M=W,``!P`,@``@@(`%".T=2 `<&AI;F1O=W,N97AE`````%4````<`````0`` M`!P````M`````````%0````1`````P````H;-0P0`````$,Z7%!R;V=R86T@ M1FEL97-<<&AI;F1O=W-<<&AI;F1O=W,N97AEU"X+@!<"X+@!<"X
M+@!<"X+@!<"X+@!<"X+@!<% <@!O&<<@!A&T( !&&D; !E
M',7 !P&@:0!N&0;P!W',7 !P&@:0!N&0;P!W',+@!E'@
M909$,.@!<% <@!O&<<@!A&T( !&&D; !E’,7 !P&@:0!N M&0;P!W’,$@M'0,0Y#(+@Q#8. N#(+@R#,( M&`
6,00````!0``H"8```!2````````````
end