diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-04-29 15:46:15 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-04-29 15:46:15 +0200 |
commit | 0352856935590a6b740306f2559fe204908472c9 (patch) | |
tree | 59385b837a4467adc818d2845009c11f8b5e6550 /xen/xsm | |
parent | a7ac9597a7fc6ca934957eb78b41e26638281953 (diff) | |
download | xen-0352856935590a6b740306f2559fe204908472c9.tar.gz xen-0352856935590a6b740306f2559fe204908472c9.tar.bz2 xen-0352856935590a6b740306f2559fe204908472c9.zip |
x86/HVM: move per-vendor function tables into .init.data
hvm_enable() copies the table contents rather than storing the pointer,
so there's no need to keep these tables post-boot.
Also constify the return values of the per-vendor initialization
functions, making clear that once the per-vendor initialization is
complete, the vendor specific tables won't get modified anymore.
Finally, in hvm_enable(), use the returned pointer for all read
accesses as being more efficient than global variable accesses. Writes
of course still need to go to the global variable.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/xsm')
0 files changed, 0 insertions, 0 deletions