Mention that I have removed the -O2 compiler option for temporary debugging need.
Kprintf works normally.
I am trying to port buddy-system here to achieve a simple version of physical memory manager.
So this is just a backing up.
That's it!