Initial Console - Kernel

This is a discussion on Initial Console - Kernel ; Hi All,
Initial console /dev/console in the kernel is directed to /dev/ttyS0,
Any bosy is having info, where exavtly in which file has been done so..
if not what exactly is happening to initialize console to ttyS0.
Please have your ...