NNTP-Posting-Host: 212.140.3.87
Newsgroups: comp.os.minix
Date: Tue, 13 Jun 2000 10:28:23 -0400
Message-ID: <642A954DD517D411B20C00508BCF23B0012AFC13@mail.sauder.com>
From: "Tina" <tamtina@hotmail.com>
Subject: Minix Assignment
Organization: RemarQ http://www.remarQ.com
Lines: 21
X-Trace: 960906341 LGTBT6QCL0357D48CC uk25.supernews.com
X-Complaints-To: newsabuse@remarq.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Path: news.adfa.oz.au!clarion.carno.net.au!news0.optus.net.au!news1.optus.net.au!optus!news.mel.connect.com.au!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.cwix.com!cyclone.tampabay.rr.com!attor1!attmtf!attcg2!news.sauder.com!attcg1!news.bcs.moore.com!attbt1!ip.att.net!news.ti.com!news.smu.edu!news.tamu.edu!bloom-beacon.mit.edu!howland.erols.net!news.pbi.net.MISMATCH!cyclone-transit.snfc21.pbi.net!216.218.192.242!news.he.net!sn-xit-03!supernews.com!sn-inject-01!not-for-mail
Xref: news.adfa.oz.au comp.os.minix:35442

Hi,

I have an assignment in Minxu, since I am a new learner in Minxu, I totally
don't know how to do, does any body can give me some idea how to do this
assignment.

Add a new device driver, for an imaginary device of your own. You will need
a test program which 'uses' this new device.
-use the same message interface as existing drivers.
-put driver code in /kernel directory and update makefile
-in kernel /table.c a list of entry points is contained in array task add a
new one
-h /const.h  - add 1 to NR_TASKS
-h/com.h    - give new task a name
-add a line to / dev in tools/proto.ram (to create a new special file)
-add a line to array dmap in fs/table.c (to connect task to special file)

Thank you very much !



