Added 'KDK_TOS()' function like macro.