Skip to content

Commit

Permalink
hw: Initialise all IDT vectors to "no service"
Browse files Browse the repository at this point in the history
Initialise all 48 IDT vectors, including those used by hardware
interrupts, to the "no service" routine. This lets us enable i8254
interrupts early.
  • Loading branch information
mato committed Jun 30, 2015
1 parent 6faddda commit 798d688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/hw/arch/x86/x86_subr.c
Expand Up @@ -54,7 +54,7 @@ bmk_x86_initidt(void)
{
int i;

for (i = 0; i < 32; i++) {
for (i = 0; i < 48; i++) {
bmk_x86_fillgate(i, bmk_cpu_insr, 0);
}

Expand Down

0 comments on commit 798d688

Please sign in to comment.