What happens after you call vTaskStartScheduler?

How does FreeRTOS prepare the stack, configure interrupts, and use an SVC call to launch your first task?