Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
687fdbfe
Commit
687fdbfe
authored
May 24, 2007
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: x86 emulator: implement wbinvd
Vista seems to trigger it. Signed-off-by:
Avi Kivity
<
avi@qumranet.com
>
parent
de062065
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
drivers/kvm/x86_emulate.c
drivers/kvm/x86_emulate.c
+3
-1
No files found.
drivers/kvm/x86_emulate.c
View file @
687fdbfe
...
@@ -152,7 +152,7 @@ static u8 opcode_table[256] = {
...
@@ -152,7 +152,7 @@ static u8 opcode_table[256] = {
static
u16
twobyte_table
[
256
]
=
{
static
u16
twobyte_table
[
256
]
=
{
/* 0x00 - 0x0F */
/* 0x00 - 0x0F */
0
,
SrcMem
|
ModRM
|
DstReg
,
0
,
0
,
0
,
0
,
ImplicitOps
,
0
,
0
,
SrcMem
|
ModRM
|
DstReg
,
0
,
0
,
0
,
0
,
ImplicitOps
,
0
,
0
,
0
,
0
,
0
,
0
,
ImplicitOps
|
ModRM
,
0
,
0
,
0
,
ImplicitOps
,
0
,
0
,
0
,
ImplicitOps
|
ModRM
,
0
,
0
,
/* 0x10 - 0x1F */
/* 0x10 - 0x1F */
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ImplicitOps
|
ModRM
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
ImplicitOps
|
ModRM
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/* 0x20 - 0x2F */
/* 0x20 - 0x2F */
...
@@ -1304,6 +1304,8 @@ x86_emulate_memop(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops)
...
@@ -1304,6 +1304,8 @@ x86_emulate_memop(struct x86_emulate_ctxt *ctxt, struct x86_emulate_ops *ops)
/* Disable writeback. */
/* Disable writeback. */
dst
.
orig_val
=
dst
.
val
;
dst
.
orig_val
=
dst
.
val
;
switch
(
b
)
{
switch
(
b
)
{
case
0x09
:
/* wbinvd */
break
;
case
0x0d
:
/* GrpP (prefetch) */
case
0x0d
:
/* GrpP (prefetch) */
case
0x18
:
/* Grp16 (prefetch/nop) */
case
0x18
:
/* Grp16 (prefetch/nop) */
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment