Make NIRQ configurable for MIPS

Submitted by:	kan
Reviewed by:	kan
Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D5964
This commit is contained in:
Stanislav Galabov 2016-04-15 15:44:02 +00:00
parent 89f8f24077
commit 915c6043b0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298065
2 changed files with 7 additions and 2 deletions

View File

@ -145,3 +145,4 @@ PV_STATS opt_pmap.h
# Options to use INTRNG code
#
MIPS_INTRNG opt_global.h
MIPS_NIRQ opt_global.h

View File

@ -47,8 +47,12 @@
#include <sys/intr.h>
#ifndef NIRQ
#define NIRQ 128
#ifndef MIPS_NIRQ
#define MIPS_NIRQ 128
#endif
#ifndef NIRQ
#define NIRQ MIPS_NIRQ
#endif
#define INTR_IRQ_NSPC_SWI 4