My Project
Chargement...
Recherche...
Aucune correspondance
pc-i386.h
Aller à la documentation de ce fichier.
1/*============================================================================*/
2/* Définitions liées au processeur. */
3/*============================================================================*/
7#define MANUX_LIBI386
8
10
11/*----------------------------------------------------------------------------*/
12/* Configuration des interruptions */
13/*----------------------------------------------------------------------------*/
17#ifndef MANUX_NB_EXCEPTIONS
18# define MANUX_NB_EXCEPTIONS 32
19#endif
20
24#ifndef MANUX_NB_INTERRUPTIONS
25# define MANUX_NB_INTERRUPTIONS 256
26#endif
27
32#ifndef MANUX_INT_BASE_IRQ
33# define MANUX_INT_BASE_IRQ MANUX_NB_EXCEPTIONS
34#endif
35
39#ifndef MANUX_PIC
40# define MANUX_PIC INTEL_8259A
41#endif
42
43#if (MANUX_PIC == INTEL_8259A)
44# include "config/intel-8259a.h"
45#else
46# error "Pas de PIC !?"
47#endif
48
52#define MANUX_INT_AUDIT
53
54/*
55 * Les IRQ des matériels pris en charge
56 */
57#define IRQ_HORLOGE 0
58#define IRQ_CLAVIER 1