From c9cbeced5b3f2bdd7407e29c0811e65954132540 Mon Sep 17 00:00:00 2001 From: Root THC Date: Tue, 24 Feb 2026 12:42:47 +0000 Subject: initial --- .../doc/API_doc/html/rwKernel_8hpp-source.html | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html (limited to 'other/Kermit/doc/API_doc/html/rwKernel_8hpp-source.html') 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 @@ + + +rwKernel.hpp Source File + + + +
+Main Page   Compound List   File List   Compound Members  
+

rwKernel.hpp

00001 /*
+00002  * rwKernel.hpp:
+00003  * access to kernel memory.
+00004  * written by palmers / teso
+00005  */
+00006 #ifndef __RW_KERNEL_C
+00007 #define __RW_KERNEL_C
+00008 
+00009 #include <algorithm>
+00010 
+00011 #define PROCKCORE       213
+00012 #define DEVMEM          23846
+00013 
+00014 #define CONF_1GB        34
+00015 #define CONF_2GB        33
+00016 #define CONF_3GB        32
+00017 #define IGNORE          31
+00018 
+00023 class rwKernel
+00024 {
+00025 private:
+00026 
+00027   char *fd;
+00028   int which;
+00029   unsigned int mem_conf;
+00030 
+00031   bool openFile (int);
+00032   void closeFile ();
+00033   void setOffset (int);
+00034 
+00035 
+00036 public:
+00037 
+00043   rwKernel ();
+00044 
+00054   rwKernel (int file, int offset);
+00055 
+00059   ~rwKernel ();
+00060 
+00067   void read (unsigned char *dest, unsigned int len, unsigned int addr);
+00068 
+00075   void write (unsigned char *src, unsigned int len, unsigned int addr);
+00076 
+00080   void read (char *a, unsigned int b, unsigned int c)
+00081   {
+00082     read ((unsigned char *) a, b, c);
+00083   }
+00084 
+00088   void write (char *a, unsigned int b, unsigned int c)
+00089   {
+00090     write ((unsigned char *) a, b, c);
+00091   }
+00092 };
+00093 
+00094 #endif /* __RW_KERNEL_C */
+

Generated at Tue Aug 14 18:04:51 2001 for Kermit by + +doxygen1.2.9.1 written by Dimitri van Heesch, + © 1997-2001
+ + -- cgit v1.3