Merged into new kernel_defines.h and updated all includes.
extern "C"
Currently this works only in qemu.