<!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: include/lib/bioscall.h 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('d0/dcf/bioscall_8h.html','../../');}); /* @license-end */ </script> <div id="doc-content"> <div class="header"> <div class="summary"> <a href="#define-members">Macros</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">bioscall.h 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 /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for bioscall.h:</div> <div class="dyncontent"> <div class="center"><img src="../../d9/d5f/bioscall_8h__incl.png" border="0" usemap="#include_2lib_2bioscall_8h" alt=""/></div> <map name="include_2lib_2bioscall_8h" id="include_2lib_2bioscall_8h"> <area shape="rect" title=" " alt="" coords="5,5,144,32"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="29,80,120,107"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="189,304,286,331"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="127,155,220,181"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="65,229,154,256"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="178,229,297,256"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="321,229,426,256"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="450,229,550,256"/> </map> </div> </div><div class="textblock"><div class="dynheader"> This graph shows which files directly or indirectly include this file:</div> <div class="dyncontent"> <div class="center"><img src="../../dd/d3c/bioscall_8h__dep__incl.png" border="0" usemap="#include_2lib_2bioscall_8hdep" alt=""/></div> <map name="include_2lib_2bioscall_8hdep" id="include_2lib_2bioscall_8hdep"> <area shape="rect" title=" " alt="" coords="364,5,503,32"/> <area shape="rect" href="../../dd/d80/armv6_2bioscall_8c.html" title=" " alt="" coords="5,80,149,107"/> <area shape="rect" href="../../dc/d2e/armv6_2systemtask_8c.html" title=" " alt="" coords="173,80,341,107"/> <area shape="rect" href="../../d8/d4c/i386_2bioscall_8c.html" title=" " alt="" coords="366,80,501,107"/> <area shape="rect" href="../../d3/dd3/i386_2systemtask_8c.html" title=" " alt="" coords="525,80,683,107"/> <area shape="rect" href="../../de/d1c/ogDisplay__UbixOS_8cc.html" title=" " alt="" coords="707,80,882,107"/> </map> </div> </div> <p><a href="../../d0/dcf/bioscall_8h_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="define-members"></a> Macros</h2></td></tr> <tr class="memitem:a9e06d707701fc3d835d8d0d366476d77"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcf/bioscall_8h.html#a9e06d707701fc3d835d8d0d366476d77">EFLAG_IF</a>   0x200</td></tr> <tr class="separator:a9e06d707701fc3d835d8d0d366476d77"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afe40449df15f3e7b2514a8f742767e91"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcf/bioscall_8h.html#afe40449df15f3e7b2514a8f742767e91">EFLAG_IOPL3</a>   0x3000</td></tr> <tr class="separator:afe40449df15f3e7b2514a8f742767e91"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a186a5896d65606ffa3211a7f4b2cfa82"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcf/bioscall_8h.html#a186a5896d65606ffa3211a7f4b2cfa82">EFLAG_TF</a>   0x100</td></tr> <tr class="separator:a186a5896d65606ffa3211a7f4b2cfa82"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac853c10e3eb19188c6b3b8d3ff6914e2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcf/bioscall_8h.html#ac853c10e3eb19188c6b3b8d3ff6914e2">EFLAG_VM</a>   0x20000</td></tr> <tr class="separator:ac853c10e3eb19188c6b3b8d3ff6914e2"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> Functions</h2></td></tr> <tr class="memitem:adf2fd035ba4b30f8a71326f4685959d6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcf/bioscall_8h.html#adf2fd035ba4b30f8a71326f4685959d6">bios16Code</a> ()</td></tr> <tr class="separator:adf2fd035ba4b30f8a71326f4685959d6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a56a172d2268fc10811a0bb180d7c3f49"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d0/dcf/bioscall_8h.html#a56a172d2268fc10811a0bb180d7c3f49">biosCall</a> (int biosInt, int eax, int ebx, int ecx, int edx, int esi, int edi, int es, int ds)</td></tr> <tr class="separator:a56a172d2268fc10811a0bb180d7c3f49"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Macro Definition Documentation</h2> <a id="a9e06d707701fc3d835d8d0d366476d77"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9e06d707701fc3d835d8d0d366476d77">◆ </a></span>EFLAG_IF</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EFLAG_IF   0x200</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d0/dcf/bioscall_8h_source.html#l00035">35</a> of file <a class="el" href="../../d0/dcf/bioscall_8h_source.html">bioscall.h</a>.</p> </div> </div> <a id="afe40449df15f3e7b2514a8f742767e91"></a> <h2 class="memtitle"><span class="permalink"><a href="#afe40449df15f3e7b2514a8f742767e91">◆ </a></span>EFLAG_IOPL3</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EFLAG_IOPL3   0x3000</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d0/dcf/bioscall_8h_source.html#l00036">36</a> of file <a class="el" href="../../d0/dcf/bioscall_8h_source.html">bioscall.h</a>.</p> </div> </div> <a id="a186a5896d65606ffa3211a7f4b2cfa82"></a> <h2 class="memtitle"><span class="permalink"><a href="#a186a5896d65606ffa3211a7f4b2cfa82">◆ </a></span>EFLAG_TF</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EFLAG_TF   0x100</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d0/dcf/bioscall_8h_source.html#l00034">34</a> of file <a class="el" href="../../d0/dcf/bioscall_8h_source.html">bioscall.h</a>.</p> </div> </div> <a id="ac853c10e3eb19188c6b3b8d3ff6914e2"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac853c10e3eb19188c6b3b8d3ff6914e2">◆ </a></span>EFLAG_VM</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define EFLAG_VM   0x20000</td> </tr> </table> </div><div class="memdoc"> <p class="definition">Definition at line <a class="el" href="../../d0/dcf/bioscall_8h_source.html#l00037">37</a> of file <a class="el" href="../../d0/dcf/bioscall_8h_source.html">bioscall.h</a>.</p> </div> </div> <h2 class="groupheader">Function Documentation</h2> <a id="adf2fd035ba4b30f8a71326f4685959d6"></a> <h2 class="memtitle"><span class="permalink"><a href="#adf2fd035ba4b30f8a71326f4685959d6">◆ </a></span>bios16Code()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void bios16Code </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p class="reference">Referenced by <a class="el" href="../../dd/d80/armv6_2bioscall_8c_source.html#l00049">biosCall()</a>.</p> </div> </div> <a id="a56a172d2268fc10811a0bb180d7c3f49"></a> <h2 class="memtitle"><span class="permalink"><a href="#a56a172d2268fc10811a0bb180d7c3f49">◆ </a></span>biosCall()</h2> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void biosCall </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>biosInt</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>eax</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>ebx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>ecx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>edx</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>esi</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>edi</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>es</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>ds</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="../../dd/d80/armv6_2bioscall_8c_source.html#l00049">49</a> of file <a class="el" href="../../dd/d80/armv6_2bioscall_8c_source.html">bioscall.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="../../de/d9a/tss_8h_source.html#l00035">tssStruct::back_link</a>, <a class="el" href="../../d0/dcf/bioscall_8h.html#adf2fd035ba4b30f8a71326f4685959d6">bios16Code()</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00046">tssStruct::cr3</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00056">tssStruct::cs</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00060">tssStruct::ds</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00049">tssStruct::eax</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00051">tssStruct::ebp</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00049">tssStruct::ebx</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00049">tssStruct::ecx</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00053">tssStruct::edi</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00049">tssStruct::edx</a>, <a class="el" href="../../d0/dcf/bioscall_8h_source.html#l00035">EFLAG_IF</a>, <a class="el" href="../../d0/dcf/bioscall_8h_source.html#l00037">EFLAG_VM</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00048">tssStruct::eflags</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00047">tssStruct::eip</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00054">tssStruct::es</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00052">tssStruct::esi</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00050">tssStruct::esp</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00037">tssStruct::esp0</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00040">tssStruct::esp1</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00043">tssStruct::esp2</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00062">tssStruct::fs</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00064">tssStruct::gs</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00063">taskStruct::id</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00069">tssStruct::io_map</a>, <a class="el" href="../../de/d38/paging_8c_source.html#l00041">kernelPageDirectory</a>, <a class="el" href="../../d3/d1a/kmalloc_8c_source.html#l00241">kmalloc()</a>, <a class="el" href="../../df/d87/kprintf_8c_source.html#l00259">kprintf()</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00066">tssStruct::ldt</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00069">taskStruct::oInfo</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00047">READY</a>, <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00244">sched_yield()</a>, <a class="el" href="../../d3/d02/armv6_2sched_8c_source.html#l00135">schedNewTask()</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00058">tssStruct::ss</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00038">tssStruct::ss0</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00041">tssStruct::ss1</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00044">tssStruct::ss2</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00072">taskStruct::state</a>, <a class="el" href="../../de/d9a/tss_8h_source.html#l00068">tssStruct::trace_bitmap</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00067">taskStruct::tss</a>, <a class="el" href="../../d7/d00/sched_8h_source.html#l00052">osInfo::v86Task</a>, and <a class="el" href="../../de/d38/paging_8c_source.html#l00291">vmm_getFreeKernelPage()</a>.</p> <p class="reference">Referenced by <a class="el" href="../../de/d1c/ogDisplay__UbixOS_8cc_source.html#l00065">ogDisplay_UbixOS::GetModeInfo()</a>, <a class="el" href="../../de/d1c/ogDisplay__UbixOS_8cc_source.html#l00070">ogDisplay_UbixOS::GetVESAInfo()</a>, <a class="el" href="../../de/d1c/ogDisplay__UbixOS_8cc_source.html#l00047">initVESAMode()</a>, and <a class="el" href="../../dc/d2e/armv6_2systemtask_8c_source.html#l00047">systemTask()</a>.</p> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d0/dcf/bioscall_8h_a56a172d2268fc10811a0bb180d7c3f49_cgraph.png" border="0" usemap="#d0/dcf/bioscall_8h_a56a172d2268fc10811a0bb180d7c3f49_cgraph" alt=""/></div> <map name="d0/dcf/bioscall_8h_a56a172d2268fc10811a0bb180d7c3f49_cgraph" id="d0/dcf/bioscall_8h_a56a172d2268fc10811a0bb180d7c3f49_cgraph"> <area shape="rect" title=" " alt="" coords="5,260,73,287"/> <area shape="rect" href="../../d0/dcf/bioscall_8h.html#adf2fd035ba4b30f8a71326f4685959d6" title=" " alt="" coords="159,5,250,32"/> <area shape="rect" href="../../d4/d03/kmalloc_8h.html#a150eab2ac4ce4553e21ca10e7f441762" title=" " alt="" coords="171,297,238,324"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a08933fe6d593a1c78b9080359f15a0b7" title=" " alt="" coords="838,157,929,184"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a20b56810edb62a6fe59917015c30848f" title=" " alt="" coords="176,221,233,248"/> <area shape="rect" href="../../d3/d02/armv6_2sched_8c.html#a92458df2063761371869cdfe0c9b4ee3" title=" " alt="" coords="149,512,260,539"/> <area shape="rect" href="../../d4/df4/paging_8h.html#a3615feeeee9f4038cd1070372ccba22e" title=" " alt="" coords="121,461,288,488"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a71f03d2ba55111c715b6068254847a53" title=" " alt="" coords="715,335,789,361"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#a740766af5da58616f700fffab6768a78" title=" " alt="" coords="837,335,929,361"/> <area shape="rect" href="../../dd/d78/video_8h.html#a5429378b96a24fadfd2d1f8d777eb95a" title=" " alt="" coords="384,157,439,184"/> <area shape="rect" href="../../df/d87/kprintf_8c.html#a3093cdac4668a4ccffdd7f77270888b7" title=" " alt="" coords="380,208,443,235"/> <area shape="rect" href="../../da/d28/kprintf_8h.html#a3b4a66bf1f6583e65660f281b6014aa1" title=" " alt="" coords="378,259,445,285"/> <area shape="rect" href="../../dc/dac/io_8h.html#a77b934268de1b3ecdcf3f275413b3108" title="input one byte from specified port" alt="" coords="560,157,641,184"/> <area shape="rect" href="../../dc/dac/io_8h.html#a8acc1a06073db2e7b92ffbd00fbd0cf1" title="outputut one byte to specified port" alt="" coords="556,208,645,235"/> <area shape="rect" href="../../dd/d71/tty_8h.html#a4f96ccac7e60296ef496008d8cbed0ff" title=" " alt="" coords="569,259,633,285"/> <area shape="rect" href="../../dd/d71/tty_8h.html#ad96f57a7c113d3cfa76ee5fed6de33c0" title=" " alt="" coords="566,107,635,133"/> <area shape="rect" href="../../dc/d94/armv6_2kpanic_8c.html#adb9a182aa071791a306163d50d653deb" title="print panic message and halt system" alt="" coords="722,537,782,564"/> <area shape="rect" href="../../dc/d88/armv6_2spinlock_8c.html#ae29ab191c93f9ead066cb462dd2e7247" title=" " alt="" coords="368,512,455,539"/> <area shape="rect" href="../../d1/d21/vmm_8h.html#acba8d9cc298370338bc5bea5187183b2" title=" " alt="" coords="339,613,483,640"/> <area shape="rect" href="../../d1/d21/vmm_8h.html#ab8e4e189a7b1df2a03072ce5b75c89fe" title=" " alt="" coords="535,487,667,513"/> <area shape="rect" href="../../de/d38/paging_8c.html#a8350aa43ff69829ba667ca34d9bcaa7a" title=" " alt="" coords="336,563,487,589"/> <area shape="rect" href="../../de/d38/paging_8c.html#ad6c3897473d837504f3d1415fb8ab796" title=" " alt="" coords="539,411,662,437"/> </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_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="../../dir_a61f22007e0f347cded0d82030ee545d.html">lib</a></li><li class="navelem"><a class="el" href="../../d0/dcf/bioscall_8h.html">bioscall.h</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>