Create part_of_kernel_calls_and_handlers

comtext switch part is pseudo code.