kernel/source/scheduler/scheduler.cpp
// this should be called once.
this should be called once.
this should be called once .
void bootstrap()
	{
		cpu::gdt::init();
		for(auto& cpu : getAllCPUs())
			initCPU(&cpu);
	}
void bootstrap ( ) { cpu :: gdt :: init ( ) ; for ( auto & cpu : getAllCPUs ( ) ) initCPU ( & cpu ) ; }
this should be called once.
this should be called once .
// initialise the managed GDT, so we can allocate TSSes for the cpus. // init all cpus with their cpu-local storage, and give them each a TSS