<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>UbixOS V2: src/sys/include/ubixos/kmod.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.7 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <div class="nav"> <a class="el" href="dir_897b6a2d7bab147dd1db58381aad3984.html">src</a> » <a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a> » <a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a> » <a class="el" href="dir_9854bc9d2b9a2a73f32c73e97d31d0f7.html">ubixos</a></div> <h1>kmod.h File Reference</h1><code>#include <<a class="el" href="types_8h-source.html">ubixos/types.h</a>></code><br> <p> Include dependency graph for kmod.h:<p><center><img src="kmod_8h__incl.png" border="0" usemap="#src/sys/include/ubixos/kmod.h_map" alt=""></center> <map name="src/sys/include/ubixos/kmod.h_map"> <area href="types_8h.html" shape="rect" coords="282,5,402,32" alt=""> <area href="__types_8h.html" shape="rect" coords="452,5,556,32" alt=""> </map> <p> This graph shows which files directly or indirectly include this file:<p><center><img src="kmod_8h__dep__incl.png" border="0" usemap="#src/sys/include/ubixos/kmod.hdep_map" alt=""></center> <map name="src/sys/include/ubixos/kmod.hdep_map"> <area href="kmod_8c.html" shape="rect" coords="280,5,451,32" alt=""> </map> <p> <a href="kmod_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Data Structures</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="structkmod__struct.html">kmod_struct</a></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="kmod_8h.html#f4d6f389174a00e0de80e1ea0e23e956">LD_START</a> 0x1000000</td></tr> <tr><td colspan="2"><br><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">typedef <a class="el" href="structkmod__struct.html">kmod_struct</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="kmod_8h.html#f0d8af96157c2be80c94ddca48a8e274">kmod_t</a></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="kmod_8h.html#06399dbabee4a7e746b17c66a343d38f">kmod_add</a> (const char *, const char *<a class="el" href="pci_8c.html#8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="kmod_8h.html#c9997cda5e69bc2c1fce8c8c343b3d4f">kmod_load</a> (const char *)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="f4d6f389174a00e0de80e1ea0e23e956"></a><!-- doxytag: member="kmod.h::LD_START" ref="f4d6f389174a00e0de80e1ea0e23e956" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define LD_START 0x1000000 </td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="kmod_8h-source.html#l00035">35</a> of file <a class="el" href="kmod_8h-source.html">kmod.h</a>. <p> Referenced by <a class="el" href="kmod_8c-source.html#l00075">kmod_load()</a>, and <a class="el" href="ld_8c-source.html#l00042">ldEnable()</a>. </div> </div><p> <hr><h2>Typedef Documentation</h2> <a class="anchor" name="f0d8af96157c2be80c94ddca48a8e274"></a><!-- doxytag: member="kmod.h::kmod_t" ref="f0d8af96157c2be80c94ddca48a8e274" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct <a class="el" href="structkmod__struct.html">kmod_struct</a> <a class="el" href="structkmod__struct.html">kmod_t</a> </td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="06399dbabee4a7e746b17c66a343d38f"></a><!-- doxytag: member="kmod.h::kmod_add" ref="06399dbabee4a7e746b17c66a343d38f" args="(const char *, const char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> kmod_add </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname">, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="kmod_8c-source.html#l00046">46</a> of file <a class="el" href="kmod_8c-source.html">kmod.c</a>. <p> References <a class="el" href="lists_8h.html#ddb302e5cc32ff6fd65b02523e648764">CreateItem()</a>, <a class="el" href="lists_8h-source.html#l00011">_item_t::data</a>, <a class="el" href="lists_8h.html#5f388b13396e1961b2a85720edf33712">InitializeList()</a>, <a class="el" href="lists_8h.html#f4e720b926108dabb1a08d09798e76d0">InsertItemAtFront()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kmod_8c-source.html#l00075">kmod_load()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="kmod_8c-source.html#l00044">List</a>, and <a class="el" href="types_8h-source.html#l00036">NULL</a>. <p> Here is the call graph for this function:<p><center><img src="kmod_8h_06399dbabee4a7e746b17c66a343d38f_cgraph.png" border="0" usemap="#kmod_8h_06399dbabee4a7e746b17c66a343d38f_cgraph_map" alt=""></center> <map name="kmod_8h_06399dbabee4a7e746b17c66a343d38f_cgraph_map"> <area href="lists_8h.html#ddb302e5cc32ff6fd65b02523e648764" shape="rect" coords="168,6,264,32" alt=""> <area href="lists_8h.html#5f388b13396e1961b2a85720edf33712" shape="rect" coords="165,56,267,83" alt=""> <area href="lists_8h.html#f4e720b926108dabb1a08d09798e76d0" shape="rect" coords="147,107,285,134" alt=""> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="333,208,408,235" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="456,208,523,235" alt=""> <area href="kmod_8h.html#c9997cda5e69bc2c1fce8c8c343b3d4f" shape="rect" coords="168,259,264,286" alt=""> </map> </div> </div><p> <a class="anchor" name="c9997cda5e69bc2c1fce8c8c343b3d4f"></a><!-- doxytag: member="kmod.h::kmod_load" ref="c9997cda5e69bc2c1fce8c8c343b3d4f" args="(const char *)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="types_8h.html#5847ea0262a5aa61eee48cbe95544a78">uInt32</a> kmod_load </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <p> Definition at line <a class="el" href="kmod_8c-source.html#l00075">75</a> of file <a class="el" href="kmod_8c-source.html">kmod.c</a>. <p> References <a class="el" href="sched_8c-source.html#l00051">_current</a>, <a class="el" href="assert_8h-source.html#l00064">assert</a>, <a class="el" href="elf_8h-source.html#l00102">elfHeader::eEntry</a>, <a class="el" href="elf_8h-source.html#l00172">ELF32_R_SYM</a>, <a class="el" href="elf_8h-source.html#l00173">ELF32_R_TYPE</a>, <a class="el" href="elf_8c-source.html#l00107">elfGetRelType()</a>, <a class="el" href="elf_8h-source.html#l00108">elfHeader::ePhnum</a>, <a class="el" href="elf_8h-source.html#l00103">elfHeader::ePhoff</a>, <a class="el" href="elf_8h-source.html#l00110">elfHeader::eShnum</a>, <a class="el" href="elf_8h-source.html#l00104">elfHeader::eShoff</a>, <a class="el" href="elf_8h-source.html#l00111">elfHeader::eShstrndx</a>, <a class="el" href="file_8c-source.html#l00398">fclose()</a>, <a class="el" href="file_8c-source.html#l00274">fopen()</a>, <a class="el" href="file_8c-source.html#l00178">fread()</a>, <a class="el" href="file_8c-source.html#l00208">fseek()</a>, <a class="el" href="sched_8h-source.html#l00055">taskStruct::id</a>, <a class="el" href="kmalloc_8c-source.html#l00351">kfree()</a>, <a class="el" href="kmalloc_8c-source.html#l00247">kmalloc()</a>, <a class="el" href="kpanic_8c-source.html#l00042">kpanic()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="kmod_8h-source.html#l00035">LD_START</a>, <a class="el" href="memset_8c-source.html#l00037">memset()</a>, <a class="el" href="paging_8h-source.html#l00052">PAGE_DEFAULT</a>, <a class="el" href="elf_8h-source.html#l00120">elfProgramHeader::phMemsz</a>, <a class="el" href="elf_8h-source.html#l00117">elfProgramHeader::phVaddr</a>, <a class="el" href="elf_8h-source.html#l00081">PT_DYNAMIC</a>, <a class="el" href="elf_8h-source.html#l00091">PT_GNU_STACK</a>, <a class="el" href="elf_8h-source.html#l00080">PT_LOAD</a>, <a class="el" href="elf_8h-source.html#l00093">PT_PAX_FLAGS</a>, <a class="el" href="elf_8h-source.html#l00040">R_386_32</a>, <a class="el" href="elf_8h-source.html#l00041">R_386_PC32</a>, <a class="el" href="elf_8h-source.html#l00047">R_386_RELATIVE</a>, <a class="el" href="elf_8h-source.html#l00131">elfSectionHeader::shSize</a>, <a class="el" href="string_8c-source.html#l00032">strcmp()</a>, <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>, <a class="el" href="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>, and <a class="el" href="ap-boot_8S-source.html#l00052">x1000</a>. <p> Referenced by <a class="el" href="kmod_8c-source.html#l00046">kmod_add()</a>. <p> Here is the call graph for this function:<p><center><img src="kmod_8h_c9997cda5e69bc2c1fce8c8c343b3d4f_cgraph.png" border="0" usemap="#kmod_8h_c9997cda5e69bc2c1fce8c8c343b3d4f_cgraph_map" alt=""></center> <map name="kmod_8h_c9997cda5e69bc2c1fce8c8c343b3d4f_cgraph_map"> <area href="elf_8h.html#18371af6e681af62767a92ac64af1ebb" shape="rect" coords="162,5,276,32" alt=""> <area href="file_8h.html#872c22366b4c63f4bdb10cd3b7980b11" shape="rect" coords="188,512,250,539" alt=""> <area href="kmalloc_8h.html#aa9ed6886459604cf73ccdbf6410e487" shape="rect" coords="382,461,438,488" alt=""> <area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="675,696,742,723" alt=""> <area href="lib_2string_8h.html#ce4b911463887af5e748326323e99a23" shape="rect" coords="540,157,618,184" alt=""> <area href="file_8h.html#d6a41ac88a7d46d574e8a675fdde136c" shape="rect" coords="188,385,250,412" alt=""> <area href="kmalloc_8h.html#150eab2ac4ce4553e21ca10e7f441762" shape="rect" coords="372,563,447,589" alt=""> <area href="lib_2string_8h.html#6f3dcb20ff11ff9db5904c3cfb61a38c" shape="rect" coords="546,81,612,108" alt=""> <area href="file_8h.html#3b06878a03209e88c008c77234b89359" shape="rect" coords="191,664,247,691" alt=""> <area href="file_8h.html#80528d8335cd52755f5d6a92e4f08391" shape="rect" coords="190,715,248,741" alt=""> <area href="kpanic_8h.html#db9a182aa071791a306163d50d653deb" shape="rect" coords="546,765,612,792" alt=""> <area href="paging_8h.html#a05f8d8947fb5bcec87fc6661f83243e" shape="rect" coords="150,765,288,792" alt=""> <area href="vmm_8h.html#976cf3919bf7c77c868021ec9374593b" shape="rect" coords="338,765,482,792" alt=""> <area href="spinlock_8h.html#2cd9a4502680fb8e7f0fe6b029e558b1" shape="rect" coords="539,551,619,577" alt=""> <area href="spinlock_8h.html#dd996cbbb3b9826dd9c8cf02b66a4c65" shape="rect" coords="531,696,627,723" alt=""> <area href="lib_2string_8h.html#c38cd16373d98782e1465bd3d5aba470" shape="rect" coords="378,259,442,285" alt=""> <area href="lib_2string_8h.html#dcec9a82a6a276e8edb0fd4fc26fe8f2" shape="rect" coords="382,309,438,336" alt=""> <area href="lib_2string_8h.html#9af7251f0c1b875e0e34b8e2b94dda39" shape="rect" coords="379,360,440,387" alt=""> <area href="mount_8h.html#a8cc926aa9badb781158b6738b1b0f2d" shape="rect" coords="351,107,468,133" alt=""> </map> </div> </div><p> <hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:21:25 2006 for UbixOS V2 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address> </body> </html>