br & cvec (in VAX-device-drivers)

Chris Torek chris at mimsy.UUCP
Wed Mar 22 13:24:08 AEST 1989


In article <20718 at santra.UUCP> alo at kampi.hut.fi (Antti Louko) writes:
>What are the reasons for using registers r11 (br) and r10 (cvec) as
>global variables in the probe routines of VAX-BSD device-drivers.
>I think there must be some historical reasons for this practise.

Probably the original authors of autoconf (?<someone whose name I have
forgotten> and Michael C. Toy) just liked it that way.  4.4BSD will
probably use global variables.  (The source on okeeffe currently uses
both globals and r11/r10.  Yech.)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list