This file is indexed.

/usr/share/doc/HOWTO/ja-html/kernel-venus-protocol-3.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE> The Venus kernel interface: $B%a%C%;!<%8AX(B </TITLE>
 <LINK HREF="kernel-venus-protocol-4.html" REL=next>
 <LINK HREF="kernel-venus-protocol-2.html" REL=previous>
 <LINK HREF="kernel-venus-protocol.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="kernel-venus-protocol-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol.html#toc3">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s3">3. $B%a%C%;!<%8AX(B </A></H2>

<P>
<P>$B:G2<AX$G$O!"(BVenus $B$H(B FS $B%I%i%$%P4V$N%3%_%e%K%1!<%7%g%s$O%a%C%;!<%8$K$h$C(B
$B$F?J$_$^$9!#(BCoda $B%U%!%$%k%5!<%S%9$rMW5a$9$k%W%m%;%9$H(B Venus $B4V$NF14|$O(B
block ($B5Y;_>uBV$X$N0\9T(B) $B$H(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MQ$$$F(B <CODE>upcall</CODE> $B$N=hM}$rB3$1$^$9!#(B
</LI>
<LI> $B%a%C%;!<%8$O(B <EM>downcall</EM> $B$N>l9g!#(Bdowncall $B$O(B Venus $B$+$i(B FS
$B%I%i%$%P$X$NMW5a$G$9!#(BFS $B%I%i%$%P$OMW5a$rD>$A$K=hM}(B ($BDL>o%-%c%C%7%e$NDI(B
$B$$N)$F$+CV$-49$((B) $B$7!"=*$o$C$?;~!"(B<CODE>sendmsg_to_kernel</CODE> $B$OJV$j$^$9!#(B</LI>
</UL>
<P>$B$3$N8e(B P $B$O5/$-$F(B <CODE>upcall</CODE> $B$N=hM}$rB3$1$^$9!#@bL@$NI,MW$JHyL/$J$3$H$,(B
$B$"$j$^$9!#;O$a$K(B P $B$O!"B>$N%=!<%9$+$i%7%0%J%k$K$h$j(B <CODE>upcall</CODE> $B$NCf$G5/(B
$B$3$5$l$?(B ($BNc$($P(B P $B$r=*N;$7$h$&$H$7$?(B) $B$+!"$b$7$/$O(B
<CODE>sendmsg_to_kernel</CODE> $B%3!<%k$+$iLa$C$?$3$H$GIaDL$K(B Venus $B$K$h$j5/$3$5$l(B
$B$?$+!"$r7hDj$9$k$3$H$K$J$j$^$9!#DL>o$N>l9g$G$O!"(Bupcall $B$r9T$C$?%k!<%A%s(B
$B$O%a%C%;!<%89=B$BN$r2rJ|$7$FJV$j$^$9$,!"$=$N:]$K(B FS $B%k!<%A%s$,(B
<CODE>upcall</CODE> $B=hM}$rB3$1$k$3$H$,$"$j$^$9!#(B
<P>
<FIGURE>
<EPS FILE="sleep">
<CAPTION>
<A NAME="ServerOrg"></A>  Sleeping and IPC arrangements</CAPTION>
</FIGURE>
<P>P $B$,(B Venus $B$G$O$J$/%7%0%J%k$K$h$C$F5/$3$5$l$k>l9g!";O$a$K%U%i%0%U%#!<%k(B
$B%I$r8+$^$9!#%a%C%;!<%8$,$^$@(B READ $B$G$J$$>l9g!"%W%m%;%9(B P $B$O!"(BVenus $B$KDL(B
$BCN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</CODE> $B%7%9%F%`%3!<%k$rMQ$$$^$9!#%W%m%;%9(B P $B$O3d9~$_2DG=$J(B
$BBT5!%-%e!<$N%*%V%8%'%/%H>e$GBT$?$5$l$^$9!#(B
<P>Windows NT $B$*$h$S(B DPMI Windows 95 $B<BAu$G$O(B DeviceIoControl $B%3!<%k$,MQ$$(B
$B$i$l$^$7$?!#(BDeviceIoControl $B%3!<%k$O%f!<%6%a%b%j$+$i%+!<%M%k%a%b%j$X(B
OPCODES $B$G%P%C%U%!$r%3%T!<$9$k$?$a$N$b$N$G$9!#(B<CODE>sendmsg_to_kernel</CODE> $B$O(B
$BF14|%3!<%k$H$7$FH/9T$5$l$^$9$,!"(B<CODE>getmsg_from_kernel</CODE> $B%3!<%k$OHsF14|%3!<(B
$B%k$G$9!#(BWindows EventObjects $B$,%a%C%;!<%8E~Ce$NDLCN$N$?$a$K;H$o$l$^$7$?!#(B
$B%W%m%;%9(B P $B$O!"(BNT $B$G$O(B KernelEvent $B%*%V%8%'%/%H!"(BWindows 95 $B$G$O%;%^%U%)(B
$B$GBT$?$5$l$^$9!#(B
<P>
<HR>
<A HREF="kernel-venus-protocol-4.html">$B<!$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol-2.html">$BA0$N%Z!<%8(B</A>
<A HREF="kernel-venus-protocol.html#toc3">$BL\<!$X(B</A>
</BODY>
</HTML>