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:
Masamichi Takagi
2014-11-13 19:56:48 +09:00
parent 89acf5c5d6
commit ea02628f2b
5 changed files with 1198 additions and 1371 deletions

View File

@ -145,6 +145,8 @@ AC_CONFIG_FILES([
kernel/Makefile.build
arch/x86/tools/mcreboot-attached-mic.sh
arch/x86/tools/mcshutdown-attached-mic.sh
arch/x86/tools/mcreboot-builtin-x86.sh
arch/x86/tools/mcshutdown-builtin-x86.sh
arch/x86/tools/mcreboot.1:arch/x86/tools/mcreboot.1in
])