[comp.unix.xenix] Xenix 386 device driver questions

turtle@sdsu.UUCP (Andrew Scherpbier) (04/14/88)

I have a Zenith-386 box with a Zenith-449 EGA graphics card running
Xenix 2.2.2
I want to start writing device drivers for xenix, so I typed in the
sample device driver for a Memory-Mapped Video Driver.  However,
when I tried to link it into the kernel, there were two unresolved
externals: _mmudescr and _dscralloc
I need those routines to address physical memory locations.
Is this sample device driver only for 286 boxes?  Does the 386
use different ways of getting absolute memory? (ie: go through the
page tables by hand)  In general, NOW WHAT?
Replies are greatly appreciated!

-Andrew

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"I sometimes get the feeling that   |  Andrew Scherpbier
 things cannot possibly get worse...|  Computer Science Department
 and sure enough, they do."         |  San Diego State University
	-Don Perkins Jr.            |  ihnp4!jack!sdsu!turtle