My Project
Chargement...
Recherche...
Aucune correspondance
appelsystemenum.h
Aller à la documentation de ce fichier.
1/*----------------------------------------------------------------------------*/
2/* Identification des appels système de ManuX. */
3/* */
4/* Il s'agit ici de définir les éléments communs à la partie noyau et la */
5/* partie user. */
6/* (C) Manu Chaput 2000-2023 */
7/*----------------------------------------------------------------------------*/
8#ifndef APPEL_SYSTEME_NUM_DEF
9#define APPEL_SYSTEME_NUM_DEF
10
11/*
12 * Définition de l'interruption utilisée pour les appels système
13 */
14#ifndef MANUX_AS_INT
15# define MANUX_AS_INT 0x80
16#endif
17
18/*
19 * Liste des appels système prédéfinis
20 */
21#define NBAS_IDENTIFIANT_TACHE 0
22#define NBAS_ECRIRE_CONS 1
23#ifdef MANUX_PAGINATION
24# define NBAS_OBTENIR_PAGES 2
25#endif
26#define NBAS_ECRIRE 3
27#define NBAS_FORK 4
28#define NBAS_CONSOLE 5
29#define NBAS_BASCULER_TACHE 6
30#define NBAS_CREER_TACHE 7
31#define NBAS_DUMB 8
32#define NBAS_LIRE 9
33#ifdef MANUX_TUBES
34# define NBAS_TUBE 10
35#endif
36#define NBAS_FERMER 11
37#ifdef MANUX_AS_TEST_SYNCHRO
38# define NBAS_TEST_SYNC 12
39#endif
40
41#endif // APPEL_SYSTEME_NUM_DEF