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

RE: [Xen-devel] read_cr3()

  • To: "Jan Beulich" <JBeulich@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Nakajima, Jun" <jun.nakajima@xxxxxxxxx>
  • Date: Wed, 8 Feb 2006 07:25:37 -0800
  • Delivery-date: Wed, 08 Feb 2006 15:36:56 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcYsrX2Omgni4PnqQ9GgsfExg4AUegAFJL3Q
  • Thread-topic: [Xen-devel] read_cr3()

Jan Beulich wrote:
> Is it intentional that read_cr3() does a m2p translation on i386, but
> doesn't on x86-64? 
> Thanks, Jan

It was never used in x86_64 before. Looks like machine_kexec is using it
now, although the code is inactive. I think it'd be better to add m2p
for read_cr3 to avoid confusion. However, x86_64 xenlinux has two of
CR3, one for the kernel, one for user. So it would return the one for
the kernel.

Intel Open Source Technology Center

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.