DEC Email Addresses (was Re: electronic SPR)
George Robbins
grr at cbmvax.UUCP
Wed Aug 23 21:18:32 AEST 1989
In article <922 at sdcc12.ucsd.EDU> xm13 at sdcc12.ucsd.edu.UUCP (warren young) writes:
>
> I have been trying to make a new Ultrix 3.0 kernel for a non-Digital
> device driver. The make has succeeded in the past with v1.2 and
> 2.2, but oddly with 3.0, certain common kernel I/O routines are not
> found. Everything compiles fine as usual, but when loading,
> routines such as copyin, copyoutl splx, splclock cannot be found.
> I've gone through every conceivable object file and archive with
> strings and grep looking for clues on the missing files, and find
> nothing except comments to copyin and copyout in /usr/sys/h/ms.h and
> in /usr/sys/vax/inline/inline. A call to Ultrix support group
> does not help too much. And the local guys don't understand.
Life can get amusing.
> What's going on? Does anyone know where these are so I can load
> them in? Why did it change?
It looks like the Ultrix folks have adoped the BSD vax/inline type
program that uses an extra processing step between the C compiler
and the assembler to replace commonly used subroutines by inline
code. Luckily, it appears that the inline program is provided and
there are some prototype lines in the makefile that show how to use
the inline program.
If everything is working, you should be able to put your source file
in /sys/vaxuba (or whichever), create a file named /sys/conf/files.YOURSYS
with a line in it for your driver and do a make. If not, then you're
going to have to wing it. Note that there have been changes in the kernel
"memory allocation" routines, so you might have to change your driver
source if you get into these.
To see what routines are implemented by the inline program, try:
strings /usr/include/vax/inline/inline | grep '^[0-9][a-f],_' | more
Have fun!
--
George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing arpa: cbmvax!grr at uunet.uu.net
Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)
More information about the Comp.unix.ultrix
mailing list