qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] <monitor.c>: mem_info and tlb_info
@ 2007-05-11 21:28 Shane Hummer-Smith
  0 siblings, 0 replies; only message in thread
From: Shane Hummer-Smith @ 2007-05-11 21:28 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

Hello there,

In the process of trying to understand the MMU and Paging in QEMU, I
stumbled upon the the following functions in monitor.c

- mem_info() and tlb_info()

Can somebody please tell me what's happenning within these functions -

I can see, though I'm not sure, that the physical memory is read for every
page directory (pgd?) and there is a condition check involving pde (page
directory entry?), some masks, and CR4, and stuff and more reads in an inner
loop. Even if I got this right, I have no clue what else is happenning in
there and _why?_. Can somebody please throw more light on what is happenning
within mem_info() and tlb_info() in monitor.c?


Thanks!
--S

[-- Attachment #2: Type: text/html, Size: 728 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-11 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-11 21:28 [Qemu-devel] <monitor.c>: mem_info and tlb_info Shane Hummer-Smith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).