Newer
Older
UbixOS / doc / html / kpanic_8h.html
<!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/kpanic.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&nbsp;Page</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;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>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;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>&nbsp;&raquo&nbsp;<a class="el" href="dir_832905b1f7f5feaf61a306b40c0ac817.html">sys</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_caf4200c438ae9601464168e21e8e4d8.html">include</a>&nbsp;&raquo&nbsp;<a class="el" href="dir_9854bc9d2b9a2a73f32c73e97d31d0f7.html">ubixos</a></div>
<h1>kpanic.h File Reference</h1>
<p>
This graph shows which files directly or indirectly include this file:<p><center><img src="kpanic_8h__dep__incl.png" border="0" usemap="#src/sys/include/ubixos/kpanic.hdep_map" alt=""></center>
<map name="src/sys/include/ubixos/kpanic.hdep_map">
<area href="devfs_8c.html" shape="rect" coords="329,6,492,32" alt="">
<area href="main_8c.html" shape="rect" coords="339,56,483,83" alt="">
<area href="atkbd_8c.html" shape="rect" coords="337,107,484,134" alt="">
<area href="ne2k_8c.html" shape="rect" coords="340,158,481,184" alt="">
<area href="elf_8c.html" shape="rect" coords="337,208,484,235" alt="">
<area href="exec_8c.html" shape="rect" coords="331,259,491,286" alt="">
<area href="kern__sysctl_8c.html" shape="rect" coords="308,310,513,336" alt="">
<area href="kpanic_8c.html" shape="rect" coords="324,360,497,387" alt="">
<area href="ld_8c.html" shape="rect" coords="340,411,481,438" alt="">
<area href="sched_8c.html" shape="rect" coords="325,462,496,488" alt="">
<area href="smp_8c.html" shape="rect" coords="332,512,489,539" alt="">
<area href="systemtask_8c.html" shape="rect" coords="308,563,513,590" alt="">
<area href="tty_8c.html" shape="rect" coords="337,614,484,640" alt="">
<area href="vitals_8c.html" shape="rect" coords="328,664,493,691" alt="">
<area href="kmod_8c.html" shape="rect" coords="325,715,496,742" alt="">
<area href="assert_8c.html" shape="rect" coords="337,766,484,792" alt="">
<area href="kmalloc_8c.html" shape="rect" coords="332,816,489,843" alt="">
<area href="kprintf_8c.html" shape="rect" coords="337,867,484,894" alt="">
<area href="idt_8c.html" shape="rect" coords="347,918,475,944" alt="">
<area href="thread_8c.html" shape="rect" coords="324,968,497,995" alt="">
<area href="ubixfs_8c.html" shape="rect" coords="325,1019,496,1046" alt="">
<area href="ffs_8c.html" shape="rect" coords="348,1070,473,1096" alt="">
<area href="ufs_8c.html" shape="rect" coords="347,1120,475,1147" alt="">
<area href="file_8c.html" shape="rect" coords="347,1171,475,1198" alt="">
<area href="mount_8c.html" shape="rect" coords="335,1222,487,1248" alt="">
<area href="copyvirtualspace_8c.html" shape="rect" coords="292,1272,529,1299" alt="">
<area href="getfreepage_8c.html" shape="rect" coords="308,1323,513,1350" alt="">
<area href="getfreevirtualpage_8c.html" shape="rect" coords="287,1374,535,1400" alt="">
<area href="pagefault_8c.html" shape="rect" coords="317,1424,504,1451" alt="">
<area href="paging_8c.html" shape="rect" coords="327,1475,495,1502" alt="">
<area href="setpageattributes_8c.html" shape="rect" coords="289,1526,532,1552" alt="">
<area href="vmm__init_8c.html" shape="rect" coords="319,1576,503,1603" alt="">
<area href="vmm__memory_8c.html" shape="rect" coords="301,1627,520,1654" alt="">
</map>

<p>
<a href="kpanic_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>Defines</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">#define&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kpanic_8h.html#a5193288597f00c4f8e3b2939aa6c0ce">K_PANIC</a>(msg)&nbsp;&nbsp;&nbsp;kpanic(&quot;Error: (%s), File: %s, Line: %i\n&quot;,msg ,__FILE__,__LINE__);</td></tr>

