<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.16"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>UbixOS: kmods/kmod.c File Reference</title> <link href="../../tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../jquery.js"></script> <script type="text/javascript" src="../../dynsections.js"></script> <link href="../../navtree.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="../../resize.js"></script> <script type="text/javascript" src="../../navtreedata.js"></script> <script type="text/javascript" src="../../navtree.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(initResizable); /* @license-end */</script> <link href="../../doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">UbixOS  <span id="projectnumber">2.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.16 --> <script type="text/javascript" src="../../menudata.js"></script> <script type="text/javascript" src="../../menu.js"></script> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(function() { initMenu('../../',false,false,'search.php','Search'); }); /* @license-end */</script> <div id="main-nav"></div> </div><!-- top --> <div id="side-nav" class="ui-resizable side-nav-resizable"> <div id="nav-tree"> <div id="nav-tree-contents"> <div id="nav-sync" class="sync"></div> </div> </div> <div id="splitbar" style="-moz-user-select:none;" class="ui-resizable-handle"> </div> </div> <script type="text/javascript"> /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */ $(document).ready(function(){initNavTree('d4/dda/kmod_8c.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> | <a href="#var-members">Variables</a> </div> <div class="headertitle"> <div class="title">kmod.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../d0/d27/include_2sys_2types_8h_source.html">sys/types.h</a>></code><br /> <code>#include <<a class="el" href="../../d0/d32/kmod_8h_source.html">ubixos/kmod.h</a>></code><br /> <code>#include <<a class="el" href="../../d7/d00/sched_8h_source.html">ubixos/sched.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/de4/sys_2elf_8h_source.html">sys/elf.h</a>></code><br /> <code>#include <<a class="el" href="../../d3/d24/kpanic_8h_source.html">ubixos/kpanic.h</a>></code><br /> <code>#include <<a class="el" href="../../d1/df8/lists_8h_source.html">ubixos/lists.h</a>></code><br /> <code>#include <<a class="el" href="../../df/d63/spinlock_8h_source.html">ubixos/spinlock.h</a>></code><br /> <code>#include <<a class="el" href="../../da/d28/kprintf_8h_source.html">lib/kprintf.h</a>></code><br /> <code>#include <<a class="el" href="../../d4/d03/kmalloc_8h_source.html">lib/kmalloc.h</a>></code><br /> <code>#include <<a class="el" href="../../db/da9/include_2vfs_2vfs_8h_source.html">vfs/vfs.h</a>></code><br /> <code>#include <<a class="el" href="../../d1/d21/vmm_8h_source.html">vmm/vmm.h</a>></code><br /> <code>#include <<a class="el" href="../../da/d66/string_8h_source.html">string.h</a>></code><br /> <code>#include <<a class="el" href="../../dc/da7/assert_8h_source.html">assert.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for kmod.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d6/da8/kmod_8c__incl.png" border="0" usemap="#kmods_2kmod_8c" alt=""/></div> <map name="kmods_2kmod_8c" id="kmods_2kmod_8c"> <area shape="rect" title=" " alt="" coords="971,5,1079,32"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="934,603,1025,629"/> <area shape="rect" href="../../d0/d32/kmod_8h.html" title=" " alt="" coords="18,229,125,256"/> <area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="247,229,357,256"/> <area shape="rect" href="../../d4/de4/sys_2elf_8h.html" title=" " alt="" coords="463,80,533,107"/> <area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="721,80,835,107"/> <area shape="rect" href="../../d1/df8/lists_8h.html" title=" " alt="" coords="859,80,958,107"/> <area shape="rect" href="../../df/d63/spinlock_8h.html" title=" " alt="" coords="574,304,697,331"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="982,80,1067,107"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html" title=" " alt="" coords="676,379,771,405"/> <area shape="rect" href="../../db/da9/include_2vfs_2vfs_8h.html" title=" " alt="" coords="1274,155,1341,181"/> <area shape="rect" href="../../d1/d21/vmm_8h.html" title=" " alt="" coords="1695,80,1786,107"/> <area shape="rect" href="../../da/d66/string_8h.html" title=" " alt="" coords="1933,453,1999,480"/> <area shape="rect" href="../../dc/da7/assert_8h.html" title=" " alt="" coords="1981,80,2050,107"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="1073,827,1171,853"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="1075,677,1169,704"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="1333,752,1423,779"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="885,752,1004,779"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="1204,752,1309,779"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="1028,752,1128,779"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="1169,304,1237,331"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="1557,379,1652,405"/> <area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="257,304,347,331"/> <area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="372,304,448,331"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="777,528,899,555"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="1103,379,1186,405"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="896,453,967,480"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="795,379,883,405"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="1506,453,1586,480"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="1661,453,1753,480"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1881,677,1989,704"/> <area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="1505,528,1587,555"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="1282,453,1381,480"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="1042,453,1130,480"/> <area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="1155,453,1257,480"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="975,528,1069,555"/> <area shape="rect" href="../../d0/d39/i386_2elf_8h.html" title=" " alt="" coords="302,155,377,181"/> <area shape="rect" href="../../d2/d5c/elf32_8h.html" title=" " alt="" coords="510,155,595,181"/> <area shape="rect" href="../../dc/d26/elf64_8h.html" title=" " alt="" coords="401,155,486,181"/> <area shape="rect" href="../../dd/d1b/ubthread_8h.html" title=" " alt="" coords="153,155,278,181"/> <area shape="rect" href="../../dd/d58/elf__common_8h.html" title=" " alt="" coords="467,229,595,256"/> <area shape="rect" href="../../de/df7/time_8h.html" title=" " alt="" coords="5,528,105,555"/> <area shape="rect" href="../../dc/dac/io_8h.html" title=" " alt="" coords="21,603,89,629"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="990,155,1059,181"/> <area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="1557,229,1703,256"/> <area shape="rect" href="../../d7/d97/net_8h.html" title=" " alt="" coords="1371,229,1444,256"/> <area shape="rect" href="../../d9/d69/netif_8h.html" title=" " alt="" coords="1472,304,1551,331"/> <area shape="rect" href="../../dc/dba/opt_8h.html" title=" " alt="" coords="1460,379,1533,405"/> <area shape="rect" href="../../d4/df4/paging_8h.html" title=" " alt="" coords="1689,155,1792,181"/> <area shape="rect" href="../../d6/d90/strings_8h.html" title=" " alt="" coords="1930,528,2002,555"/> </map> </div> </div> <p><a href="../../d4/dda/kmod_8c_source.html">Go to the source code of this file.</a></p> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:af2a085a786b2cf77d53da7f364948cd4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dda/kmod_8c.html#af2a085a786b2cf77d53da7f364948cd4">kmod_add</a> (<a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *kmod_file, <a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *<a class="el" href="../../d1/de8/pci_8c.html#a8f8f80d37794cde9472343e4487ba3eb">name</a>)</td></tr> <tr class="separator:af2a085a786b2cf77d53da7f364948cd4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a92b68dbf95bf5d651555a4c02ee1a74b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dda/kmod_8c.html#a92b68dbf95bf5d651555a4c02ee1a74b">kmod_load</a> (<a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char *kmod_file)</td></tr> <tr class="separator:a92b68dbf95bf5d651555a4c02ee1a74b"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a> Variables</h2></td></tr> <tr class="memitem:aef05a41ecb31fc37647810e583f3d37b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../d1/df8/lists_8h.html#a680544a1203d80169f21f458fecfe884">List_t</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d4/dda/kmod_8c.html#aef05a41ecb31fc37647810e583f3d37b">List</a> = 0x0</td></tr> <tr class="separator:aef05a41ecb31fc37647810e583f3d37b"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="af2a085a786b2cf77d53da7f364948cd4"></a> <h2 class="memtitle"><span class="permalink"><a href="#af2a085a786b2cf77d53da7f364948cd4">◆ </a></span>kmod_add()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> kmod_add </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char * </td> <td class="paramname"><em>kmod_file</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char * </td> <td class="paramname"><em>name</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d4/dda/kmod_8c_source.html#l00045">45</a> of file <a class="el" href="../../d4/dda/kmod_8c_source.html">kmod.c</a>.</p> <p class="reference">References <a class="el" href="../../d1/df8/lists_8h.html#addb302e5cc32ff6fd65b02523e648764">CreateItem()</a>, <a class="el" href="../../d1/df8/lists_8h_source.html#l00038">_item_t::data</a>, <a class="el" href="../../d1/df8/lists_8h.html#a5f388b13396e1961b2a85720edf33712">InitializeList()</a>, <a class="el" href="../../d1/df8/lists_8h.html#af4e720b926108dabb1a08d09798e76d0">InsertItemAtFront()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../d4/dda/kmod_8c_source.html#l00070">kmod_load()</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../d4/dda/kmod_8c_source.html#l00043">List</a>, and <a class="el" href="../../d6/d8a/fat__string_8h_source.html#l00017">NULL</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d4/dda/kmod_8c_af2a085a786b2cf77d53da7f364948cd4_cgraph.png" border="0" usemap="#d4/dda/kmod_8c_af2a085a786b2cf77d53da7f364948cd4_cgraph" alt=""/></div> <map name="d4/dda/kmod_8c_af2a085a786b2cf77d53da7f364948cd4_cgraph" id="d4/dda/kmod_8c_af2a085a786b2cf77d53da7f364948cd4_cgraph"> <area shape="rect" title=" " alt="" coords="5,132,88,159"/> <area shape="rect" href="../../d1/df8/lists_8h.html#addb302e5cc32ff6fd65b02523e648764" title=" " alt="" coords="155,5,240,32"/> <area shape="rect" href="../../d1/df8/lists_8h.html#a5f388b13396e1961b2a85720edf33712" title=" " alt="" coords="152,56,243,83"/> <area shape="rect" href="../../d1/df8/lists_8h.html#af4e720b926108dabb1a08d09798e76d0" title=" " alt="" coords="136,107,259,133"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="503,208,570,235"/> <area shape="rect" href="../../d4/dda/kmod_8c.html#a92b68dbf95bf5d651555a4c02ee1a74b" title=" " alt="" coords="155,487,240,513"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="508,917,565,944"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="887,360,961,387"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="1010,335,1101,361"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="1009,385,1101,412"/> <area shape="rect" href="../../d4/de4/sys_2elf_8h.html#a18371af6e681af62767a92ac64af1ebb" title=" " alt="" coords="321,360,424,387"/> <area shape="rect" href="../../d6/d13/file_8c.html#a62ac32695420234cb7ccbcfc6cabd4a4" title=" " alt="" coords="766,411,822,437"/> <area shape="rect" href="../../d6/d13/file_8c.html#a249f3bc0af043dc5ac3c9aa8646986af" title=" " alt="" coords="346,613,399,640"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="511,461,562,488"/> <area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="502,816,571,843"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="637,765,699,792"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="347,765,398,792"/> <area shape="rect" href="../../d6/d13/file_8c.html#aac4e345a7fcee61422a6b35b54f22def" title=" " alt="" coords="346,816,399,843"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="507,309,567,336"/> <area shape="rect" href="../../d1/d21/vmm_8h.html#ab8e4e189a7b1df2a03072ce5b75c89fe" title=" " alt="" coords="307,259,439,285"/> <area shape="rect" href="../../d4/df4/paging_8h.html#adea68f248df43bddee62a09d945304b0" title=" " alt="" coords="311,411,434,437"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#ae29ab191c93f9ead066cb462dd2e7247" title=" " alt="" coords="493,715,580,741"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#ac38cd16373d98782e1465bd3d5aba470" title=" " alt="" coords="508,512,565,539"/> <area shape="rect" href="../../da/d66/string_8h.html#a55e123beb3d7f96e25e024a13582d987" title=" " alt="" coords="507,563,566,589"/> <area shape="rect" href="../../da/d66/string_8h.html#adcec9a82a6a276e8edb0fd4fc26fe8f2" title=" " alt="" coords="511,613,563,640"/> <area shape="rect" href="../../da/d66/string_8h.html#a9af7251f0c1b875e0e34b8e2b94dda39" title=" " alt="" coords="509,664,564,691"/> <area shape="rect" href="../../dc/d92/mount_8c.html#aa8cc926aa9badb781158b6738b1b0f2d" title=" " alt="" coords="487,765,587,792"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="641,892,695,919"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="637,943,699,969"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="635,841,701,868"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="753,892,835,919"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="749,943,839,969"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="762,841,826,868"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="759,613,829,640"/> <area shape="rect" href="../../d7/d7c/strtok_8c.html#af18c3fca5cc30bc1313728d45c031ae9" title=" " alt="" coords="635,664,701,691"/> </map> </div> </div> </div> <a id="a92b68dbf95bf5d651555a4c02ee1a74b"></a> <h2 class="memtitle"><span class="permalink"><a href="#a92b68dbf95bf5d651555a4c02ee1a74b">◆ </a></span>kmod_load()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../dd/d1e/objgfx30_8h.html#ada085051a6d9a8e00a2cb256d1af14ba">uInt32</a> kmod_load </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d6/d92/cdefs_8h.html#a2c212835823e3c54a8ab6d95c652660e">const</a> char * </td> <td class="paramname"><em>kmod_file</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d4/dda/kmod_8c_source.html#l00070">70</a> of file <a class="el" href="../../d4/dda/kmod_8c_source.html">kmod.c</a>.</p> <p class="reference">References <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00050">_current</a>, <a class="el" href="../../dc/da7/assert_8h_source.html#l00064">assert</a>, <a class="el" href="../../d2/d5c/elf32_8h_source.html#l00147">ELF32_R_SYM</a>, <a class="el" href="../../d2/d5c/elf32_8h_source.html#l00148">ELF32_R_TYPE</a>, <a class="el" href="../../d5/d8b/kernel_2elf_8c_source.html#l00167">elfGetRelType()</a>, <a class="el" href="../../d6/d13/file_8c_source.html#l00533">fclose()</a>, <a class="el" href="../../d6/d13/file_8c_source.html#l00395">fopen()</a>, <a class="el" href="../../d6/d13/file_8c_source.html#l00297">fread()</a>, <a class="el" href="../../d6/d13/file_8c_source.html#l00332">fseek()</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00063">taskStruct::id</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00342">kfree()</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../dc/d94/armv6_2kpanic_8c_source.html#l00041">kpanic()</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../d0/d32/kmod_8h_source.html#l00034">LD_START</a>, <a class="el" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23">memset()</a>, <a class="el" href="../../d4/df4/paging_8h_source.html#l00068">PAGE_DEFAULT</a>, <a class="el" href="../../dd/d58/elf__common_8h_source.html#l00493">PT_DYNAMIC</a>, <a class="el" href="../../dd/d58/elf__common_8h_source.html#l00502">PT_GNU_STACK</a>, <a class="el" href="../../dd/d58/elf__common_8h_source.html#l00492">PT_LOAD</a>, <a class="el" href="../../dd/d58/elf__common_8h_source.html#l00867">R_386_32</a>, <a class="el" href="../../dd/d58/elf__common_8h_source.html#l00868">R_386_PC32</a>, <a class="el" href="../../dd/d58/elf__common_8h_source.html#l00874">R_386_RELATIVE</a>, <a class="el" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c">strcmp()</a>, <a class="el" href="../../d3/db5/vmm__memory_8c_source.html#l00221">vmm_findFreePage()</a>, and <a class="el" href="../../de/d38/paging_8c_source.html#l00199">vmm_remapPage()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d4/dda/kmod_8c_source.html#l00045">kmod_add()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d4/dda/kmod_8c_a92b68dbf95bf5d651555a4c02ee1a74b_cgraph.png" border="0" usemap="#d4/dda/kmod_8c_a92b68dbf95bf5d651555a4c02ee1a74b_cgraph" alt=""/></div> <map name="d4/dda/kmod_8c_a92b68dbf95bf5d651555a4c02ee1a74b_cgraph" id="d4/dda/kmod_8c_a92b68dbf95bf5d651555a4c02ee1a74b_cgraph"> <area shape="rect" title=" " alt="" coords="5,411,91,437"/> <area shape="rect" href="../../d4/de4/sys_2elf_8h.html#a18371af6e681af62767a92ac64af1ebb" title=" " alt="" coords="153,81,256,108"/> <area shape="rect" href="../../d6/d13/file_8c.html#a62ac32695420234cb7ccbcfc6cabd4a4" title=" " alt="" coords="598,715,654,741"/> <area shape="rect" href="../../d6/d13/file_8c.html#a249f3bc0af043dc5ac3c9aa8646986af" title=" " alt="" coords="178,284,231,311"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#aaa9ed6886459604cf73ccdbf6410e487" title=" " alt="" coords="343,5,394,32"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="335,56,402,83"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="340,107,397,133"/> <area shape="rect" href="../../da/d66/string_8h.html#ace4b911463887af5e748326323e99a23" title=" " alt="" coords="334,461,403,488"/> <area shape="rect" href="../../da/d66/string_8h.html#a6f3dcb20ff11ff9db5904c3cfb61a38c" title=" " alt="" coords="469,461,531,488"/> <area shape="rect" href="../../d6/d13/file_8c.html#ac539f57edd90fcd088fd3baa10319166" title=" " alt="" coords="179,512,230,539"/> <area shape="rect" href="../../d6/d13/file_8c.html#aac4e345a7fcee61422a6b35b54f22def" title=" " alt="" coords="178,563,231,589"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="339,613,399,640"/> <area shape="rect" href="../../d1/d21/vmm_8h.html#ab8e4e189a7b1df2a03072ce5b75c89fe" title=" " alt="" coords="139,664,271,691"/> <area shape="rect" href="../../d4/df4/paging_8h.html#adea68f248df43bddee62a09d945304b0" title=" " alt="" coords="143,461,266,488"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="719,563,793,589"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="842,537,933,564"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="841,588,933,615"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#ae29ab191c93f9ead066cb462dd2e7247" title=" " alt="" coords="325,259,412,285"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#ac38cd16373d98782e1465bd3d5aba470" title=" " alt="" coords="340,309,397,336"/> <area shape="rect" href="../../da/d66/string_8h.html#a55e123beb3d7f96e25e024a13582d987" title=" " alt="" coords="339,360,398,387"/> <area shape="rect" href="../../da/d66/string_8h.html#adcec9a82a6a276e8edb0fd4fc26fe8f2" title=" " alt="" coords="343,157,395,184"/> <area shape="rect" href="../../da/d66/string_8h.html#a9af7251f0c1b875e0e34b8e2b94dda39" title=" " alt="" coords="341,208,396,235"/> <area shape="rect" href="../../dc/d92/mount_8c.html#aa8cc926aa9badb781158b6738b1b0f2d" title=" " alt="" coords="319,411,419,437"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="473,208,527,235"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="469,107,531,133"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="467,157,533,184"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="585,157,667,184"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="581,208,671,235"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="594,259,658,285"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="591,411,661,437"/> <area shape="rect" href="../../d7/d7c/strtok_8c.html#af18c3fca5cc30bc1313728d45c031ae9" title=" " alt="" coords="467,259,533,285"/> </map> </div> </div> </div> <h2 class="groupheader">Variable Documentation</h2> <a id="aef05a41ecb31fc37647810e583f3d37b"></a> <h2 class="memtitle"><span class="permalink"><a href="#aef05a41ecb31fc37647810e583f3d37b">◆ </a></span>List</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="../../d1/df8/lists_8h.html#a680544a1203d80169f21f458fecfe884">List_t</a>* List = 0x0</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d4/dda/kmod_8c_source.html#l00043">43</a> of file <a class="el" href="../../d4/dda/kmod_8c_source.html">kmod.c</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d4/dda/kmod_8c_source.html#l00045">kmod_add()</a>.</p> </div> </div> </div><!-- contents --> </div><!-- doc-content --> <!-- start footer part --> <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> <ul> <li class="navelem"><a class="el" href="../../dir_de38a9fe4867a66613bb601fdb65d757.html">kmods</a></li><li class="navelem"><a class="el" href="../../d4/dda/kmod_8c.html">kmod.c</a></li> <li class="footer">Generated by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.16 </li> </ul> </div> </body> </html>