Path: utzoo!mnetor!uunet!husc6!bbn!rochester!rutgers!bellcore!faline!ulysses!gamma!pyuxp!rruxa!bjr From: bjr@rruxa.UUCP (Neal Ginsberg) Newsgroups: comp.sys.att Subject: UNIX PC DEVICE-DRIVER HELP NEEDED Message-ID: <363@rruxa.UUCP> Date: 19 Jan 88 00:27:58 GMT Organization: Bell Communications Research Lines: 23 Keywords: 3B1 UNIXPC DEVICE-DRIVER MEMORY-ALLOC 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