<!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: vmm/setpageattributes.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('db/df4/setpageattributes_8c.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">setpageattributes.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../d1/d21/vmm_8h_source.html">vmm/vmm.h</a>></code><br /> <code>#include <<a class="el" href="../../d3/d24/kpanic_8h_source.html">ubixos/kpanic.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for setpageattributes.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d1/da6/setpageattributes_8c__incl.png" border="0" usemap="#vmm_2setpageattributes_8c" alt=""/></div> <map name="vmm_2setpageattributes_8c" id="vmm_2setpageattributes_8c"> <area shape="rect" title=" " alt="" coords="383,5,547,32"/> <area shape="rect" href="../../d1/d21/vmm_8h.html" title=" " alt="" coords="357,80,448,107"/> <area shape="rect" href="../../d3/d24/kpanic_8h.html" title=" " alt="" coords="473,80,586,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="544,603,635,629"/> <area shape="rect" href="../../d4/df4/paging_8h.html" title=" " alt="" coords="749,155,851,181"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="731,827,829,853"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="540,677,633,704"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="539,752,629,779"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="653,752,771,779"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="795,752,901,779"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="363,752,463,779"/> <area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="672,229,819,256"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="787,379,882,405"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="705,453,797,480"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="551,304,619,331"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="872,453,952,480"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="935,603,1043,629"/> <area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="869,528,952,555"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="344,528,467,555"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="339,379,421,405"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="558,453,629,480"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="623,379,711,405"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="272,453,371,480"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="395,453,483,480"/> <area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="145,453,247,480"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="542,528,637,555"/> </map> </div> </div> <p><a href="../../db/df4/setpageattributes_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:a7900e6837133f7d21ac4d2152afb1d63"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="../../db/df4/setpageattributes_8c.html#a7900e6837133f7d21ac4d2152afb1d63">vmm_setPageAttributes</a> (<a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> memAddr, <a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a281b4b5562236420969a830503b0ba19">uint16_t</a> attributes)</td></tr> <tr class="separator:a7900e6837133f7d21ac4d2152afb1d63"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Function Documentation</h2> <a id="a7900e6837133f7d21ac4d2152afb1d63"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7900e6837133f7d21ac4d2152afb1d63">◆ </a></span>vmm_setPageAttributes()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int vmm_setPageAttributes </td> <td>(</td> <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a0238af00180b6d9278fa1c6aa790fdf4">uint32_t</a> </td> <td class="paramname"><em>memAddr</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="../../d0/d27/include_2sys_2types_8h.html#a281b4b5562236420969a830503b0ba19">uint16_t</a> </td> <td class="paramname"><em>attributes</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="../../db/df4/setpageattributes_8c_source.html#l00039">39</a> of file <a class="el" href="../../db/df4/setpageattributes_8c_source.html">setpageattributes.c</a>.</p> <p class="reference">References <a class="el" href="../../dc/d94/armv6_2kpanic_8c_source.html#l00041">kpanic()</a>, and <a class="el" href="../../d4/df4/paging_8h_source.html#l00046">PT_BASE_ADDR</a>.</p> <p class="reference">Referenced by <a class="el" href="../../d5/d8b/kernel_2elf_8c_source.html#l00037">elf_load_file()</a>, <a class="el" href="../../df/dc9/exec_8c_source.html#l00153">execFile()</a>, and <a class="el" href="../../df/dc9/exec_8c_source.html#l00340">sysExec()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../db/df4/setpageattributes_8c_a7900e6837133f7d21ac4d2152afb1d63_cgraph.png" border="0" usemap="#db/df4/setpageattributes_8c_a7900e6837133f7d21ac4d2152afb1d63_cgraph" alt=""/></div> <map name="db/df4/setpageattributes_8c_a7900e6837133f7d21ac4d2152afb1d63_cgraph" id="db/df4/setpageattributes_8c_a7900e6837133f7d21ac4d2152afb1d63_cgraph"> <area shape="rect" title=" " alt="" coords="5,5,165,32"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="213,5,273,32"/> </map> </div> </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_012355b06a8b45aa7d4e022ccb130db3.html">vmm</a></li><li class="navelem"><a class="el" href="../../db/df4/setpageattributes_8c.html">setpageattributes.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>