|
| uint32_t | get_proc_count () |
| | Retourne le nombre de processus dans la liste. Plus de détails...
|
| |
| process_t * | get_process_array (int i) |
| | Récupère un process à partir de sa position dans le tableau. Plus de détails...
|
| |
| process_t * | find_process (int pid) |
| | Cherche le process_t* en correspondant à un pid donné. Plus de détails...
|
| |
| int | delete_process (int pid) |
| | Retire un processus de la liste. Plus de détails...
|
| |
| int | create_kprocess (char *_name, void *entry_point, uint32_t _stack_size) |
| | Crée un nouveau processus kernel. Crée un nouveau processus kernel et l'ajoute à la liste des processus avec un état d'exécution PROCSTATE_IDLE. Plus de détails...
|
| |
|
process_t * | create_process (process_init_data_t *init_data) |
| |
|
void | sample_CPU_usage () |
| |
|
| SYSCALL_HANDLER1 (sys_exit, uint32_t ret_value) |
| | Syscall appelé lors de la fin d'exécution d'un process.
|
| |
| | SYSCALL_HANDLER1 (sys_getpid, uint32_t *pid) |
| | Récupére le PID du process courant. Plus de détails...
|
| |
| | SYSCALL_HANDLER1 (sys_getppid, uint32_t *ppid) |
| | Récupére le PID du process parent. Plus de détails...
|
| |
| | SYSCALL_HANDLER3 (sys_exec, char *cmdline, char **environ, int *retval) |
| | Syscall pour exécuter un programme. Plus de détails...
|
| |
|
process_t * | sys_proc_list (uint32_t action) |
| |
| | SYSCALL_HANDLER3 (sys_proc, uint32_t sub_func, uint32_t param1, uint32_t param2) |
| | Récupère des infos sur un process. Plus de détails...
|
| |
| | SYSCALL_HANDLER1 (sys_waitpid, int pid) |
| | Bloque le process courant jusqu'à ce que le processus identifié par pid se termine. Plus de détails...
|
| |
- 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