modify c_entry to kmain