home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 8 / CDACTUAL8.iso / docs / kernel-2.0 / cdrom / cdrom-st.tex / node25_ct.html < prev    next >
LaTeX Document  |  1996-07-11  |  1.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
90% dexvert Hypertext Markup Language File (text/html) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file HTML document text default (weak)
99% file LaTeX document text default
98% file exported SGML document text default
97% file exported SGML document, ASCII text default
80% TrID HyperText Markup Language with DOCTYPE default
19% TrID HyperText Markup Language default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% gt2 HTML (Hyper Text Markup Language) Datei default
100% detectItEasy Format: Plain text[LF] default
100% xdgMime text/html default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3c 21 44 4f 43 54 59 50 | 45 20 48 54 4d 4c 20 50 |<!DOCTYP|E HTML P|
|00000010| 55 42 4c 49 43 20 22 2d | 2f 2f 57 33 43 2f 2f 44 |UBLIC "-|//W3C//D|
|00000020| 54 44 20 48 54 4d 4c 20 | 33 2e 32 20 46 69 6e 61 |TD HTML |3.2 Fina|
|00000030| 6c 2f 2f 65 6e 22 3e 0a | 0a 3c 21 2d 2d 43 6f 6e |l//en">.|.<!--Con|
|00000040| 76 65 72 74 65 64 20 77 | 69 74 68 20 4c 61 54 65 |verted w|ith LaTe|
|00000050| 58 32 48 54 4d 4c 20 32 | 30 32 32 20 28 52 65 6c |X2HTML 2|022 (Rel|
|00000060| 65 61 73 65 64 20 4a 61 | 6e 75 61 72 79 20 31 2c |eased Ja|nuary 1,|
|00000070| 20 32 30 32 32 29 20 2d | 2d 3e 0a 3c 48 54 4d 4c | 2022) -|->.<HTML|
|00000080| 20 6c 61 6e 67 3d 22 65 | 6e 22 3e 0a 3c 48 45 41 | lang="e|n">.<HEA|
|00000090| 44 3e 0a 3c 54 49 54 4c | 45 3e 43 6f 6e 74 65 6e |D>.<TITL|E>Conten|
|000000a0| 74 73 20 6f 66 20 49 6e | 74 26 6e 62 73 70 3b 72 |ts of In|t&nbsp;r|
|000000b0| 65 67 69 73 74 65 72 63 | 64 72 6f 6d 28 69 6e 74 |egisterc|drom(int|
|000000c0| 26 6e 62 73 70 3b 6d 61 | 6a 6f 72 2c 20 63 68 61 |&nbsp;ma|jor, cha|
|000000d0| 72 2a 6e 61 6d 65 2c 20 | 73 74 72 75 63 74 49 3e |r*name, |structI>|
|000000e0| 63 64 72 6f 6d 64 65 76 | 69 63 65 6f 70 73 26 6e |cdromdev|iceops&n|
|000000f0| 62 73 70 3b 2a 63 64 6f | 29 3c 2f 54 49 54 4c 45 |bsp;*cdo|)</TITLE|
|00000100| 3e 0a 0a 3c 4d 45 54 41 | 20 48 54 54 50 2d 45 51 |>..<META| HTTP-EQ|
|00000110| 55 49 56 3d 22 43 6f 6e | 74 65 6e 74 2d 54 79 70 |UIV="Con|tent-Typ|
|00000120| 65 22 20 43 4f 4e 54 45 | 4e 54 3d 22 74 65 78 74 |e" CONTE|NT="text|
|00000130| 2f 68 74 6d 6c 3b 20 63 | 68 61 72 73 65 74 3d 75 |/html; c|harset=u|
|00000140| 74 66 2d 38 22 3e 0a 3c | 4d 45 54 41 20 4e 41 4d |tf-8">.<|META NAM|
|00000150| 45 3d 22 76 69 65 77 70 | 6f 72 74 22 20 43 4f 4e |E="viewp|ort" CON|
|00000160| 54 45 4e 54 3d 22 77 69 | 64 74 68 3d 64 65 76 69 |TENT="wi|dth=devi|
|00000170| 63 65 2d 77 69 64 74 68 | 2c 20 69 6e 69 74 69 61 |ce-width|, initia|
|00000180| 6c 2d 73 63 61 6c 65 3d | 31 2e 30 22 3e 0a 3c 4d |l-scale=|1.0">.<M|
|00000190| 45 54 41 20 4e 41 4d 45 | 3d 22 47 65 6e 65 72 61 |ETA NAME|="Genera|
|000001a0| 74 6f 72 22 20 43 4f 4e | 54 45 4e 54 3d 22 4c 61 |tor" CON|TENT="La|
|000001b0| 54 65 58 32 48 54 4d 4c | 20 76 32 30 32 32 22 3e |TeX2HTML| v2022">|
|000001c0| 0a 0a 3c 4c 49 4e 4b 20 | 52 45 4c 3d 22 53 54 59 |..<LINK |REL="STY|
|000001d0| 4c 45 53 48 45 45 54 22 | 20 48 52 45 46 3d 22 63 |LESHEET"| HREF="c|
|000001e0| 64 72 6f 6d 2d 73 74 2e | 63 73 73 22 3e 0a 0a 3c |drom-st.|css">..<|
|000001f0| 4c 49 4e 4b 20 52 45 4c | 3d 22 6e 65 78 74 22 20 |LINK REL|="next" |
|00000200| 48 52 45 46 3d 22 6e 6f | 64 65 32 36 5f 6d 6e 2e |HREF="no|de26_mn.|
|00000210| 68 74 6d 6c 22 3e 0a 3c | 4c 49 4e 4b 20 52 45 4c |html">.<|LINK REL|
|00000220| 3d 22 70 72 65 76 69 6f | 75 73 22 20 48 52 45 46 |="previo|us" HREF|
|00000230| 3d 22 6e 6f 64 65 32 34 | 5f 6d 6e 2e 68 74 6d 6c |="node24|_mn.html|
|00000240| 22 3e 0a 3c 4c 49 4e 4b | 20 52 45 4c 3d 22 75 70 |">.<LINK| REL="up|
|00000250| 22 20 48 52 45 46 3d 22 | 6e 6f 64 65 32 33 5f 6d |" HREF="|node23_m|
|00000260| 6e 2e 68 74 6d 6c 22 3e | 0a 3c 4c 49 4e 4b 20 52 |n.html">|.<LINK R|
|00000270| 45 4c 3d 22 6e 65 78 74 | 22 20 48 52 45 46 3d 22 |EL="next|" HREF="|
|00000280| 6e 6f 64 65 32 36 5f 6d | 6e 2e 68 74 6d 6c 22 3e |node26_m|n.html">|
|00000290| 0a 3c 2f 48 45 41 44 3e | 0a 20 0a 3c 42 4f 44 59 |.</HEAD>|. .<BODY|
|000002a0| 20 62 67 63 6f 6c 6f 72 | 3d 22 23 66 66 66 66 66 | bgcolor|="#fffff|
|000002b0| 66 22 20 74 65 78 74 3d | 22 23 30 30 30 30 30 30 |f" text=|"#000000|
|000002c0| 22 20 6c 69 6e 6b 3d 22 | 23 39 39 34 34 45 45 22 |" link="|#9944EE"|
|000002d0| 20 76 6c 69 6e 6b 3d 22 | 23 30 30 30 30 66 66 22 | vlink="|#0000ff"|
|000002e0| 20 61 6c 69 6e 6b 3d 22 | 23 30 30 66 66 30 30 22 | alink="|#00ff00"|
|000002f0| 3e 0a 0a 3c 48 32 3e 3c | 41 20 49 44 3d 22 53 45 |>..<H2><|A ID="SE|
|00000300| 43 54 49 4f 4e 30 30 30 | 34 32 30 30 30 30 30 30 |CTION000|42000000|
|00000310| 30 30 30 30 30 30 30 30 | 30 22 3e 0a 3c 21 2d 2d |00000000|0">.<!--|
|00000320| 20 4d 41 54 48 0a 20 24 | 49 6e 74 5c 20 72 65 67 | MATH. $|Int\ reg|
|00000330| 69 73 74 65 72 5f 63 64 | 72 6f 6d 28 69 6e 74 5c |ister_cd|rom(int\|
|00000340| 20 6d 61 6a 6f 72 2c 20 | 63 68 61 72 20 2a 20 6e | major, |char * n|
|00000350| 61 6d 65 2c 20 73 74 72 | 75 63 74 5c 0a 63 64 72 |ame, str|uct\.cdr|
|00000360| 6f 6d 5f 64 65 76 69 63 | 65 5f 6f 70 73 5c 20 2a |om_devic|e_ops\ *|
|00000370| 20 63 64 6f 29 24 0a 20 | 2d 2d 3e 0a 3c 49 3e 49 | cdo)$. |-->.<I>I|
|00000380| 6e 74 3c 2f 49 3e 26 6e | 62 73 70 3b 3c 49 3e 72 |nt</I>&n|bsp;<I>r|
|00000390| 65 67 69 73 74 65 72 3c | 2f 49 3e 3c 53 55 42 3e |egister<|/I><SUB>|
|000003a0| 63 3c 2f 53 55 42 3e 3c | 49 3e 64 72 6f 6d 3c 2f |c</SUB><|I>drom</|
|000003b0| 49 3e 28 3c 49 3e 69 6e | 74 3c 2f 49 3e 26 6e 62 |I>(<I>in|t</I>&nb|
|000003c0| 73 70 3b 3c 49 3e 6d 61 | 6a 6f 72 3c 2f 49 3e 2c |sp;<I>ma|jor</I>,|
|000003d0| 20 3c 49 3e 63 68 61 72 | 3c 2f 49 3e 2a 3c 49 3e | <I>char|</I>*<I>|
|000003e0| 6e 61 6d 65 3c 2f 49 3e | 2c 20 3c 49 3e 73 74 72 |name</I>|, <I>str|
|000003f0| 75 63 74 3c 2f 49 3e 49 | 3e 63 64 72 6f 6d 3c 2f |uct</I>I|>cdrom</|
|00000400| 49 3e 3c 53 55 42 3e 64 | 3c 2f 53 55 42 3e 3c 49 |I><SUB>d|</SUB><I|
|00000410| 3e 65 76 69 63 65 3c 2f | 49 3e 3c 53 55 42 3e 6f |>evice</|I><SUB>o|
|00000420| 3c 2f 53 55 42 3e 3c 49 | 3e 70 73 3c 2f 49 3e 26 |</SUB><I|>ps</I>&|
|00000430| 6e 62 73 70 3b 2a 3c 49 | 3e 63 64 6f 3c 2f 49 3e |nbsp;*<I|>cdo</I>|
|00000440| 29 3c 2f 41 3e 0a 3c 2f | 48 32 3e 0a 3c 50 3e 0a |)</A>.</|H2>.<P>.|
|00000450| 3c 54 54 3e 53 69 6d 69 | 6c 61 72 20 74 6f 20 72 |<TT>Simi|lar to r|
|00000460| 65 67 69 73 74 65 72 69 | 6e 67 20 3c 21 2d 2d 20 |egisteri|ng <!-- |
|00000470| 4d 41 54 48 0a 20 24 63 | 64 72 6f 6d 5f 66 6f 70 |MATH. $c|drom_fop|
|00000480| 73 24 0a 20 2d 2d 3e 0a | 3c 49 3e 63 64 72 6f 6d |s$. -->.|<I>cdrom|
|00000490| 3c 2f 49 3e 3c 53 55 42 | 3e 66 3c 2f 53 55 42 3e |</I><SUB|>f</SUB>|
|000004a0| 3c 49 3e 6f 70 73 3c 2f | 49 3e 20 74 6f 20 74 68 |<I>ops</|I> to th|
|000004b0| 65 20 6b 65 72 6e 65 6c | 2c 20 74 68 65 20 64 65 |e kernel|, the de|
|000004c0| 76 69 63 65 0a 6f 70 65 | 72 61 74 69 6f 6e 73 20 |vice.ope|rations |
|000004d0| 73 74 72 75 63 74 75 72 | 65 2c 20 61 73 20 64 65 |structur|e, as de|
|000004e0| 73 63 72 69 62 65 64 20 | 69 6e 20 73 65 63 74 69 |scribed |in secti|
|000004f0| 6f 6e 26 6e 62 73 70 3b | 3c 41 20 48 52 45 46 3d |on&nbsp;|<A HREF=|
|00000500| 22 6e 6f 64 65 32 5f 63 | 74 2e 68 74 6d 6c 23 63 |"node2_c|t.html#c|
|00000510| 64 72 6f 6d 2e 63 22 3e | 3c 49 4d 47 20 20 41 4c |drom.c">|<IMG AL|
|00000520| 54 3d 22 5b 2a 5d 22 20 | 53 52 43 3d 22 63 72 6f |T="[*]" |SRC="cro|
|00000530| 73 73 72 65 66 2e 70 6e | 67 22 3e 3c 2f 41 3e 2c |ssref.pn|g"></A>,|
|00000540| 20 73 68 6f 75 6c 64 20 | 62 65 0a 72 65 67 69 73 | should |be.regis|
|00000550| 74 65 72 65 64 20 74 6f | 20 74 68 65 20 67 65 6e |tered to| the gen|
|00000560| 65 72 61 6c 20 43 44 3c | 53 4d 41 4c 4c 3e 52 4f |eral CD<|SMALL>RO|
|00000570| 4d 3c 2f 53 4d 41 4c 4c | 3e 20 69 6e 74 65 72 66 |M</SMALL|> interf|
|00000580| 61 63 65 3a 0a 3c 2f 54 | 54 3e 3c 50 3e 3c 21 2d |ace:.</T|T><P><!-|
|00000590| 2d 20 4d 41 54 48 0a 20 | 5c 62 65 67 69 6e 7b 64 |- MATH. |\begin{d|
|000005a0| 69 73 70 6c 61 79 6d 61 | 74 68 7d 0a 72 65 67 69 |isplayma|th}.regi|
|000005b0| 73 74 65 72 5f 63 64 72 | 6f 6d 28 6d 61 6a 6f 72 |ster_cdr|om(major|
|000005c0| 2c 20 3c 6e 61 6d 65 3e | 2c 20 5c 26 3c 64 65 76 |, <name>|, \&<dev|
|000005d0| 69 63 65 3e 5f 64 6f 70 | 73 29 3b 0a 5c 65 6e 64 |ice>_dop|s);.\end|
|000005e0| 7b 64 69 73 70 6c 61 79 | 6d 61 74 68 7d 0a 20 2d |{display|math}. -|
|000005f0| 2d 3e 0a 3c 2f 50 3e 0a | 3c 44 49 56 20 41 4c 49 |->.</P>.|<DIV ALI|
|00000600| 47 4e 3d 22 43 45 4e 54 | 45 52 22 3e 0a 3c 49 3e |GN="CENT|ER">.<I>|
|00000610| 72 65 67 69 73 74 65 72 | 3c 2f 49 3e 3c 53 55 42 |register|</I><SUB|
|00000620| 3e 63 3c 2f 53 55 42 3e | 3c 49 3e 64 72 6f 6d 3c |>c</SUB>|<I>drom<|
|00000630| 2f 49 3e 28 3c 49 3e 6d | 61 6a 6f 72 3c 2f 49 3e |/I>(<I>m|ajor</I>|
|00000640| 2c 20 26 6c 74 3b 20 3c | 49 3e 6e 61 6d 65 3c 2f |, &lt; <|I>name</|
|00000650| 49 3e 20 26 67 74 3b 20 | 2c 20 26 6e 62 73 70 3b |I> &gt; |, &nbsp;|
|00000660| 3c 49 3e 53 50 4d 61 6d | 70 3c 2f 49 3e 3b 20 26 |<I>SPMam|p</I>; &|
|00000670| 6c 74 3b 20 3c 49 3e 64 | 65 76 69 63 65 3c 2f 49 |lt; <I>d|evice</I|
|00000680| 3e 20 26 67 74 3b 20 3c | 53 55 42 3e 64 3c 2f 53 |> &gt; <|SUB>d</S|
|00000690| 55 42 3e 3c 49 3e 6f 70 | 73 3c 2f 49 3e 29 3b 0a |UB><I>op|s</I>);.|
|000006a0| 3c 2f 44 49 56 3e 3c 50 | 3e 3c 2f 50 3e 3c 54 54 |</DIV><P|></P><TT|
|000006b0| 3e 0a 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 |>.This f|unction |
|000006c0| 72 65 74 75 72 6e 73 20 | 7a 65 72 6f 20 75 70 6f |returns |zero upo|
|000006d0| 6e 20 73 75 63 63 65 73 | 73 2c 20 61 6e 64 20 6e |n succes|s, and n|
|000006e0| 6f 6e 2d 7a 65 72 6f 20 | 75 70 6f 6e 20 66 61 69 |on-zero |upon fai|
|000006f0| 6c 75 72 65 2e 20 0a 3c | 2f 54 54 3e 0a 3c 50 3e |lure. .<|/TT>.<P>|
|00000700| 0a 3c 48 52 3e 0a 0a 3c | 2f 42 4f 44 59 3e 0a 3c |.<HR>..<|/BODY>.<|
|00000710| 2f 48 54 4d 4c 3e 0a | |/HTML>. | |
+--------+-------------------------+-------------------------+--------+--------+