#include <rwKernel.hpp>
Public Methods | |
| rwKernel () | |
| Create the object with a fairly standard configuration. More... | |
| rwKernel (int file, int offset) | |
| Create a rwKernel object with the defined parameters. More... | |
| ~rwKernel () | |
| Destructor. More... | |
| void | read (unsigned char *dest, unsigned int len, unsigned int addr) |
| read from kernel. More... | |
| void | write (unsigned char *src, unsigned int len, unsigned int addr) |
| write to kernel. More... | |
| void | read (char *a, unsigned int b, unsigned int c) |
| Foo. | |
| void | write (char *a, unsigned int b, unsigned int c) |
| Foo. | |
It lets you read from and write to the kernel without taking care of offsets or file access.
|
|
Create the object with a fairly standard configuration. This constructor will assume that you want to use /dev/mem and a standard offset (as used by any 2.4.x and any 2.2.x kernel not defined to use more than 1GB of ram). |
|
|||||||||||||||
|
Create a rwKernel object with the defined parameters.
|
|
|
Destructor. Will unmap the used device. |
|
||||||||||||||||||||||
|
read from kernel.
|
|
||||||||||||||||||||||
|
write to kernel.
|
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001