void machine_restart(char *cmd) { #ifdef CONFIG_GDBSTUB gdbstub_exit(0); #endif #ifdef mn10300_unit_hard_reset mn10300_unit_hard_reset(); #else mn10300_proc_hard_reset(); #endif }
void machine_restart(char *cmd) { #ifdef CONFIG_KERNEL_DEBUGGER gdbstub_exit(0); #endif #ifdef mn10300_unit_hard_reset mn10300_unit_hard_reset(); #else mn10300_proc_hard_reset(); #endif }
void machine_power_off(void) { #ifdef CONFIG_GDBSTUB gdbstub_exit(0); #endif }
void machine_halt(void) { #ifdef CONFIG_GDBSTUB gdbstub_exit(0); #endif }
void machine_power_off(void) { #ifdef CONFIG_KERNEL_DEBUGGER gdbstub_exit(0); #endif }
void machine_halt(void) { #ifdef CONFIG_KERNEL_DEBUGGER gdbstub_exit(0); #endif }