aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86/page_64.h
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2008-06-25 00:19:15 -0400
committerIngo Molnar <mingo@elte.hu>2008-07-08 13:11:04 +0200
commit491eccb721c2ee67250273a96e4515fb5b423337 (patch)
treed8edfed0da04376d68fd6a8c6f2f95085ab5da8b /include/asm-x86/page_64.h
parent97349135fea7f0ba8464534433df3bfd1dc0e9a6 (diff)
x86/paravirt: define PARA_INDIRECT for indirect asm calls
On 32-bit it's best to use a %cs: prefix to access memory where the other segments may not bet set up properly yet. On 64-bit it's best to use a rip-relative addressing mode. Define PARA_INDIRECT() to abstract this and generate the proper addressing mode in each case. Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: xen-devel <xen-devel@lists.xensource.com> Cc: Stephen Tweedie <sct@redhat.com> Cc: Eduardo Habkost <ehabkost@redhat.com> Cc: Mark McLoughlin <markmc@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/page_64.h')
0 files changed, 0 insertions, 0 deletions