UBA_NEED16 & 4.2BSD in uballoc()

David Herron, NPR Lover david at ukma.UUCP
Tue Aug 20 15:20:00 AEST 1985


I'm still writing that device driver ...  :-)

I was poking around in uba.c and friends to understand what happens there.
I saw this flag in ubavar.h, UBA_NEED16, which is supposed to be if
you need 16 bit addresses.  But I can't find the code where this is
supported!

I would expect this to return unibus map pointers in the bottom 64k
of the unibus space.  Looking around, I can see three places where
it's used in ../vaxif.  But it just gets passed on down to uballoc()
in the flags argument then promptly ignored.  There's no lower level
routines than uballoc(), so it can't be hiding on me.

How can this work?  Or do the people that do this just serendipitously
get the correct addresses already?  Or what?

	Confusedly yours,
-- 
--- David Herron
--- ARPA-> ukma!david at ANL-MCS.ARPA
--- UUCP-> {ucbvax,unmvax,boulder,oddjob}!anlams!ukma!david
---        {ihnp4,decvax,ucbvax}!cbosgd!ukma!david

Hackin's in me blood.  My mother was known as Miss Hacker before she married!



More information about the Comp.unix.wizards mailing list