well, /dev/mem let me only access real memory, not the adress space of the pci cards ....

in the end, i used ltsp to boot from network ( i didn't go that smoothly .. )
and I wrote a small kernel driver that looks for the pci card, and makes a '/dev/mem'-like char device that lets me access the pci card's memory.



thank you all


erez.


Gilad Ben-Yossef wrote:


Erez Doron wrote:

hey

I'm looking for a user space tool that can read/write physical adress.
if no such tool exists, tahna maybe a little c program.


any idea ?



Yes, if on IA32 Linux you can use /dev/mem. It's not 100% portable and it has certain limitaions but it does the job most of the time.


http://www.tldp.org/LDP/khg/HyperNews/get/devices/fake.html

I'ts not pretty though.

Gilad.






=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to