summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2004-05-02 17:08:48 +0000
committerJean Delvare <jdelvare@suse.de>2004-05-02 17:08:48 +0000
commit414f026d888d091813cda55ab54496f4642b4bbd (patch)
tree361a2a7ae168b874d957f8dd2ed86703d844edf2 /util.h
parent5d933c570dc8a06e7e412ee0e393fe06ab85dced (diff)
downloaddmidecode-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.h b/util.h
index ecafd3b..b62b923 100644
--- a/util.h
+++ b/util.h
@@ -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);