Enable interrupt AFTER autoconfiguration.

This commit is contained in:
tsubai 1998-10-07 06:24:58 +00:00
parent 8c9bf4e881
commit d976f73513

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.19 1998/09/21 17:16:27 tsubai Exp $ */ /* $NetBSD: machdep.c,v 1.20 1998/10/07 06:24:58 tsubai Exp $ */
/* /*
* Copyright (C) 1995, 1996 Wolfgang Solfrank. * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -564,21 +564,20 @@ cpu_startup()
*/ */
bufinit(); bufinit();
/*
* Configure devices.
*/
configure();
/* /*
* Now allow hardware interrupts. * Now allow hardware interrupts.
*/ */
{ {
int msr; int msr;
splhigh();
asm volatile ("mfmsr %0; ori %0,%0,%1; mtmsr %0" asm volatile ("mfmsr %0; ori %0,%0,%1; mtmsr %0"
: "=r"(msr) : "K"((u_short)(PSL_EE|PSL_RI))); : "=r"(msr) : "K"((u_short)(PSL_EE|PSL_RI)));
} }
/*
* Configure devices.
*/
configure();
} }
/* /*