Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111514677
D49208.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
737 B
Referenced Files
None
Subscribers
None
D49208.diff
View Options
diff --git a/sys/amd64/vmm/vmm_instruction_emul.c b/sys/amd64/vmm/vmm_instruction_emul.c
--- a/sys/amd64/vmm/vmm_instruction_emul.c
+++ b/sys/amd64/vmm/vmm_instruction_emul.c
@@ -236,6 +236,12 @@
.op_byte = 0x8F,
.op_type = VIE_OP_TYPE_POP,
},
+ [0xF6] = {
+ /* XXX Group 3 extended opcode - not just TEST */
+ .op_byte = 0xF6,
+ .op_type = VIE_OP_TYPE_TEST,
+ .op_flags = VIE_OP_F_IMM8,
+ },
[0xF7] = {
/* XXX Group 3 extended opcode - not just TEST */
.op_byte = 0xF7,
@@ -1284,6 +1290,12 @@
error = EINVAL;
switch (vie->op.op_byte) {
+ case 0xF6:
+ /*
+ * F6 /0 test r/m8, imm8
+ */
+ size = 1; /* override for byte operation */
+ /* FALLTHROUGH */
case 0xF7:
/*
* F7 /0 test r/m16, imm16
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 5, 5:14 PM (19 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16976911
Default Alt Text
D49208.diff (737 B)
Attached To
Mode
D49208: vmm: Emulate testb imm8,r/m8
Attached
Detach File
Event Timeline
Log In to Comment