// PingPongOS - PingPong Operating System // Prof. Carlos A. Maziero, DINF UFPR // Versão 2.0 -- Junho de 2025 // TCB - Task Control Block do sistema operacional #ifndef __PPOS_TCB__ #define __PPOS_TCB__ #include "ctx.h" /* TODO */ enum task_status { STATUS_READY, STATUS_RUNNING, STATUS_SUSPENDED, STATUS_TERMINATED }; /* Task Control Block. */ struct task_t {/* TODO comment fields. */ int id; char *name; enum task_status status; struct task_t *parent; struct ctx_t context; }; #endif