<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="kpanic_8h.html#db9a182aa071791a306163d50d653deb">kpanic</a> (const char *fmt,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">print panic message and halt system  <a href="#db9a182aa071791a306163d50d653deb"></a><br></td></tr>
</table>
<hr><h2>Define Documentation</h2>
<a class="anchor" name="a5193288597f00c4f8e3b2939aa6c0ce"></a><!-- doxytag: member="kpanic.h::K_PANIC" ref="a5193288597f00c4f8e3b2939aa6c0ce" args="(msg)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define K_PANIC          </td>
          <td>(</td>
          <td class="paramtype">msg&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%">&nbsp;&nbsp;&nbsp;kpanic(&quot;Error: (%s), File: %s, Line: %i\n&quot;,msg ,__FILE__,__LINE__);</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

<p>
Definition at line <a class="el" href="kpanic_8h-source.html#l00033">33</a> of file <a class="el" href="kpanic_8h-source.html">kpanic.h</a>.
<p>
Referenced by <a class="el" href="assert_8c-source.html#l00038">__assert()</a>, <a class="el" href="kern__sysctl_8c-source.html#l00153">__sysctl()</a>, <a class="el" href="devfs_8c-source.html#l00050">devfs_initialize()</a>, <a class="el" href="elf_8c-source.html#l00111">elf_loadfile()</a>, <a class="el" href="exec_8c-source.html#l00143">execFile()</a>, <a class="el" href="atkbd_8c-source.html#l00216">keyboardHandler()</a>, <a class="el" href="ld_8c-source.html#l00042">ldEnable()</a>, <a class="el" href="paging_8c-source.html#l00478">obreak()</a>, <a class="el" href="exec_8c-source.html#l00552">sys_exec()</a>, <a class="el" href="exec_8c-source.html#l00334">sysExec()</a>, <a class="el" href="paging_8c-source.html#l00401">vmm_getFreeMallocPage()</a>, <a class="el" href="vmm__init_8c-source.html#l00041">vmm_init()</a>, <a class="el" href="paging_8c-source.html#l00059">vmm_pagingInit()</a>, <a class="el" href="paging_8c-source.html#l00160">vmm_remapPage()</a>, <a class="el" href="paging_8c-source.html#l00253">vmmGetFreeKernelPage()</a>, <a class="el" href="getfreevirtualpage_8c-source.html#l00047">vmmGetFreeVirtualPage()</a>, and <a class="el" href="paging_8c-source.html#l00332">vmmMapFromTask()</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="db9a182aa071791a306163d50d653deb"></a><!-- doxytag: member="kpanic.h::kpanic" ref="db9a182aa071791a306163d50d653deb" args="(const char *fmt,...)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void kpanic           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&nbsp;</td>
          <td class="paramname"> <em>...</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
print panic message and halt system 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>fmt</em>&nbsp;</td><td>panic message </td></tr>
  </table>
</dl>

<p>
Definition at line <a class="el" href="kpanic_8c-source.html#l00042">42</a> of file <a class="el" href="kpanic_8c-source.html">kpanic.c</a>.
<p>
References <a class="el" href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0">irqDisable()</a>, <a class="el" href="kprintf_8c-source.html#l00038">kprintf()</a>, <a class="el" href="types_8h-source.html#l00036">NULL</a>, <a class="el" href="tty_8c-source.html#l00039">tty_foreground</a>, <a class="el" href="stdarg_8h-source.html#l00043">vaEnd</a>, <a class="el" href="stdarg_8h-source.html#l00035">vaStart</a>, and <a class="el" href="vsprintf_8c-source.html#l00139">vsprintf()</a>.
<p>
Referenced by <a class="el" href="idt_8c-source.html#l00197">_int0()</a>, <a class="el" href="idt_8c-source.html#l00203">_int1()</a>, <a class="el" href="idt_8c-source.html#l00263">_int10()</a>, <a class="el" href="idt_8c-source.html#l00269">_int11()</a>, <a class="el" href="idt_8c-source.html#l00275">_int12()</a>, <a class="el" href="idt_8c-source.html#l00281">_int13()</a>, <a class="el" href="idt_8c-source.html#l00209">_int2()</a>, <a class="el" href="idt_8c-source.html#l00215">_int3()</a>, <a class="el" href="idt_8c-source.html#l00221">_int4()</a>, <a class="el" href="idt_8c-source.html#l00227">_int5()</a>, <a class="el" href="idt_8c-source.html#l00233">_int6()</a>, <a class="el" href="idt_8c-source.html#l00239">_int8()</a>, <a class="el" href="idt_8c-source.html#l00257">_int9()</a>, <a class="el" href="smp_8c-source.html#l00173">cpuidDetect()</a>, <a class="el" href="smp_8c-source.html#l00182">cpuInfo()</a>, <a class="el" href="ne2k_8c-source.html#l00223">dp_recv()</a>, <a class="el" href="exec_8c-source.html#l00143">execFile()</a>, <a class="el" href="exec_8c-source.html#l00055">execThread()</a>, <a class="el" href="kmalloc_8c-source.html#l00067">getEmptyDesc()</a>, <a class="el" href="kmalloc_8c-source.html#l00124">insertFreeDesc()</a>, <a class="el" href="main_8c-source.html#l00097">kmain()</a>, <a class="el" href="kmod_8c-source.html#l00075">kmod_load()</a>, <a class="el" href="ne2k_8c-source.html#l00115">PCtoNIC()</a>, <a class="el" href="ubixfs_8c-source.html#l00194">readUbixFS()</a>, <a class="el" href="sched_8c-source.html#l00069">sched_init()</a>, <a class="el" href="sched_8c-source.html#l00143">schedNewTask()</a>, <a class="el" href="exec_8c-source.html#l00334">sysExec()</a>, <a class="el" href="systemtask_8c-source.html#l00048">systemTask()</a>, <a class="el" href="tty_8c-source.html#l00087">tty_change()</a>, <a class="el" href="tty_8c-source.html#l00042">tty_init()</a>, <a class="el" href="ubixfs_8c-source.html#l00456">ubixfs_init()</a>, <a class="el" href="thread_8c-source.html#l00039">ubixfs_thread()</a>, <a class="el" href="ufs_8c-source.html#l00314">ufs_init()</a>, <a class="el" href="vitals_8c-source.html#l00048">vitals_init()</a>, <a class="el" href="pagefault_8c-source.html#l00053">vmm_pageFault()</a>, <a class="el" href="setpageattributes_8c-source.html#l00041">vmm_setPageAttributes()</a>, <a class="el" href="copyvirtualspace_8c-source.html#l00053">vmmCopyVirtualSpace()</a>, <a class="el" href="vmm__memory_8c-source.html#l00186">vmmFindFreePage()</a>, <a class="el" href="getfreepage_8c-source.html#l00048">vmmGetFreePage()</a>, and <a class="el" href="getfreevirtualpage_8c-source.html#l00047">vmmGetFreeVirtualPage()</a>.
<p>
Here is the call graph for this function:<p><center><img src="kpanic_8h_db9a182aa071791a306163d50d653deb_cgraph.png" border="0" usemap="#kpanic_8h_db9a182aa071791a306163d50d653deb_cgraph_map" alt=""></center>
<map name="kpanic_8h_db9a182aa071791a306163d50d653deb_cgraph_map">
<area href="8259_8h.html#2b9ec30943ddb0a2ef3bd7ccfd2026c0" shape="rect" coords="120,5,211,32" alt="">
<area href="kprint_8h.html#b2761bdf0cca73ad0fb5880895210cd8" shape="rect" coords="132,56,199,83" alt="">
<area href="stdarg_8h.html#621577c2df0ad5faa281223c56eeb7a5" shape="rect" coords="130,107,202,133" alt="">
<area href="vsprintf_8c.html#c2f4c669c6f6aa6caa5ab8adb1b07dd0" shape="rect" coords="263,81,338,108" alt="">
<area href="vsprintf_8c.html#3fa7c8ef8597579301cb4b5c59bc6d9a" shape="rect" coords="260,132,340,159" alt="">
</map>

</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 15 11:21:26 2006 for UbixOS V2 by&nbsp;
<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>