This function is called by the selftest built-in command in kshell. Architecture-specific runtime checks can be implemented in this function.