I was looking at reboot.c in the Linux kernel.
http://lxr.free-electrons.com/source/kernel/reboot.c
There is a call to kernel_halt it says that this function will
Shutdown everything and perform a clean system halt.
What does a clean system halt mean?
Can any one explain what this halt actually does?
I am also wondering about syscore what kind of operations are considered as syscore operation?
0 void kernel_halt(void)
161 {
162 kernel_shutdown_prepare(SYSTEM_HALT);
163 migrate_to_reboot_cpu();
164 syscore_shutdown();
165 pr_emerg("System halted\n");
166 kmsg_dump(KMSG_DUMP_HALT);
167 machine_halt();
168 }