On Sun, Jul 06, 2003 at 04:13:25PM +0200, Erez Doron wrote:
hey
I'm looking for a user space tool that can read/write physical adress.
Impossible without kernel support in the general case.
if no such tool exists, tahna maybe a little c program.
You'll need a kernel extension, unless it's a specific memory range where virtual address == physical address. A better question is: why?
I've juset developped a pci card. because i am not sure my design is steady, i booted linux from a cdrom.
i tested the configuration space with 'lspci' and 'pcitweak' utils
now i need to test the memory access modes.
I know how to write a kernel driver that accesses physical mem, but until i run 'lspci' i d not know what memory address was given to my card.
also, if i use a driver, i need to find the sources for the specific kernel i have on cd, make a driver and use a floppy (as i d not have a hard drive).
i was looking for a sminpler way, like i used lspci and pcitweak before ( that came with the knoppix bootable cd)
cheers, erez.
================================================================= 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]
