TacOS  0.2
 Tout Structures de données Fichiers Fonctions Variables Définitions de type Énumérations Macros
Fonctions | Variables
Référence du fichier ksyscall.c
#include <gdt.h>
#include <interrupts.h>
#include <ksyscall.h>
#include <klog.h>
#include <klibc/string.h>
#include <scheduler.h>
#include <ksignal.h>
Graphe des dépendances par inclusion de ksyscall.c:

Fonctions

void syscall_entry (int interrupt_id)
 Point d'entrée des appels systèmes C'est cette fonction qui est lancée à la réception de l'IRQ_SYSCALL Sont rôle est de récupérer l'identifiant de l'appel système, et d'exécuter en conséquence le handler correspondant. Plus de détails...
 
int syscall_set_handler (uint32_t syscall_id, syscall_handler_t handler)
 Associe un identifiant d'appel système à une handler. Plus de détails...
 
void init_syscall ()
 Initialisation des appels systemes. Plus de détails...
 
 SYSCALL_HANDLER3 (sys_dummy, uint32_t a, uint32_t b, uint32_t c)
 

Variables

syscall_handler_t syscall_handler_table [MAX_SYSCALL_NB]
 

Description détaillée

Auteur
TacOS developers

LICENSE

Copyright (C) 2010-2014 TacOS developers.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.

DESCRIPTION

Description de ce que fait le fichier

Documentation des fonctions

void init_syscall ( )

Initialise le système pour pouvoir exécuter correctement les appels systèmes

Voici le graphe d'appel pour cette fonction :

void syscall_entry ( int  interrupt_id)
Paramètres
unused

Voici le graphe d'appel pour cette fonction :

Voici le graphe des appelants de cette fonction :

int syscall_set_handler ( uint32_t  syscall_id,
syscall_handler_t  handler 
)
Paramètres
syscall_idIdentifian de l'appel système.
handlerAdresse du handler
Renvoie
0 en cas de succès, une autre valeur sinon

Documentation des variables

syscall_handler_t syscall_handler_table[MAX_SYSCALL_NB]

Table des syscall handlers.