changes for /dev/klog. tprintf() interface added.