Re: Query on directly accessing physical memory from a kernel module | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
>> ok yes, that makes sense.
>> Now suppose I want to access the second byte/word from each page frame (physical) in the system (or a random set of
>> page frames), would I need to do something similar ?
>>
>> On the same topic, how can a page frame (struct page) be resolved to its physical address ?> The process I just described is to access any physical address (Any byte / word). The concept of page frames etc are at a higher level.> To convert to physical address from page frame no, I recall there would be a macro in some header (some thing like __pfn_to_pa or something like that ... I don't recall exactly)
[Newbies FAQ] [Kernel List] [Site Home] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Rubini] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI] [DDR & Rambus] [UNIX Filesystems] [Linux Resources]
![]() |
![]() |