x86 compilation and functionally correct simulation is enabled using the following actions:
Modifying the Makefile to include target=x86sim capability.
Relocating global variables to kernel class data members, as highlighted in a previous step.
Moving state variables instantiation from
kernel::run to class member or use
thread_local, as highlighted in a previous step.