Removed some debug code
refactoring kerror_ttys
- Fixing MMU abort bug caused by errorneusly inserting XN bits to page table entries
- Refactoring & commenting some HAL code