fix some trap bugs
This commit is contained in:
parent
84eb544b23
commit
cb83c71628
4 changed files with 26 additions and 6 deletions
6
Notes
6
Notes
|
@ -73,3 +73,9 @@ setupsegs() may modify current segment table, is that legal?
|
|||
trap() ought to lgdt on return, since currently only done in swtch()
|
||||
|
||||
protect hardware interrupt vectors from user INT instructions?
|
||||
|
||||
i'm getting a curious interrupt when jumping into user space. maybe
|
||||
it's IRQ 0, but it comes at a weird and changing vector (e.g. 119) if
|
||||
you don't initialize the PIC. why doesn't jos see this? if i
|
||||
initialize the PIC with IRQ_OFFSET 32, the interrupt arrives at vector
|
||||
32.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue