mit-pdos / xv6-book

Commentary for xv6-public
Other
248 stars 66 forks source link

Map interrupt 0 to IRQ 0 #23

Open pdav opened 5 years ago

pdav commented 5 years ago

In trap.t, line 699 says:

xv6 programs to map interrupt 0 to IRQ 0

This sentence is not particularly clear. I would suggest:

During initialization, xv6 programs interrupt gates:
.code-index tvinit
.line trap.c:/^tvinit/
initialize entry 0 of IDT to vector0, and
so on.