mirror of
https://github.com/copy/v86.git
synced 2025-12-31 04:23:15 +00:00
remove incorrect assertion
This commit is contained in:
parent
9a72cb43a6
commit
8c4d38219b
1 changed files with 3 additions and 2 deletions
|
|
@ -895,13 +895,14 @@ pub unsafe fn call_interrupt_vector(
|
|||
let ss_segment_descriptor =
|
||||
match return_on_pagefault!(lookup_segment_selector(ss_segment_selector)) {
|
||||
Ok((desc, _)) => desc,
|
||||
Err(_) => {
|
||||
Err(
|
||||
SelectorNullOrInvalid::IsNull | SelectorNullOrInvalid::OutsideOfTableLimit,
|
||||
) => {
|
||||
panic!("Unimplemented: #TS handler");
|
||||
},
|
||||
};
|
||||
|
||||
dbg_assert!(!ss_segment_descriptor.is_dc(), "TODO: Handle direction bit");
|
||||
dbg_assert!(new_esp as u32 <= ss_segment_descriptor.effective_limit());
|
||||
dbg_assert!(!ss_segment_descriptor.is_system() && ss_segment_descriptor.is_writable());
|
||||
|
||||
if ss_segment_selector.rpl() != cs_segment_descriptor.dpl() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue