2019-12-10 11:29:27 +01:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2017, 2019 Ken Rabold, JP Bonn
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2020-09-09 21:37:15 +02:00
|
|
|
* @ingroup cpu_riscv_common
|
2019-12-10 11:29:27 +01:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file cpu.c
|
2020-09-09 21:37:15 +02:00
|
|
|
* @brief Implementation of the CPU panic for RISC-V
|
2019-12-10 11:29:27 +01:00
|
|
|
*
|
|
|
|
* @author Ken Rabold
|
|
|
|
* @}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "panic.h"
|
|
|
|
|
|
|
|
void panic_arch(void)
|
|
|
|
{
|
|
|
|
#ifdef DEVELHELP
|
|
|
|
while (1) {}
|
|
|
|
#endif
|
|
|
|
}
|