How to read/write memory map io from console?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all:
I write a driver for some pci device and the iomemory is requested by
ioremap_nocache.
The code is like below:
    		kernel_memory = ioremap_nocache (start, len);

My question is "Could I read and write the kernel_memory from console?"
Is there buildin commands for me to use?
Should I write a program to implement this? Since the memory is
located at kernel.
If the answer is the second one, could some tell me where can I find
some sample code to modify or give me the basic system call functions
I need to know.

appreciate your help,
vichy

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux