1 ///////////////////////////////////////////////////////////////////////////
2 // Workfile: devmem2.h (Implementation)
3 // Author: Jan-Derk Bakker, Daniel Giritzer
5 // Description: Simple module to read/write from/to any location in memory.
8 // Copyright (C) 2000, Jan-Derk Bakker (J.D.Bakker@its.tudelft.nl)
9 // Copyright (C) 2017, Daniel Giritzer (giri@nwrk.biz)
10 ///////////////////////////////////////////////////////////////////////////
11 #ifndef DEVMEM2_H_INCLUDED
12 #define DEVMEM2_H_INCLUDED
15 int writemem(char* address, char* value, int access_type);
17 int readmem(char* address, int access_type, unsigned long read_result);
20 #endif // DEVMEM2_H_INCLUDED