diff options
author | Jeremy Fitzhardinge <jeremy@goop.org> | 2008-07-08 15:07:12 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-16 11:05:23 +0200 |
commit | c24481e9da2c7bc8aafab46e0bc64821244a24a6 (patch) | |
tree | 50f5a7de7e7be85a70dce9ee221ebc72f861efd9 /arch/x86/mach-rdc321x | |
parent | c05f1cfaba846dfbd4a67e348087d32326288fe0 (diff) |
xen64: save lots of registers
The Xen hypercall interface is allowed to trash any or all of the
argument registers, so we need to be careful that the kernel state
isn't damaged. On 32-bit kernels, the hypercall parameter registers
same as a regparm function call, so we've got away without explicit
clobbering so far. The 64-bit ABI defines lots of caller-save
registers, so save them all for safety. We can trim this set later by
re-distributing the responsibility for saving all these registers.
Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.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 'arch/x86/mach-rdc321x')
0 files changed, 0 insertions, 0 deletions