Formatted debug prints
Formatted application's prints
included stdio when debugging events
Fixed error in function call for creating events
Fixed pre-compilation directives error
Formatted debug prints
Fixed base address for system call error: in patmos there's no virtual memory, partitions access to physical one so there's no need to add a base address to partition pointers
Formatted context allocation debug prints
Fixed several bugs: 1) added a delay instruction before calling pok_arch_decr_int 2) computation of stack size to spill to main memory 3) loading of stack pointer to r5 too
Added context switch function for scheduling decision after thread's completion and locks manipulation
Added context switch function for scheduling decision after thread's completion and locks manipulation