diff options
| author | Root THC | 2026-02-24 12:42:47 +0000 |
|---|---|---|
| committer | Root THC | 2026-02-24 12:42:47 +0000 |
| commit | c9cbeced5b3f2bdd7407e29c0811e65954132540 (patch) | |
| tree | aefc355416b561111819de159ccbd86c3004cf88 /other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html | |
| parent | 073fe4bf9fca6bf40cef2886d75df832ef4b6fca (diff) | |
initial
Diffstat (limited to 'other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html')
| -rw-r--r-- | other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html b/other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html new file mode 100644 index 0000000..4c70fd4 --- /dev/null +++ b/other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html | |||
| @@ -0,0 +1,70 @@ | |||
| 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>rwKernel.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> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Compound Members</a> </center> | ||
| 9 | <hr><h1>rwKernel.hpp</h1><div class="fragment"><pre>00001 <font class="comment">/*</font> | ||
| 10 | 00002 <font class="comment"> * rwKernel.hpp:</font> | ||
| 11 | 00003 <font class="comment"> * access to kernel memory.</font> | ||
| 12 | 00004 <font class="comment"> * written by palmers / teso</font> | ||
| 13 | 00005 <font class="comment"> */</font> | ||
| 14 | 00006 <font class="preprocessor">#ifndef __RW_KERNEL_C</font> | ||
| 15 | 00007 <font class="preprocessor"></font><font class="preprocessor">#define __RW_KERNEL_C</font> | ||
| 16 | 00008 <font class="preprocessor"></font> | ||
| 17 | 00009 <font class="preprocessor">#include <algorithm></font> | ||
| 18 | 00010 | ||
| 19 | 00011 <font class="preprocessor">#define PROCKCORE 213</font> | ||
| 20 | 00012 <font class="preprocessor"></font><font class="preprocessor">#define DEVMEM 23846</font> | ||
| 21 | 00013 <font class="preprocessor"></font> | ||
| 22 | 00014 <font class="preprocessor">#define CONF_1GB 34</font> | ||
| 23 | 00015 <font class="preprocessor"></font><font class="preprocessor">#define CONF_2GB 33</font> | ||
| 24 | 00016 <font class="preprocessor"></font><font class="preprocessor">#define CONF_3GB 32</font> | ||
| 25 | 00017 <font class="preprocessor"></font><font class="preprocessor">#define IGNORE 31</font> | ||
| 26 | 00018 <font class="preprocessor"></font> | ||
| 27 | <a name="l00023"></a><a class="code" href="classrwKernel.html">00023</a> <font class="keyword">class </font><a class="code" href="classrwKernel.html">rwKernel</a> | ||
| 28 | 00024 { | ||
| 29 | 00025 <font class="keyword">private</font>: | ||
| 30 | 00026 | ||
| 31 | 00027 <font class="keywordtype">char</font> *fd; | ||
| 32 | 00028 <font class="keywordtype">int</font> which; | ||
| 33 | 00029 <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> mem_conf; | ||
| 34 | 00030 | ||
| 35 | 00031 <font class="keywordtype">bool</font> openFile (<font class="keywordtype">int</font>); | ||
| 36 | 00032 <font class="keywordtype">void</font> closeFile (); | ||
| 37 | 00033 <font class="keywordtype">void</font> setOffset (<font class="keywordtype">int</font>); | ||
| 38 | 00034 | ||
| 39 | 00035 | ||
| 40 | 00036 <font class="keyword">public</font>: | ||
| 41 | 00037 | ||
| 42 | 00043 <a class="code" href="classrwKernel.html#a0">rwKernel</a> (); | ||
| 43 | 00044 | ||
| 44 | 00054 <a class="code" href="classrwKernel.html#a0">rwKernel</a> (<font class="keywordtype">int</font> file, <font class="keywordtype">int</font> offset); | ||
| 45 | 00055 | ||
| 46 | 00059 <a class="code" href="classrwKernel.html#a2">~rwKernel</a> (); | ||
| 47 | 00060 | ||
| 48 | 00067 <font class="keywordtype">void</font> <a class="code" href="classrwKernel.html#a3">read</a> (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *dest, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> len, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> addr); | ||
| 49 | 00068 | ||
| 50 | 00075 <font class="keywordtype">void</font> <a class="code" href="classrwKernel.html#a4">write</a> (<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *src, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> len, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> addr); | ||
| 51 | 00076 | ||
| 52 | <a name="l00080"></a><a class="code" href="classrwKernel.html#a5">00080</a> <font class="keywordtype">void</font> <a class="code" href="classrwKernel.html#a3">read</a> (<font class="keywordtype">char</font> *a, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> b, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> c)<font class="keyword"></font> | ||
| 53 | 00081 <font class="keyword"> </font>{ | ||
| 54 | 00082 <a class="code" href="classrwKernel.html#a3">read</a> ((<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *) a, b, c); | ||
| 55 | 00083 } | ||
| 56 | 00084 | ||
| 57 | <a name="l00088"></a><a class="code" href="classrwKernel.html#a6">00088</a> <font class="keywordtype">void</font> <a class="code" href="classrwKernel.html#a4">write</a> (<font class="keywordtype">char</font> *a, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> b, <font class="keywordtype">unsigned</font> <font class="keywordtype">int</font> c)<font class="keyword"></font> | ||
| 58 | 00089 <font class="keyword"> </font>{ | ||
| 59 | 00090 <a class="code" href="classrwKernel.html#a4">write</a> ((<font class="keywordtype">unsigned</font> <font class="keywordtype">char</font> *) a, b, c); | ||
| 60 | 00091 } | ||
| 61 | 00092 }; | ||
| 62 | 00093 | ||
| 63 | 00094 <font class="preprocessor">#endif </font><font class="comment">/* __RW_KERNEL_C */</font> | ||
| 64 | </pre></div><hr><address><small>Generated at Tue Aug 14 18:04:51 2001 for Kermit by | ||
| 65 | <a href="http://www.doxygen.org/index.html"> | ||
| 66 | <img src="doxygen.gif" alt="doxygen" align="middle" border=0 | ||
| 67 | width=110 height=53></a>1.2.9.1 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>, | ||
| 68 | © 1997-2001</small></address> | ||
| 69 | </body> | ||
| 70 | </html> | ||
