1e2e291270504dfd7b1c24a41ff6658e2ffeb61b
[reactos.git] / reactos / ntoskrnl / ke / i386 / idt.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS kernel
4 * FILE: ntoskrnl/ke/idt.c
5 * PURPOSE: IDT managment
6 * PROGRAMMER: David Welch (welch@cwcom.net)
7 * UPDATE HISTORY:
8 * Created 22/05/98
9 */
10
11 /* INCLUDES *****************************************************************/
12
13 #include <ddk/ntddk.h>
14
15 #define NDEBUG
16 #include <internal/debug.h>
17
18 /* GLOBALS *******************************************************************/
19
20 IDT_DESCRIPTOR KiIdt[256];
21
22 struct
23 {
24 USHORT Length;
25 ULONG Base;
26 } __attribute__((packed)) KiIdtDescriptor = {256 * 8, (ULONG)KiIdt};
27
28
29 /* FUNCTIONS *****************************************************************/
30
31