]> wirehaze git hosting - ppos.git/blob - ppos/kernel/ppos.h

wirehaze git hosting

tasks implementation (ongoing)
[ppos.git] / ppos / kernel / ppos.h
1 // PingPongOS - PingPong Operating System
2 // Prof. Carlos A. Maziero, DINF UFPR
3 // Versão 2.0 -- Junho de 2025
4
5 // ATENÇÃO: ESTE ARQUIVO NÃO DEVE SER ALTERADO;
6 // ALTERAÇÕES SERÃO DESCARTADAS NA CORREÇÃO.
7
8 #ifndef __PPOS__
9 #define __PPOS__
10
11 // este código deve ser compilado em sistemas UNIX-like
12 #ifndef __linux__
13 #error "Este codigo foi planejado para ambientes Linux."
14 #endif
15
16 // módulos do sistema operacional
17 #include "macros.h"
18 #include "tcb.h"
19 #include "task.h"
20 #include "dispatcher.h"
21 #include "scheduler.h"
22 #include "time.h"
23 #include "memory.h"
24 #include "semaphore.h"
25 #include "mqueue.h"
26 #include "block.h"
27
28 // Inicia o sistema operacional
29 static void ppos_start();
30
31 // Encerra o sistema operacional
32 void ppos_stop();
33
34 #endif