Now ap_boot_stack is dynamically allocated and freed. Start working on scheduler.