summaryrefslogtreecommitdiff
path: root/other/Kermit/doc/API_doc/html/Patch_8hpp-source.html
diff options
context:
space:
mode:
authorRoot THC2026-02-24 12:42:47 +0000
committerRoot THC2026-02-24 12:42:47 +0000
commitc9cbeced5b3f2bdd7407e29c0811e65954132540 (patch)
treeaefc355416b561111819de159ccbd86c3004cf88 /other/Kermit/doc/API_doc/html/Patch_8hpp-source.html
parent073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff)
initial
Diffstat (limited to 'other/Kermit/doc/API_doc/html/Patch_8hpp-source.html')
-rw-r--r--other/Kermit/doc/API_doc/html/Patch_8hpp-source.html119
1 files changed, 119 insertions, 0 deletions
diff --git a/other/Kermit/doc/API_doc/html/Patch_8hpp-source.html b/other/Kermit/doc/API_doc/html/Patch_8hpp-source.html
new file mode 100644
index 0000000..66340bd
--- /dev/null
+++ b/other/Kermit/doc/API_doc/html/Patch_8hpp-source.html
@@ -0,0 +1,119 @@
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>Patch.hpp Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body bgcolor="#ffffff">
6<!-- Generated by Doxygen 1.2.9.1 -->
7<center>
8<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; </center>
9<hr><h1>Patch.hpp</h1><div class="fragment"><pre>00001 <font class="comment">/*</font>
1000002 <font class="comment"> * Patch.hpp:</font>
1100003 <font class="comment"> * representation of a kernel patch.</font>
1200004 <font class="comment"> * written by palmers / teso</font>
1300005 <font class="comment"> */</font>
1400006 <font class="preprocessor">#ifndef __PATCH_C</font>
1500007 <font class="preprocessor"></font><font class="preprocessor">#define __PATCH_C</font>
1600008 <font class="preprocessor"></font>
1700009 <font class="preprocessor">#include &lt;rwKernel.hpp&gt;</font>
1800010 <font class="preprocessor">#include &lt;SymbolTable.hpp&gt;</font>
1900011 <font class="preprocessor">#include &lt;SystemMap.hpp&gt;</font>
2000012 <font class="preprocessor">#include &lt;stoi16.hpp&gt;</font>
2100013 <font class="preprocessor">#include &lt;itos16.hpp&gt;</font>
2200014 <font class="preprocessor">#include &lt;utility&gt;</font>
2300015 <font class="preprocessor">#include &lt;functional&gt;</font>
2400016 <font class="preprocessor">#include &lt;algorithm&gt;</font>
2500017 <font class="preprocessor">#include &lt;list&gt;</font>
2600018 <font class="preprocessor">#include &lt;fstream&gt;</font>
2700019 <font class="preprocessor">#include &lt;string&gt;</font>
2800020 <font class="preprocessor">#include &lt;name2add.h&gt;</font>
2900021
3000022
3100023 <font class="keyword">typedef</font> pair&lt;unsigned int, unsigned int&gt; Addr2Addr;
3200024 <font class="keyword">typedef</font> list&lt;Addr2Addr *&gt; Addr2AddrList;
3300025
3400026 Addr2AddrList *genReplaceValMap (<a class="code" href="classSymbolTable.html">SymbolTable</a> *st);
3500027 <font class="keywordtype">void</font> genDummyValMap ();
3600028 <font class="keyword">extern</font> <a class="code" href="classSystemMap.html">SystemMap</a> DummyValMap;
3700029
3800030
3900031 <font class="preprocessor">#define CLEAN 1</font>
4000032 <font class="preprocessor"></font><font class="preprocessor">#define LINKED 2</font>
4100033 <font class="preprocessor"></font><font class="preprocessor">#define APPLIED 4</font>
4200034 <font class="preprocessor"></font><font class="preprocessor">#define LFAILED 8</font>
4300035 <font class="preprocessor"></font><font class="preprocessor">#define AFAILED 16</font>
4400036 <font class="preprocessor"></font>
4500037
46<a name="l00050"></a><a class="code" href="classPatch.html">00050</a> <font class="keyword">class </font><a class="code" href="classPatch.html">Patch</a>
4700051 {
4800052 <font class="keyword">private</font>:
4900053 <font class="keywordtype">int</font> state;
5000054 <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font> len;
5100055 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *back_data, *data, *overwr;
5200056 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> address;
5300057 <a class="code" href="classrwKernel.html">rwKernel</a> *local_rw;
5400058
5500059 <font class="keywordtype">bool</font> initObjects (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *, <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font>, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font>, <a class="code" href="classrwKernel.html">rwKernel</a> *);
5600060 string state2string ();
5700061 <font class="keywordtype">void</font> string2state (string);
5800062 string data2string (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *);
5900063 <font class="keywordtype">void</font> string2data (string, <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *);
6000064 <font class="keywordtype">void</font> parse (string);
6100065
6200066 <font class="keyword">public</font>:
6300070 <a class="code" href="classPatch.html#a0">Patch</a> ();
6400071
6500078 <a class="code" href="classPatch.html#a0">Patch</a> (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *data, <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font> len, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> addr);
6600079
6700085 <a class="code" href="classPatch.html#a0">Patch</a> (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *data, <font class="keywordtype">unsigned</font> <font class="keywordtype">short</font> len, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> addr, <a class="code" href="classrwKernel.html">rwKernel</a> *x);
6800086
6900091 <a class="code" href="classPatch.html#a0">Patch</a> (string);
7000092
7100097 <a class="code" href="classPatch.html#a0">Patch</a> (string, <a class="code" href="classrwKernel.html">rwKernel</a> *);
7200098
7300102 <a class="code" href="classPatch.html#a5">~Patch</a> ();
7400103
7500104
7600108 <font class="keywordtype">void</font> <a class="code" href="classPatch.html#a6">initFromString</a> (string);
7700109
7800113 string <a class="code" href="classPatch.html#a7">getPatchAsString</a> ();
7900114
8000119 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a8">wasChanged</a> ();
8100120
8200124 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a9">isLinked</a> ();
8300125
8400129 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a10">isApplied</a> ();
8500130
8600134 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a11">isFailed</a> ();
8700135
8800139 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a12">isClean</a> ();
8900140
9000144 <font class="keywordtype">int</font> <a class="code" href="classPatch.html#a13">getState</a> ();
9100145
9200149 <font class="keywordtype">void</font> <a class="code" href="classPatch.html#a14">restore</a> ();
9300150
9400154 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a15">remove</a> ();
9500155
9600159 <font class="keywordtype">bool</font> <a class="code" href="classPatch.html#a15">remove</a> (<a class="code" href="classrwKernel.html">rwKernel</a> *);
9700160
9800164 <font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *<a class="code" href="classPatch.html#a17">getData</a> ();
9900165
10000171 <font class="keywordtype">void</font> <a class="code" href="classPatch.html#a19">apply</a> (<a class="code" href="classrwKernel.html">rwKernel</a> *);
10100172
10200177 <font class="keywordtype">void</font> <a class="code" href="classPatch.html#a19">apply</a> ();
10300178
10400182 <font class="keywordtype">void</font> <a class="code" href="classPatch.html#a20">link</a> (Addr2AddrList *);
10500183
10600192 <font class="keywordtype">void</font> <a class="code" href="classPatch.html#a21">dump</a> (string file);
10700193
10800197 <font class="keyword">friend</font> istream&amp; <a class="code" href="classPatch.html#l0">operator&gt;&gt; </a>(istream&amp;, <a class="code" href="classPatch.html">Patch</a>&amp;);
10900198
11000202 <font class="keyword">friend</font> ostream&amp; <a class="code" href="classPatch.html#l1">operator&lt;&lt; </a>(ostream&amp;, <a class="code" href="classPatch.html">Patch</a>&amp;);
11100203 };
11200204 <font class="preprocessor">#endif </font><font class="comment">/* __PATCH_C */</font>
113</pre></div><hr><address><small>Generated at Tue Aug 14 18:04:51 2001 for Kermit by
114<a href="http://www.doxygen.org/index.html">
115<img src="doxygen.gif" alt="doxygen" align="middle" border=0
116width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
117 &copy;&nbsp;1997-2001</small></address>
118</body>
119</html>