added a kernelkit intro

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14061 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-08-24 20:52:39 +00:00
parent 518df00584
commit f77cdaa9f6
6 changed files with 70 additions and 37 deletions

View File

@ -7,6 +7,11 @@ Doc2HTML
: Haiku_Book : Haiku_Book
; ;
rule FRelGristFiles
{
return $(<:G=$(SOURCE_GRIST:E)$(>:J=!)) ;
}
local chapter_files = appkit.xml local chapter_files = appkit.xml
devicekit.xml devicekit.xml
gamekit.xml gamekit.xml
@ -26,5 +31,9 @@ Includes [ FGristFiles Haiku_Book.xml ]
SEARCH on [ FGristFiles $(chapter_files) ] = [ FDirName $(SUB_DIR) ] ; SEARCH on [ FGristFiles $(chapter_files) ] = [ FDirName $(SUB_DIR) ] ;
local app_files = intro.xml messaging.xml scripting.xml Application.xml ; local app_files = intro.xml messaging.xml scripting.xml Application.xml ;
Includes [ FGristFiles appkit.xml ] : [ FGristFiles $(app_files) ] ; Includes [ FGristFiles appkit.xml ] : [ FRelGristFiles $(app_files) : app ] ;
SEARCH on [ FGristFiles $(app_files) ] = [ FDirName $(SUB_DIR) app ] ; SEARCH on [ FRelGristFiles $(app_files) : app ] = [ FDirName $(SUB_DIR) app ] ;
local kern_files = intro.xml threads.xml ports.xml sems.xml ;
Includes [ FGristFiles kernelkit.xml ] : [ FRelGristFiles $(kern_files) : kernel ] ;
SEARCH on [ FRelGristFiles $(kern_files) : kernel ] = [ FDirName $(SUB_DIR) kernel ] ;

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="kernel-intro">
<title>Introduction</title>
<para>
Kernel Kit is about classes needed to interact with the kernel. Information about it is available in several topics :
</para>
<itemizedlist>
<listitem><para>
<xref linkend="kern-threads"/> helps to perform tasks.
</para></listitem>
<listitem><para>
<xref linkend="kern-ports"/> helps to communicate between threads.
</para></listitem>
<listitem><para>
<xref linkend="kern-sems"/> helps to synchronize threads.
</para></listitem>
</itemizedlist>
</sect1>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="kern-ports">
<title>Ports</title>
</sect1>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="kern-sems">
<title>Semaphores</title>
</sect1>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
]>
<sect1 id="kern-threads">
<title>Threads</title>
</sect1>

View File

@ -3,41 +3,10 @@
<chapter id="st-kernelkit"> <chapter id="st-kernelkit">
<title>The Kernel Kit</title> <title>The Kernel Kit</title>
<sect1> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kernel/intro.xml" />
<title>Introduction</title> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kernel/threads.xml" />
</sect1> <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kernel/ports.xml" />
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="kernel/sems.xml" />
<sect1>
<title>Threads</title>
</sect1>
<sect1>
<title>Semaphores</title>
</sect1>
<sect1>
<title>Ports</title>
</sect1>
<sect1>
<title>Areas</title>
</sect1>
<sect1>
<title>Images</title>
</sect1>
<sect1>
<title>System info</title>
</sect1>
<sect1>
<title>Time</title>
</sect1>
<sect1>
<title>Other</title>
</sect1>
</chapter> </chapter>