breakpoint passed.
commit8356b035b0f02a41b0fc38c3ee854df1798fb46b
authorGuanqun Lu <Guanqun.Lu@Gmail.com>
Tue, 11 Mar 2008 13:12:48 +0000 (11 21:12 +0800)
committerGuanqun Lu <Guanqun.Lu@Gmail.com>
Tue, 11 Mar 2008 13:12:48 +0000 (11 21:12 +0800)
tree30219a6308f6e9e1daf8c02ebc5a6013280901a9
parent0c8ef759c1ff9bb3ae981b6440cc383505091cab
breakpoint passed.

the bit we should notice is that the DPL of the T_BRKPT entry in IDT
should be 3, instead of 0, otherwise, it invokes a general protection
exception.

Signed-off-by: Guanqun Lu <Guanqun.Lu@Gmail.com>
kern/init.c
kern/trap.c