gem5/util/ccdrv
Ali Saidi fe3a86e2ef updated to work on all platforms (actually map sure that the physical
address we are trying to access is mapped before accessing it.)

--HG--
extra : convert_revision : 104341334a3d2bb812a6b0b6277ab353f8f9b39e
2004-07-05 16:49:56 -04:00
..
devtime.c updated to work on all platforms (actually map sure that the physical 2004-07-05 16:49:56 -04:00
Makefile Added code to read any location in memory a repetative number of and 2004-07-05 15:49:42 -04:00
readme.txt Added code to read any location in memory a repetative number of and 2004-07-05 15:49:42 -04:00

This driver will read the address you point it to [count] times and 
print the results to the systemlog.

To build the driver (Linux 2.6.X only) execute:
make -C /path/to/linux-2.6.X/ SUBDIRS=$PWD modules


Insmodding the kernel module without options will print
the device addresses of eth0 and eth1 if they exist.

Insmodding the kernel module with the options:
dataAddr=0xXXXXXXXXX and count=XXXXX 

will read a long at addr dataAddr count times and return.

Between runs you need to rmmod the module from the kernel.