templeos-info/public/Wb/Kernel/KExts.HC.HTML

141 lines
32 KiB
Plaintext
Raw Normal View History

2024-03-24 21:24:44 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="generator" content="TempleOS V5.03">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="/style/templeos.css">
<script src="/script/templeos.js"></script>
<style type="text/css">
.cF0{color:#000000;background-color:#ffffff;}
.cF1{color:#0000aa;background-color:#ffffff;}
.cF2{color:#00aa00;background-color:#ffffff;}
.cF3{color:#00aaaa;background-color:#ffffff;}
.cF4{color:#aa0000;background-color:#ffffff;}
.cF5{color:#aa00aa;background-color:#ffffff;}
.cF6{color:#aa5500;background-color:#ffffff;}
.cF7{color:#aaaaaa;background-color:#ffffff;}
.cF8{color:#555555;background-color:#ffffff;}
.cF9{color:#5555ff;background-color:#ffffff;}
.cFA{color:#55ff55;background-color:#ffffff;}
.cFB{color:#55ffff;background-color:#ffffff;}
.cFC{color:#ff5555;background-color:#ffffff;}
.cFD{color:#ff55ff;background-color:#ffffff;}
.cFE{color:#ffff55;background-color:#ffffff;}
.cFF{color:#ffffff;background-color:#ffffff;}
</style>
</head>
<body>
<pre id="content">
<a name="l1"></a><span class=cF2>/*</span><span class=cF0>
<a name="l2"></a></span><span class=cF2>If you are sure a fun won't be called</span><span class=cF0>
<a name="l3"></a></span><span class=cF2>before import is resolved, you can use</span><span class=cF0>
<a name="l4"></a></span><span class=cF2>&quot;import&quot;. Otherwise, use a fun pointer</span><span class=cF0>
<a name="l5"></a></span><span class=cF2>var and check it before calling.</span><span class=cF0>
<a name="l6"></a></span><span class=cF2>*/</span><span class=cF0>
<a name="l7"></a></span><span class=cF1>import</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>ClassRep</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *_d,</span><span class=cF1>U8</span><span class=cF0> *class_name=</span><span class=cF1>lastclass</span><span class=cF0>,
<a name="l8"></a> </span><span class=cF9>I64</span><span class=cF0> max_depth=2,</span><span class=cF1>Bool</span><span class=cF0> fun=</span><span class=cF3>FALSE</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> </span><span class=cF1>offset</span><span class=cF0>=0);
<a name="l9"></a></span><span class=cF1>import</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>DocSave</span><span class=cF0>(</span><span class=cF9>CDoc</span><span class=cF0> *doc,</span><span class=cF9>I64</span><span class=cF0> *_size=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l10"></a></span><span class=cF1>import</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>DocUnlock</span><span class=cF0>(</span><span class=cF9>CDoc</span><span class=cF0> *doc);
<a name="l11"></a></span><span class=cF1>import</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>Ed</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *link_st,</span><span class=cF9>I64</span><span class=cF0> edf_dof_flags=0);
<a name="l12"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>AdamErr</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l13"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>AdamLog</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l14"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cFD>BIOSTotalMem</span><span class=cF0>();
<a name="l15"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>BlkDevAdd</span><span class=cF0>(</span><span class=cF9>CBlkDev</span><span class=cF0> *bd,</span><span class=cF9>I64</span><span class=cF0> prt_num=</span><span class=cF3>I64_MIN</span><span class=cF0>,
<a name="l16"></a> </span><span class=cF1>Bool</span><span class=cF0> whole_drv,</span><span class=cF1>Bool</span><span class=cF0> make_free);
<a name="l17"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CBlkDev</span><span class=cF0> *</span><span class=cF5>BlkDevChk</span><span class=cF0>(</span><span class=cF9>CBlkDev</span><span class=cF0> *bd,</span><span class=cF1>Bool</span><span class=cF0> except=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l18"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>BlkDevLock</span><span class=cF0>(</span><span class=cF9>CBlkDev</span><span class=cF0> *bd);
<a name="l19"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CBlkDev</span><span class=cF0> *</span><span class=cF5>BlkDevNextFreeSlot</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> first_drv_let,</span><span class=cF9>I64</span><span class=cF0> type);
<a name="l20"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>BlkDevUnlock</span><span class=cF0>(</span><span class=cF9>CBlkDev</span><span class=cF0> *bd,</span><span class=cF1>Bool</span><span class=cF0> rst=</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l21"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>BlkDevsRelease</span><span class=cF0>();
<a name="l22"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>BlkRead</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF1>U8</span><span class=cF0> *buf, </span><span class=cF9>I64</span><span class=cF0> blk, </span><span class=cF9>I64</span><span class=cF0> cnt);
<a name="l23"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>BlkWrite</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF1>U8</span><span class=cF0> *buf, </span><span class=cF9>I64</span><span class=cF0> blk, </span><span class=cF9>I64</span><span class=cF0> cnt);
<a name="l24"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>Caller</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> num=1);
<a name="l25"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>CatPrint</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *_dst,</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l26"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>Cd</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *dirname=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF1>Bool</span><span class=cF0> make_dirs=</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l27"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>DbgHelp</span><span class=cF0>();
<a name="l28"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>Define</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *dname);
<a name="l29"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>DefineMatch</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *needle,</span><span class=cF1>U8</span><span class=cF0> *haystack_lst_dname,</span><span class=cF9>I64</span><span class=cF0> flags=0);
<a name="l30"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>DefineSub</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> sub,</span><span class=cF1>U8</span><span class=cF0> *dname);
<a name="l31"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>Del</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *files_find_mask,</span><span class=cF1>Bool</span><span class=cF0> make_mask=</span><span class=cF3>FALSE</span><span class=cF0>,
<a name="l32"></a> </span><span class=cF1>Bool</span><span class=cF0> del_dir=</span><span class=cF3>FALSE</span><span class=cF0>,</span><span class=cF1>Bool</span><span class=cF0> print_msg=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l33"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>DirMk</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *filename,</span><span class=cF9>I64</span><span class=cF0> entry_cnt=0);
<a name="l34"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>Drv</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let);
<a name="l35"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> </span><span class=cF5>Drv2Let</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l36"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>DrvBlkDevDel</span><span class=cF0>(</span><span class=cF9>CBlkDev</span><span class=cF0> *bd);
<a name="l37"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CDrv</span><span class=cF0> *</span><span class=cF5>DrvChk</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF1>Bool</span><span class=cF0> except=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l38"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> </span><span class=cF5>DrvTextAttrGet</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let=0);
<a name="l39"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>DrvTypeSet</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let,</span><span class=cF9>I64</span><span class=cF0> type=</span><span class=cF3>FSt_REDSEA</span><span class=cF0>);
<a name="l40"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>DrvsRelease</span><span class=cF0>();
<a name="l41"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>DskCacheInvalidate</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv);
<a name="l42"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>Exit</span><span class=cF0>();
<a name="l43"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>ExtDft</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *filename,</span><span class=cF1>U8</span><span class=cF0> *extension);
<a name="l44"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cFD>FAT32AllocClus</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF9>I64</span><span class=cF0> c,</span><span class=cF9>I64</span><span class=cF0> cnt);
<a name="l45"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cFD>FAT32AllocContiguousClus</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF9>I64</span><span class=cF0> cnt);
<a name="l46"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>FAT32DirNew</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF1>U8</span><span class=cF0> *cur_dir,</span><span class=cF9>CDirEntry</span><span class=cF0> *tmpde,
<a name="l47"></a> </span><span class=cF1>Bool</span><span class=cF0> free_old_chain);
<a name="l48"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>FAT32FileFind</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF9>I64</span><span class=cF0> cur_dir_clus,</span><span class=cF1>U8</span><span class=cF0> *name,
<a name="l49"></a> </span><span class=cF9>CDirEntry</span><span class=cF0> *_res,</span><span class=cF9>I64</span><span class=cF0> fuf_flags=0);
<a name="l50"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>FAT32Init</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv);
<a name="l51"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>FBlkRead</span><span class=cF0>(</span><span class=cF9>CFile</span><span class=cF0> *f,</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>I64</span><span class=cF0> blk=</span><span class=cF3>FFB_NEXT_BLK</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> cnt=1);
<a name="l52"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>FBlkWrite</span><span class=cF0>(</span><span class=cF9>CFile</span><span class=cF0> *f,</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>I64</span><span class=cF0> blk=</span><span class=cF3>FFB_NEXT_BLK</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> cnt=1);
<a name="l53"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>FClose</span><span class=cF0>(</span><span class=cF9>CFile</span><span class=cF0> *f);
<a name="l54"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CFile</span><span class=cF0> *</span><span class=cF5>FOpen</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *filename,</span><span class=cF1>U8</span><span class=cF0> *flags,</span><span class=cF9>I64</span><span class=cF0> cnt=0);
<a name="l55"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>FileExtRem</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *src,</span><span class=cF1>U8</span><span class=cF0> *dst=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l56"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>FileFind</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *filename,</span><span class=cF9>CDirEntry</span><span class=cF0> *_de=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> fuf_flags=0);
<a name="l57"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>FileNameAbs</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *_filename,</span><span class=cF9>I64</span><span class=cF0> fuf_flags=0);
<a name="l58"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>FileRead</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *filename,</span><span class=cF9>I64</span><span class=cF0> *_size=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> *_attr=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l59"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>FileWrite</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *filename,</span><span class=cF1>U8</span><span class=cF0> *fbuf,</span><span class=cF9>I64</span><span class=cF0> size,</span><span class=cF9>CDate</span><span class=cF0> cdt=0,</span><span class=cF9>I64</span><span class=cF0> attr=0);
<a name="l60"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>FlushMsgs</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l61"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>GetChar</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> *_scan_code=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF1>Bool</span><span class=cF0> echo=</span><span class=cF3>TRUE</span><span class=cF0>,</span><span class=cF1>Bool</span><span class=cF0> raw_cursor=</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l62"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>GetS</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>I64</span><span class=cF0> size,</span><span class=cF1>Bool</span><span class=cF0> allow_ext=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l63"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CHeapCtrl</span><span class=cF0> *</span><span class=cF5>HeapCtrlInit</span><span class=cF0>(</span><span class=cF9>CHeapCtrl</span><span class=cF0> *hc=</span><span class=cF3>NULL</span><span class=cF0>,
<a name="l64"></a> </span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF9>CBlkPool</span><span class=cF0> *bp);
<a name="l65"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>ISOInit</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF9>I64</span><span class=cF0> blk);
<a name="l66"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>IsDbgMode</span><span class=cF0>();
<a name="l67"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>IsDir</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *dir_name);
<a name="l68"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>IsRaw</span><span class=cF0>();
<a name="l69"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>JobCtrlInit</span><span class=cF0>(</span><span class=cF9>CJobCtrl</span><span class=cF0> *ctrl);
<a name="l70"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>JobDel</span><span class=cF0>(</span><span class=cF9>CJob</span><span class=cF0> *tmpc);
<a name="l71"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>JobQueDel</span><span class=cF0>(</span><span class=cF9>CJob</span><span class=cF0> *head);
<a name="l72"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>JobsHndlr</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> run_flags,</span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l73"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CBlkDev</span><span class=cF0> *</span><span class=cF5>Let2BlkDev</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let=0,</span><span class=cF1>Bool</span><span class=cF0> except=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l74"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>Let2BlkDevType</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let);
<a name="l75"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CDrv</span><span class=cF0> *</span><span class=cF5>Let2Drv</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let=0,</span><span class=cF1>Bool</span><span class=cF0> except=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l76"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> </span><span class=cF5>Let2Let</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let=0);
<a name="l77"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>MPInt</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> num,</span><span class=cF9>I64</span><span class=cF0> cpu_num=1);
<a name="l78"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>MStrPrint</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l79"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>MsHardSet</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> x,</span><span class=cF9>I64</span><span class=cF0> y,</span><span class=cF9>I64</span><span class=cF0> z,</span><span class=cF9>I64</span><span class=cF0> l,</span><span class=cF9>I64</span><span class=cF0> r);
<a name="l80"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>Msg</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> msg_code,</span><span class=cF9>I64</span><span class=cF0> arg1,</span><span class=cF9>I64</span><span class=cF0> arg2,</span><span class=cF9>I64</span><span class=cF0> flags=0);
<a name="l81"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>Panic</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *msg=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> msg_num=0,</span><span class=cF1>Bool</span><span class=cF0> panic=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l82"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cF5>PopUp</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>CTask</span><span class=cF0> *parent=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF9>CTask</span><span class=cF0> **_pu_task=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l83"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>Print</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l84"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>PutChars</span><span class=cF0>(</span><span class=cF9>U64</span><span class=cF0> ch);
<a name="l85"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>PutS</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *st); </span><span class=cF2>//Use </span><a href="/Wb/Kernel/StrPrint.HC.HTML#l890"><span class=cF4>Print</span></a><span class=cF2>()</span><span class=cF0>
<a name="l86"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>I64</span><span class=cF0> </span><span class=cFD>RedSeaAllocClus</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF9>I64</span><span class=cF0> cnt);
<a name="l87"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>RedSeaDirNew</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF1>U8</span><span class=cF0> *cur_dir,</span><span class=cF9>CDirEntry</span><span class=cF0> *tmpde,
<a name="l88"></a> </span><span class=cF1>Bool</span><span class=cF0> free_old_chain);
<a name="l89"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>RedSeaFileFind</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv,</span><span class=cF9>I64</span><span class=cF0> cur_dir_clus,</span><span class=cF1>U8</span><span class=cF0> *name,
<a name="l90"></a> </span><span class=cF9>CDirEntry</span><span class=cF0> *_res,</span><span class=cF9>I64</span><span class=cF0> fuf_flags=0);
<a name="l91"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>RedSeaFmt</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let,</span><span class=cF1>Bool</span><span class=cF0> quick=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l92"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>RedSeaFreeFreeLst</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv);
<a name="l93"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>RedSeaInit</span><span class=cF0>(</span><span class=cF9>CDrv</span><span class=cF0> *dv);
<a name="l94"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cFD>RedSeaValidate</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> drv_let);
<a name="l95"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CTask</span><span class=cF0> *</span><span class=cF5>SpawnQue</span><span class=cF0>(</span><span class=cF1>U0</span><span class=cF0> </span><span class=cF7>(</span><span class=cF0>*fp_addr</span><span class=cF7>)(</span><span class=cF1>U8</span><span class=cF0> *data</span><span class=cF7>)</span><span class=cF0>,</span><span class=cF1>U8</span><span class=cF0> *data=</span><span class=cF3>NULL</span><span class=cF0>,
<a name="l96"></a> </span><span class=cF1>U8</span><span class=cF0> *task_name=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF9>I64</span><span class=cF0> target_cpu,</span><span class=cF9>CTask</span><span class=cF0> *parent=</span><span class=cF3>NULL</span><span class=cF0>, </span><span class=cF2>//NULL means adam</span><span class=cF0>
<a name="l97"></a> </span><span class=cF9>I64</span><span class=cF0> stk_size=0,</span><span class=cF9>I64</span><span class=cF0> flags=1&lt;&lt;</span><span class=cF3>JOBf_ADD_TO_QUE</span><span class=cF0>);
<a name="l98"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U8</span><span class=cF0> *</span><span class=cF5>StrPrint</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *dst,</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l99"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cFD>StrPrintFunSeg</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *buf,</span><span class=cF9>I64</span><span class=cF0> addr,</span><span class=cF9>I64</span><span class=cF0> field_len,</span><span class=cF9>I64</span><span class=cF0> flags);
<a name="l100"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>Suspend</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF1>Bool</span><span class=cF0> state=</span><span class=cF3>TRUE</span><span class=cF0>);
<a name="l101"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CJob</span><span class=cF0> *</span><span class=cF5>TaskMsg</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *_srv,</span><span class=cF9>CTask</span><span class=cF0> *master,
<a name="l102"></a> </span><span class=cF9>I64</span><span class=cF0> msg_code,</span><span class=cF9>I64</span><span class=cF0> arg1,</span><span class=cF9>I64</span><span class=cF0> arg2,</span><span class=cF9>I64</span><span class=cF0> flags);
<a name="l103"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>TaskRstAwaitingMsg</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF3>NULL</span><span class=cF0>);
<a name="l104"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>Bool</span><span class=cF0> </span><span class=cF5>TaskValidate</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task);
<a name="l105"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>TaskWait</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task=</span><span class=cF3>NULL</span><span class=cF0>,</span><span class=cF1>Bool</span><span class=cF0> cmd_line_pmt=</span><span class=cF3>FALSE</span><span class=cF0>);
<a name="l106"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF9>CTask</span><span class=cF0> *</span><span class=cF5>User</span><span class=cF0>(</span><span class=cF1>U8</span><span class=cF0> *fmt=</span><span class=cF3>NULL</span><span class=cF0>,...);
<a name="l107"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>UserTaskCont</span><span class=cF0>();
<a name="l108"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>XTalk</span><span class=cF0>(</span><span class=cF9>CTask</span><span class=cF0> *task,</span><span class=cF1>U8</span><span class=cF0> *fmt,...);
<a name="l109"></a></span><span class=cF1>extern</span><span class=cF0> </span><span class=cF1>U0</span><span class=cF0> </span><span class=cF5>throw</span><span class=cF0>(</span><span class=cF9>I64</span><span class=cF0> ch=0,</span><span class=cF1>Bool</span><span class=cF0> no_log=</span><span class=cF3>FALSE</span><span class=cF0>);
</span></pre></body>
</html>