Skip to content

Commit

Permalink
Forgot taskswitch DR7 clearing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Jan 14, 2024
1 parent f4f252c commit b617abd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cpu/x86seg.c
Original file line number Diff line number Diff line change
Expand Up @@ -2469,6 +2469,7 @@ taskswitch286(uint16_t seg, uint16_t *segdat, int is32)
tr.limit = limit;
tr.access = segdat[2] >> 8;
tr.ar_high = segdat[3] & 0xff;
dr[7] &= 0b10101010;
}

void
Expand Down

0 comments on commit b617abd

Please sign in to comment.