commit | d5e528136cda31a32ff7d1eaa8d06220eb443781 | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Fri Jan 15 14:49:10 2010 +0100 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Mar 01 12:35:52 2010 -0300 |
tree | 07a90874f9885e26e2089f4cdf473675d01859a9 | |
parent | fbad5f1dfdd097ca282ee3a796986e11eb5a971f [diff] |
KVM: PPC: Add helper functions to call real mode loaders Linux contains quite some bits of code to load FPU, Altivec and VSX lazily for a task. It calls those bits in real mode, coming from an interrupt handler. For KVM we better reuse those, so let's wrap a bit of trampoline magic around them and then we can call them from normal module code. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Avi Kivity <avi@redhat.com>