diff options
author | Zachary Amsden <zach@vmware.com> | 2007-03-05 03:30:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-05 10:57:52 -0500 |
commit | 772205f62ebcce2d60bfa5166f56c78044afab7d (patch) | |
tree | 58fa1b4418cba4fea017c6d6fd3c4fdf322d9942 /include/asm-i386 | |
parent | a9eddc952870d29aa9df96ab862327eb6afa23d9 (diff) |
[PATCH] vmi: apic ops
Use para_fill instead of directly setting the APIC ops to the result of the
vmi_get_function call - this allows one to implement a VMI ROM without
implementing APIC functions, just using the native APIC functions.
While doing this, I realized that there is a lot more cleanup that should have
been done. Basically, we should never assume that the ROM implements a
specific set of functions, and always allow fallback to the native
implementation.
This is critical for future compatibility.
Signed-off-by: Anthony Liguori <anthony@codemonkey.ws>
Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-i386')
-rw-r--r-- | include/asm-i386/vmi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-i386/vmi.h b/include/asm-i386/vmi.h index 43c89333037e..eb8bd892c01e 100644 --- a/include/asm-i386/vmi.h +++ b/include/asm-i386/vmi.h | |||
@@ -97,6 +97,7 @@ | |||
97 | #define VMI_CALL_SetInitialAPState 62 | 97 | #define VMI_CALL_SetInitialAPState 62 |
98 | #define VMI_CALL_APICWrite 63 | 98 | #define VMI_CALL_APICWrite 63 |
99 | #define VMI_CALL_APICRead 64 | 99 | #define VMI_CALL_APICRead 64 |
100 | #define VMI_CALL_IODelay 65 | ||
100 | #define VMI_CALL_SetLazyMode 73 | 101 | #define VMI_CALL_SetLazyMode 73 |
101 | 102 | ||
102 | /* | 103 | /* |