Re: calculating physical memory address

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

 



Thanks for all replys,
> The subject of your mail is « calculating physical memory address »,
> while the body ask for « calculating logical addresses ». Can you
> clarify your question ?
I need to know which function translates the linear logical address (e.g. 
0x08048000) to the memory address, where the data is physically stored.
(And vice versa.)

I use the book "Understanding the Linux Kernel 2nd Edition" for my question,
there they say: how the calculation of the physical memory address is done. 
[source: page 56] "Figure 2-4. Translating a logical address"

To be more precise:
	in task_struct is mm_struct.
	mm_struct has: 
	"unsigned long start_code, end_code, start_data, end_data;".

I need to know where start_code and end_code is saved in the physical memory.

thanks in advice,




--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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