Introducing the tty0.c/tty0.h files defining access function to TTY0 (including the _printf(). Introducing the locks.c/locks.h files defining two types of spin-lock (with and without a waiting queue).