[][src]Function sunrise_kernel::i386::process_switch::first_schedule

unsafe fn first_schedule()

The function ret'd on, on a thread's first schedule - as setup by the prepare_for_first_schedule.

At this point, interrupts are still off. This function should ensure the thread is properly switched (set up ESP0, IOPB and whatnot) and call scheduler_first_schedule.

Safety: