Query on directly accessing physical memory from a kernel module

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

 



Hi,

I need help with understanding how physical memory can be accessed from within a kernel module :
Arch is AMD x86_64 , kernel is 2.6.22

Suppose in a kernel module (or any other kernel code) I wanted to read a byte from a random address anywhere within the entire physical memory region (lets say 2 GB of physical memory). How could I do this ?

Do I need to access the page frame lists or can I directly access physical memory using a pointer ?

Thanks
ARN



[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