From: Scott Parish <srparish@us.ibm.com>
To: xen-devel@lists.xensource.com
Subject: understanding __linear_l2_table and friends
Date: Tue, 19 Apr 2005 23:03:51 +0000 [thread overview]
Message-ID: <20050419230351.GA30256@us.ibm.com> (raw)
I was trying to understand the states behind domain creation, but i'm
having troubles getting past this. Would someone mind saying a few
words about what these are and (if still needed) why these calculations
work for that?
xen/include/asm-x86/page.h:
#define linear_l1_table \
((l1_pgentry_t *)(LINEAR_PT_VIRT_START))
#define __linear_l2_table \
((l2_pgentry_t *)(LINEAR_PT_VIRT_START + \
(LINEAR_PT_VIRT_START >> (PAGETABLE_ORDER<<0))))
#define __linear_l3_table \
((l3_pgentry_t *)(LINEAR_PT_VIRT_START + \
(LINEAR_PT_VIRT_START >> (PAGETABLE_ORDER<<0)) + \
(LINEAR_PT_VIRT_START >> (PAGETABLE_ORDER<<1))))
#define __linear_l4_table \
((l4_pgentry_t *)(LINEAR_PT_VIRT_START + \
(LINEAR_PT_VIRT_START >> (PAGETABLE_ORDER<<0)) + \
(LINEAR_PT_VIRT_START >> (PAGETABLE_ORDER<<1)) + \
(LINEAR_PT_VIRT_START >> (PAGETABLE_ORDER<<2))))
Thanks!
sRp
--
Scott Parish
next reply other threads:[~2005-04-19 23:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 23:03 Scott Parish [this message]
2005-04-20 10:05 ` understanding __linear_l2_table and friends Keir Fraser
2005-04-20 16:06 ` Gerd Knorr
2005-04-20 19:46 ` Scott Parish
-- strict thread matches above, loose matches on Subject: below --
2005-04-20 16:25 Ian Pratt
2005-04-20 16:31 ` Keir Fraser
2005-04-20 18:53 Ian Pratt
2005-04-20 19:14 ` Gerd Knorr
2005-04-20 20:27 Ian Pratt
2005-04-20 21:38 ` Gerd Knorr
2005-04-20 22:10 ` Ian Pratt
2005-04-21 13:51 Ian Pratt
2005-04-21 19:42 ` Gerd Knorr
2005-04-22 11:04 ` Andi Kleen
2005-04-22 20:47 ` Kip Macy
2005-04-23 15:08 ` Andi Kleen
2005-04-23 15:13 ` Wim Coekaerts
2005-04-23 15:28 ` Andi Kleen
2005-04-24 19:55 ` Gerd Knorr
2005-04-25 0:41 ` David Hopwood
2005-04-25 0:46 ` Mark Williamson
2005-04-25 2:53 ` David Hopwood
2005-04-21 21:13 Ian Pratt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050419230351.GA30256@us.ibm.com \
--to=srparish@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.