Update file loading

This commit is contained in:
Alex
2022-11-07 08:34:22 +02:00
parent 2bd8e8d948
commit b60ec62bde
7 changed files with 918 additions and 29 deletions

View File

@ -175,7 +175,7 @@ namespace Tasking
__attribute__((no_stack_protector)) bool InvalidPCB(PCB *pcb)
{
if (pcb == (PCB *)0xffffffffffffffff)
if (pcb >= (PCB *)0xfffffffffffff000)
return true;
if (!pcb)
return true;
@ -184,7 +184,7 @@ namespace Tasking
__attribute__((no_stack_protector)) bool InvalidTCB(TCB *tcb)
{
if (tcb == (TCB *)0xffffffffffffffff)
if (tcb >= (TCB *)0xfffffffffffff000)
return true;
if (!tcb)
return true;