diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-15 18:19:17 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-05-21 18:02:08 +0200 |
commit | d3b5491897456739c6dc21c604ef8bc28e294bfc (patch) | |
tree | 143de4951c8921d12ebfb076028356313a83c064 /target-i386/cpu.h | |
parent | b98dbc90950cd4e43ab9b4f8300dbeae6cf8c8cb (diff) |
target-i386: rework CPL checks during task switch, preparing for next patch
During task switch, all of CS.DPL, CS.RPL, SS.DPL must match (in addition
to all the other requirements) and will be the new CPL. So far this worked
by carefully setting the CS selector and flags before doing the task
switch; but this will not work once we get the CPL from SS.DPL.
Temporarily assume that the CPL comes from CS.RPL during task switch
to a protected-mode task, until the descriptor of SS is loaded.
Tested-by: Kevin O'Connor <kevin@koconnor.net>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
0 files changed, 0 insertions, 0 deletions