mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Increased NIDT to 256 for case of SMP or APIC_IO.
This commit is contained in:
parent
def1d1fe38
commit
e743fb99b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=27519
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)segments.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: segments.h,v 1.13 1997/02/22 09:35:09 peter Exp $
|
||||
* $Id: segments.h,v 1.1 1997/07/19 01:32:04 smp Exp smp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_SEGMENTS_H_
|
||||
@ -194,7 +194,11 @@ struct region_descriptor {
|
||||
* Size of IDT table
|
||||
*/
|
||||
|
||||
#if defined(SMP) || defined(APIC_IO)
|
||||
#define NIDT 256 /* we use them all */
|
||||
#else
|
||||
#define NIDT 129 /* 32 reserved, 16 h/w, 0 s/w, linux's 0x80 */
|
||||
#endif /* SMP || APIC_IO */
|
||||
#define NRSVIDT 32 /* reserved entries for cpu exceptions */
|
||||
|
||||
/*
|
||||
|
@ -35,7 +35,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)segments.h 7.1 (Berkeley) 5/9/91
|
||||
* $Id: segments.h,v 1.13 1997/02/22 09:35:09 peter Exp $
|
||||
* $Id: segments.h,v 1.1 1997/07/19 01:32:04 smp Exp smp $
|
||||
*/
|
||||
|
||||
#ifndef _MACHINE_SEGMENTS_H_
|
||||
@ -194,7 +194,11 @@ struct region_descriptor {
|
||||
* Size of IDT table
|
||||
*/
|
||||
|
||||
#if defined(SMP) || defined(APIC_IO)
|
||||
#define NIDT 256 /* we use them all */
|
||||
#else
|
||||
#define NIDT 129 /* 32 reserved, 16 h/w, 0 s/w, linux's 0x80 */
|
||||
#endif /* SMP || APIC_IO */
|
||||
#define NRSVIDT 32 /* reserved entries for cpu exceptions */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user