File:  [Apple Darwin 0.x] / driverkit / doc / OLD_NRW / NRWDeviceDriverTOC.frame
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:37:51 2018 UTC (8 years, 2 months ago) by root
Branches: MAIN, Apple
CVS tags: HEAD, Darwin03, Darwin02
Darwin 0.2 Driver Kit

<MakerFile 2.0J>
	

Aa�
�2�ffmnnrosppHH	$	d$�
	dFootnote*��. � �T� 0[�Su6[
5E756
)
9
)
-
�Su
.rip
3
�
4
�
�
�
�
-
�
�
3
�sT
�
�
<$curpagenum>
�<$lastpagenum>Sy
�"<$monthnum>/<$daynum>/<$shortyear>la
�<$monthname> <$daynum>, <$year>
�;<$monthname> <$daynum>, <$year> <$hour>:<$minute00> <$ampm>
�"<$monthnum>/<$daynum>/<$shortyear>
�<$monthname> <$daynum>, <$year>
�"<$monthnum>/<$daynum>/<$shortyear>
�	<$fullfilename>
�
<$filename>
�<$paranum[ChapterNum]>
�<$paratext[ChapterTitle]>
�
<$paratext[1Head]>
�
<$marker1>
�StatusPRELIMINARYPage #page <$pagenum>rFiHeading & Page<$paratext> on page <$pagenum>
Figure Number
<$paranum>Heading$<$paratext>Pagepage <$pagenum>Section & Page%section <$paranum> on page <$pagenum>������A���TA������[A����[
���57���A�������Au�������TOC��	=	9
3�	a�	��	�$cu		�		c$la		b>Sy		�$mo		�$da		�hor		��		�thn			�ynu	
	�r>		�$mo		�<$d	
	�$ye		�r>:		�0> 		��		�thn		�num		�yea		�		�me>		�>, 		��		�thn		�num		�yea		�		�ena		�		�e>		�$pa	 	�pte	!	��	"	�ate	#	�rTi	$	��
	%	�ate	&	�>	'	�$ma	(	��	)	�PR	*	�	+	�	,	�pa	-	�	.	�He	/	�age	0	�ext	1	� <$	2	�	3	�Num	4	�ara	5	�He	7	�$pa���d�5io��mrad�5���sAHH���6��HH��� 
����UT`�	��d�5��q�$6��6��	$6�� 	�URUR��`�	�SyH��X�
�6��H��X�
� >	�������h�	�_NRW Device Driver Guide                              
38/6/91
4       COMPANY CONFIDENTIAL
	� ������`		�
�+������`		��H�UX�
�6���	�H�UX�
� te����UT`		�	�eH$�
�6��teH$�
� 	�����UT`		�d�5od�5��p$6��6�$6��ra(����UT`		�
>����UT`	4	�Table of Contents
YUJUR��`		�	�	�Introduction 3
fUEUR��`		�
	�	�Scope 3
TsU@UR��`		�	�	�Overview 3
�U;UR��`		�.	�	�libDev - Standard IODevice Classes 5
�U6UR��`		�	�	�IODevice 5
�U1UR��`		��	�	�IODiskDevice 13
6�U,UR��`		�	�	�IONetDevice 19
�U'UR��`		�	�6	�	�libIO - Kernel/User Compatibility Library 21
�U"UR��`		� 	�	�Purpose 21
MP�UUR��`		�	�	�	�Implementation 21
���UUR��`		�	�	�Thread Functions 22
��UUR��`		�	�	�Timer Functions 23
te�UUR��`		�	�(	�	�Memory Allocation Functions 25
U	UR��`		�$	�	�Miscellaneous Functions 26
UTUUR��`		�	�	�XPR Functions 28
T�UR��`		�1	�	�The Thread Based Model of Device I/O 33
�)T�UR��`	 	�	�	�Overview 33
6T�UR��`	!	�#	�	�Interrupt Notification 34
��CT�UR��`	"	�
#	�	�One Device, One Thread 34
ts
PT�UR��`	#	� 	�	�Simple Thread Model 35
UR]T�UR��`	$	�	(	�	�Kernel-Level Driver Support 40
OvjT�UR��`	%	�UR	�	�Device Ports 40
vwT�UR��`	&	�ce	�	�Register Mapping 40
�T�UR��`	'	�  	�	�Initialization RPCs 41
IO�T�UR��`	(	�U,	�	�Operational RPC's 47
�T�UR��`	)	�UR	�	�Privileged RPC�s 51
e�T�UR��`	*	�il	�	�Autoconfiguration 55
�T�UR��`	+	�os)	�	�User Level Autoconfiguration 55
m�T�UR��`	,	�U+	�	�Kernel Level Autoconfiguration 61
2
��T�UR��`	-	�	�	�Code Examples 64
�T�UR��`	.	�		�	�I/O Thread Example 64
unc�T�UR��`	/	�UR/	�	�Driver Initialization - User Level 73

UT�T�UR��`	0	�1	�	�Driver Initialization - Kernel Level 77
	T�UR��`	1	�as	�	�Get/Set Parameters 81
URT�UR��`	2	�	'	�	�Libraries and Header Files 83
	 T�UR��`	3	�ca	�	�Libraries 83
-T�UR��`	5	�On	�	�Header Files 83

:T�UR��`	7	�	�	�Revision History 843d�5Ke��norH��X�
�6��	H��X�
�	Re������h		�
]NRW Device Driver Guide                           
-9/24/91
.       COMPANY CONFIDENTIAL
a ������`		�UR�$6��6�� $6�� ignURUR��`		�	+sd�5ti��r	,$6��6��fi$6�� 	 EURUR��`		�UR�H��X�
�6��leH��X�
� eral������`			�elWNRW Device Driver Guide                             7/30/91       COMPANY CONFIDENTIAL
�� ������`	
	�Ge
e+������`		�UR�HH���6�s HH��� ca	URUR��`		�T�<$paratext> <$pagenum>
HeUMUR��`	
	�T�<$paratext> <$pagenum>
Re.UHUR��`		�3m}tdm�KeLeftdnq��XRight6dos��X	Referencedp�dqnr�NRLeftBlankFooterudrq�  RightNo1Headdso�IDTOCL	a	�	�7�@	a	�$
Body�@	b	�
��Header�@	c	�H
��Footer~~$

�@	d	� 
   �NFEN��������FunctVarDesc	��$
�@	e	�P�
�UR��T�<$Vxt <�um	TableHead	TableBodyextl$$

�@	f	�A^��XRil6WarningBold\tWarning:\tBody~~$
�@	g	�tBl �He�o�BodyIndented�l$

�@	h	�qo�
FctLibrary	LIBRARY\tFctSynopsisll$

�@	i	�l~��	��Bodyll$

�@	j	�rNoteBoldNote:  ll$
�@	k	�P
	GlossTermGlossDef�@	l	�
	v�um�blea�
FooterLeft
�@	m	�PFigureFigureTitleBoll$�@	n	�P
FctSubHeadBodyIndented~~$
�@	o	�pl
���
HeaderFileFunctionll$
�@	p	�P

TroubleshootingBodyHH$

�@	q	�

FctHeadShortll$
�@	r	�CaeFig1CaptionDefault   FontC:Figure <n>-<n=1>Body~l$�@	s	�~
���BulletShortm�\tall$�@	t	�CQ�
ChapterNum
C:Chapter <n>uChapterTitlell$
�@	u	�Ca
FigCaptionDefault   FontC:Figure <n>-<n+>Body��$

�@	v	���
�Fi
BodyIndented2i�~$

�@	w	�NAr�in�dy��Num1Long
N:<n=1>.\t
NumberLong~l$

�@	x	�~���
BulletLong�\t$$$'
�@	y	�P$
1HeadBody�~$

�@	z	�Na���@�NumLong	N:<n+>.\t�@	{	�u	�v�@	��FooterRightll$

�@	|	�C:TipBoldTip:  �l$
�@	}	�q�y�
FctSummary	SUMMARY\t
FctLibrary��$
�@	~	� r�ngV<n>.�mb	TableBodylll$A�@		�pChapterTitleBody��$	�	��	
CodeExamp3HH$'
�@	�	�P�

2HeadBodyall$'
�@	�	�PumL
3HeadBody	�ll$'
�@	�	�P
4HeadBody~l$�@	�	�NA~  ���	Num1Short
N:<n=1>.\tNumberShort~l$�@	�	�N\t~@	����NumShort	N:<n+>.\tll$
�@	�	�qFctSynopsisSYNOPSIS
HeaderFile��$	�	�	
CodeExamp2HZ$'
�@	�	�@
$

FctHead
FctSummary~l$

�@	�	�NA
L~���dStep1Bold
N:<n=1>.\t
NumberBold�~$�@	�	� ~���@	������ 2D	m1Vh=1Function~l$

�@	�	�N~	����StepBold	N:<n+>.\tlll$
�@	�	� GlossDef~~$	�	�	��Co�p2�����@	� 2D
VFchztSma�����	���	CodeExamp�@	�	�	rv���
FooterLeft�@	�	��	�v��FooterRightll$

�@	�	�hl~@��Body�@	�	�	\v���
FooterLeftHH$'
�@	�	�P

2HeadBodyHH$'
�@	�	�P

2HeadBody	�H�$�@	�	��.2HeadTOC$l$�@	�	��.1HeadTOC$l$�@	�	�oot�.1HeadTOCH�$�@	�	���.2HeadTOC	�	�	�
���	����	���ģ	�
~l	�
	nw
	�
��ģ	�
���	���ģ	�
	��	���ģ	�
��	�Emphasis��	�HItalic��	�BookName@/��	�
Bold���	�TSymbol	��	�	Subscript���	�	Trademark	���	�Superscript��	�	GlossTerm���	�CourierCSymbolTimes$RegularRegular
BoldRegularItalic0ś���`@F){��O�����ʬ;0���I�a��cr�E��{��򰗆[M���|�cq

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.