Add reboot and shutdown script for builtin-x86
It decides the number of cores for McKernel by looking into the "SHIMOS: CPU Status:" line of dmesg. It sets the amount of memory for McKernel to one urth of the total memory obtained by "free -g".
This commit is contained in: