You are a programmer tasked with building a custom kernel for a new operating system. The only editor available is the Emacs text editor, and you must use it to write all of the code and commands necessary to get the system up and running. This is not an easy task, as many syscalls are missing, making it challenging to perform even basic operations.