From cb83c71628378bc0e295dd71bf6641379fbcdf37 Mon Sep 17 00:00:00 2001 From: rtm Date: Tue, 13 Jun 2006 22:08:20 +0000 Subject: fix some trap bugs --- Notes | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Notes') diff --git a/Notes b/Notes index cee3b3d..4c06e74 100644 --- a/Notes +++ b/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. -- cgit v1.2.3