Added ability to set a title for the console

Added seed value to the maze generator
Added a title lock to the console
Added a vconsole lock that locks on any virtual console change
Changed some of the locks used to free up
This commit is contained in:
iDunnoDev
2022-12-18 11:42:58 +00:00
committed by iDunnoDev
parent c65c58a954
commit 662e3795a7
7 changed files with 175 additions and 92 deletions

2
defs.h
View File

@ -24,7 +24,7 @@ int consoleget(void);
void panic(char*) __attribute__((noreturn));
// Function to return a new console ptr for a process to use
struct vconsole* newconsole(int);
struct vconsole* newconsole(char*, int);
// Function to swithc to the provided console using the ptr
int switchtoconsole(struct vconsole*);
// Function to close and reset the current proc console