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
Kirill Smelkov
linux
Commits
d4709c78
Commit
d4709c78
authored
Aug 01, 2010
by
Avi Kivity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: x86 emulator: drop use_modrm_ea
Unused (and has never been). Signed-off-by:
Avi Kivity
<
avi@redhat.com
>
parent
91ff3cb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
2 deletions
+0
-2
arch/x86/include/asm/kvm_emulate.h
arch/x86/include/asm/kvm_emulate.h
+0
-1
arch/x86/kvm/emulate.c
arch/x86/kvm/emulate.c
+0
-1
No files found.
arch/x86/include/asm/kvm_emulate.h
View file @
d4709c78
...
@@ -202,7 +202,6 @@ struct decode_cache {
...
@@ -202,7 +202,6 @@ struct decode_cache {
u8
modrm_reg
;
u8
modrm_reg
;
u8
modrm_rm
;
u8
modrm_rm
;
u8
modrm_seg
;
u8
modrm_seg
;
u8
use_modrm_ea
;
bool
rip_relative
;
bool
rip_relative
;
unsigned
long
modrm_ea
;
unsigned
long
modrm_ea
;
void
*
modrm_ptr
;
void
*
modrm_ptr
;
...
...
arch/x86/kvm/emulate.c
View file @
d4709c78
...
@@ -597,7 +597,6 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt,
...
@@ -597,7 +597,6 @@ static int decode_modrm(struct x86_emulate_ctxt *ctxt,
c
->
modrm_reg
|=
(
c
->
modrm
&
0x38
)
>>
3
;
c
->
modrm_reg
|=
(
c
->
modrm
&
0x38
)
>>
3
;
c
->
modrm_rm
|=
(
c
->
modrm
&
0x07
);
c
->
modrm_rm
|=
(
c
->
modrm
&
0x07
);
c
->
modrm_ea
=
0
;
c
->
modrm_ea
=
0
;
c
->
use_modrm_ea
=
1
;
c
->
modrm_seg
=
VCPU_SREG_DS
;
c
->
modrm_seg
=
VCPU_SREG_DS
;
if
(
c
->
modrm_mod
==
3
)
{
if
(
c
->
modrm_mod
==
3
)
{
...
...
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