Physio in Xenix 386 drivers
David Beckemeyer
david at bdt.UUCP
Tue Aug 9 11:15:03 AEST 1988
I'm in the process of porting a Xenix driver from 286 to 386.
The memory mapping calls must be different but I haven't been
able to find it. The 286 code uses the following code to
map in a physical address:
int sel;
faddr_t base;
sel = dscralloc();
mmudescr(sel, 0xc0000, 0x4000, DSA_DATA);
base = sotofar(sel, 0);
This sets base to be a far pointer to the physical memory at 0xc0000
which is 16K (0x4000). How do I do the same thing with 386 Xenix?
--
David Beckemeyer (david at bdt.uucp) | "Don't call me Stupid!"
Beckemeyer Development Tools | "No. That would be an insult
478 Santa Clara Ave, Oakland, CA 94610 | to all the stupid people!"
UUCP: {unisoft,sun}!hoptoad!bdt!david | - A fish called Wanda
More information about the Comp.unix.xenix
mailing list