diff options
author | Jean Delvare <jdelvare@suse.de> | 2004-05-02 17:08:48 +0000 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2004-05-02 17:08:48 +0000 |
commit | 414f026d888d091813cda55ab54496f4642b4bbd (patch) | |
tree | 361a2a7ae168b874d957f8dd2ed86703d844edf2 /util.h | |
parent | 5d933c570dc8a06e7e412ee0e393fe06ab85dced (diff) | |
download | dmidecode-git-414f026d888d091813cda55ab54496f4642b4bbd.tar.gz |
New mem_chunk function. It returns a buffer containing a copy of a given
chunk of the physical memory.
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -4,3 +4,4 @@ int myread(int fd, u8 *buf, size_t count, const char *prefix); int checksum(const u8 *buf, size_t len); +void *mem_chunk(off_t base, off_t len, const char *devmem); |