<!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: arch/i386/bioscall.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('d8/d4c/i386_2bioscall_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">bioscall.c File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <<a class="el" href="../../de/dac/__null_8h_source.html">sys/_null.h</a>></code><br /> <code>#include <<a class="el" href="../../de/d9a/tss_8h_source.html">sys/tss.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="../../d1/d21/vmm_8h_source.html">vmm/vmm.h</a>></code><br /> <code>#include <<a class="el" href="../../d0/dcf/bioscall_8h_source.html">lib/bioscall.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="../../dd/d78/video_8h_source.html">sys/video.h</a>></code><br /> <code>#include <<a class="el" href="../../dc/da7/assert_8h_source.html">assert.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/df4/paging_8h_source.html">vmm/paging.h</a>></code><br /> </div><div class="textblock"><div class="dynheader"> Include dependency graph for bioscall.c:</div> <div class="dyncontent"> <div class="center"><img src="../../d2/dc5/i386_2bioscall_8c__incl.png" border="0" usemap="#arch_2i386_2bioscall_8c" alt=""/></div> <map name="arch_2i386_2bioscall_8c" id="arch_2i386_2bioscall_8c"> <area shape="rect" title=" " alt="" coords="1217,5,1352,32"/> <area shape="rect" href="../../de/dac/__null_8h.html" title=" " alt="" coords="261,80,346,107"/> <area shape="rect" href="../../de/d9a/tss_8h.html" title=" " alt="" coords="5,304,81,331"/> <area shape="rect" href="../../d7/d00/sched_8h.html" title=" " alt="" coords="421,229,532,256"/> <area shape="rect" href="../../d1/d21/vmm_8h.html" title=" " alt="" coords="1198,80,1289,107"/> <area shape="rect" href="../../d4/df4/paging_8h.html" title=" " alt="" coords="1103,155,1205,181"/> <area shape="rect" href="../../d0/dcf/bioscall_8h.html" title=" " alt="" coords="1281,155,1376,181"/> <area shape="rect" href="../../da/d66/string_8h.html" title=" " alt="" coords="1381,453,1447,480"/> <area shape="rect" href="../../dd/d78/video_8h.html" title=" " alt="" coords="1460,229,1547,256"/> <area shape="rect" href="../../dc/da7/assert_8h.html" title=" " alt="" coords="1611,80,1681,107"/> <area shape="rect" href="../../da/d28/kprintf_8h.html" title=" " alt="" coords="1502,80,1587,107"/> <area shape="rect" href="../../d0/d27/include_2sys_2types_8h.html" title=" " alt="" coords="934,603,1025,629"/> <area shape="rect" href="../../d0/d6f/__types_8h.html" title=" " alt="" coords="1101,827,1199,853"/> <area shape="rect" href="../../d9/dab/select_8h.html" title=" " alt="" coords="933,677,1026,704"/> <area shape="rect" href="../../d6/d92/cdefs_8h.html" title=" " alt="" coords="813,752,903,779"/> <area shape="rect" href="../../d6/d30/__timespec_8h.html" title=" " alt="" coords="671,752,789,779"/> <area shape="rect" href="../../df/dc5/__timeval_8h.html" title=" " alt="" coords="927,752,1032,779"/> <area shape="rect" href="../../d6/da4/__sigset_8h.html" title=" " alt="" coords="1056,752,1156,779"/> <area shape="rect" href="../../d6/db4/include_2vfs_2file_8h.html" title=" " alt="" coords="443,304,511,331"/> <area shape="rect" href="../../db/dd5/thread_8h.html" title=" " alt="" coords="957,379,1052,405"/> <area shape="rect" href="../../dd/d71/tty_8h.html" title=" " alt="" coords="253,304,343,331"/> <area shape="rect" href="../../d1/de9/dirCache_8h.html" title=" " alt="" coords="194,528,317,555"/> <area shape="rect" href="../../d3/d73/inode_8h.html" title=" " alt="" coords="543,379,626,405"/> <area shape="rect" href="../../df/d42/ufs_8h.html" title=" " alt="" coords="368,453,439,480"/> <area shape="rect" href="../../d2/d29/mount_8h.html" title=" " alt="" coords="297,379,385,405"/> <area shape="rect" href="../../d7/d0b/trap_8h.html" title=" " alt="" coords="978,453,1058,480"/> <area shape="rect" href="../../df/d92/sys_2signal_8h.html" title=" " alt="" coords="1083,453,1175,480"/> <area shape="rect" href="../../d8/d01/resource_8h.html" title=" " alt="" coords="1469,603,1577,629"/> <area shape="rect" href="../../d6/d35/i386_2cpu_8h.html" title=" " alt="" coords="978,528,1061,555"/> <area shape="rect" href="../../d1/df2/wait_8h.html" title=" " alt="" coords="565,453,663,480"/> <area shape="rect" href="../../d1/d7d/pipe__fs_8h.html" title=" " alt="" coords="687,453,775,480"/> <area shape="rect" href="../../d8/dff/msdos__fs_8h.html" title=" " alt="" coords="800,453,903,480"/> <area shape="rect" href="../../d4/d7e/include_2sys_2device_8h.html" title=" " alt="" coords="443,528,537,555"/> <area shape="rect" href="../../d3/d7e/sysproto__posix_8h.html" title=" " alt="" coords="1029,229,1175,256"/> <area shape="rect" href="../../d6/d90/strings_8h.html" title=" " alt="" coords="1402,528,1474,555"/> <area shape="rect" href="../../d1/d2d/stdarg_8h.html" title=" " alt="" coords="1506,155,1575,181"/> </map> </div> </div> <p><a href="../../d8/d4c/i386_2bioscall_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:a56a172d2268fc10811a0bb180d7c3f49"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d8/d4c/i386_2bioscall_8c.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">Function Documentation</h2> <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="../../d8/d4c/i386_2bioscall_8c_source.html#l00040">40</a> of file <a class="el" href="../../d8/d4c/i386_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> <div class="dynheader"> Here is the call graph for this function:</div> <div class="dyncontent"> <div class="center"><img src="../../d8/d4c/i386_2bioscall_8c_a56a172d2268fc10811a0bb180d7c3f49_cgraph.png" border="0" usemap="#d8/d4c/i386_2bioscall_8c_a56a172d2268fc10811a0bb180d7c3f49_cgraph" alt=""/></div> <map name="d8/d4c/i386_2bioscall_8c_a56a172d2268fc10811a0bb180d7c3f49_cgraph" id="d8/d4c/i386_2bioscall_8c_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_ea9599923402ca8ab47fc3e495999dea.html">arch</a></li><li class="navelem"><a class="el" href="../../dir_e3f47f52fcd882b8ed14fae2e3a37090.html">i386</a></li><li class="navelem"><a class="el" href="../../d8/d4c/i386_2bioscall_8c.html">bioscall.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>