[comp.sys.att] UNIX PC DEVICE-DRIVER HELP NEEDED

bjr@rruxa.UUCP (Neal Ginsberg) (01/19/88)

Call for Help!!!!

I am trying to write/install/debug a device driver for the UNIX PC (read 3B1 or
7300) and need a little help in a few areas. I'm running UNIX 3.5  :-) .

1) How do I allocate blocks of memory in the driver, malloc() is not
   available (lddrv says its undefined when it tries to load).
2) Given that I somhow allocate ( dynamic or static ) memory, how do
   I reference it when copying to/from the kernel disk buffers? Is
   some mapping/translation routine needed.
3) Aside from my major problem above, lddrv gives me this error when I
   'lddrv -av -o foo.o foo' :
   Offending Msg-> BIND Failed: Invalid argument
   Argument to What?

Please post any responses, I do not have regular access to usenet & am a guest
here.

BTW. Anybody in/near Hillsborough/Bridgewater NJ that could help me get
     hooked up to Usenet - I'd be in your debt forever! (:-)

Paul Stevens	Voice 201-367-6777