core: renamed crash.h to panic.h

This commit is contained in:
Oleg Hahm 2015-05-09 18:02:39 +02:00
parent ca0d510655
commit 828839316b
18 changed files with 26 additions and 26 deletions

View File

@ -14,7 +14,7 @@
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "hwtimer.h" #include "hwtimer.h"
#include "crash.h" #include "panic.h"
#include "cc2420.h" #include "cc2420.h"
#include "cc2420_arch.h" #include "cc2420_arch.h"

View File

@ -14,7 +14,7 @@
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "hwtimer.h" #include "hwtimer.h"
#include "crash.h" #include "panic.h"
#include "cc2420.h" #include "cc2420.h"
#include "cc2420_arch.h" #include "cc2420_arch.h"

View File

@ -28,7 +28,7 @@
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "hwtimer.h" #include "hwtimer.h"
#include "crash.h" #include "panic.h"
#include "cc2420.h" #include "cc2420.h"
#include "cc2420_arch.h" #include "cc2420_arch.h"

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2014 INRIA * Copyright (C) 2014, 2015 INRIA
* *
* This file is subject to the terms and conditions of the GNU Lesser * 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 * General Public License v2.1. See the file LICENSE in the top level
@ -10,17 +10,17 @@
* @addtogroup core_util * @addtogroup core_util
* @{ * @{
* *
* @file crash.h * @file
* @brief Crash handling header * @brief Crash handling header
* *
* Define a core_panic() function that allows to stop/reboot the system * Define a ::core_panic function that allows to stop/reboot the system
* when an unrecoverable problem has occurred. * when an unrecoverable problem has occurred.
* *
* @author Kévin Roussel <Kevin.Roussel@inria.fr> * @author Kévin Roussel <Kevin.Roussel@inria.fr>
*/ */
#ifndef CRASH_H #ifndef PANIC_H
#define CRASH_H #define PANIC_H
#include "kernel.h" #include "kernel.h"
@ -54,5 +54,5 @@ NORETURN void core_panic(int crash_code, const char *message);
} }
#endif #endif
#endif /* CRASH_H */ #endif /* PANIC_H */
/** @} */ /** @} */

View File

@ -10,7 +10,7 @@
* @ingroup core_util * @ingroup core_util
* @{ * @{
* *
* @file crash.c * @file panic.c
* @brief Crash handling functions implementation for ARM-based MCUs * @brief Crash handling functions implementation for ARM-based MCUs
* *
* @author Kévin Roussel <Kevin.Roussel@inria.fr> * @author Kévin Roussel <Kevin.Roussel@inria.fr>
@ -18,7 +18,7 @@
#include "cpu.h" #include "cpu.h"
#include "lpm.h" #include "lpm.h"
#include "crash.h" #include "panic.h"
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

@ -24,7 +24,7 @@
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "lpm.h" #include "lpm.h"
#include "crash.h" #include "panic.h"
#define PANIC_STR_SIZE 80 #define PANIC_STR_SIZE 80

View File

@ -24,7 +24,7 @@
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "lpm.h" #include "lpm.h"
#include "crash.h" #include "panic.h"
#define PANIC_STR_SIZE 80 #define PANIC_STR_SIZE 80

View File

@ -24,7 +24,7 @@
#include "cpu.h" #include "cpu.h"
#include "irq.h" #include "irq.h"
#include "lpm.h" #include "lpm.h"
#include "crash.h" #include "panic.h"
#define PANIC_STR_SIZE 80 #define PANIC_STR_SIZE 80

View File

@ -21,7 +21,7 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include "crash.h" #include "panic.h"
#include "fault_handlers.h" #include "fault_handlers.h"
void isr_nmi(void) void isr_nmi(void)

View File

@ -24,7 +24,7 @@
#include <stdint.h> #include <stdint.h>
#include "cpu.h" #include "cpu.h"
#include "crash.h" #include "panic.h"
#include "hwtimer.h" #include "hwtimer.h"
#include "arch/hwtimer_arch.h" #include "arch/hwtimer_arch.h"

View File

@ -10,7 +10,7 @@
* @ingroup core_util * @ingroup core_util
* @{ * @{
* *
* @file crash.c * @file panic.c
* @brief Crash handling functions implementation for MSP430 MCUs * @brief Crash handling functions implementation for MSP430 MCUs
* *
* @author Kévin Roussel <Kevin.Roussel@inria.fr> * @author Kévin Roussel <Kevin.Roussel@inria.fr>
@ -18,7 +18,7 @@
#include "cpu.h" #include "cpu.h"
#include "lpm.h" #include "lpm.h"
#include "crash.h" #include "panic.h"
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>

View File

@ -10,7 +10,7 @@
* @ingroup core_util * @ingroup core_util
* @{ * @{
* *
* @file crash.c * @file panic.c
* @brief Crash handling functions implementation for 'native' port * @brief Crash handling functions implementation for 'native' port
* *
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de> * @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
@ -22,7 +22,7 @@
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
#include "crash.h" #include "panic.h"
#include "native_internal.h" #include "native_internal.h"
/* "public" variables holding the crash data (look for them in your debugger) */ /* "public" variables holding the crash data (look for them in your debugger) */

View File

@ -22,7 +22,7 @@
#include "board.h" #include "board.h"
#include "cpu.h" #include "cpu.h"
#include "crash.h" #include "panic.h"
/** /**
* memory markers as defined in the linker script * memory markers as defined in the linker script

View File

@ -20,7 +20,7 @@
#include <stdint.h> #include <stdint.h>
#include "crash.h" #include "panic.h"
/** /**
* memory markers as defined in the linker script * memory markers as defined in the linker script

View File

@ -20,7 +20,7 @@
#include <stdint.h> #include <stdint.h>
#include "crash.h" #include "panic.h"
/** /**
* memory markers as defined in the linker script * memory markers as defined in the linker script

View File

@ -20,7 +20,7 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include "crash.h" #include "panic.h"
/** /**

View File

@ -20,7 +20,7 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include "crash.h" #include "panic.h"
/** /**

View File

@ -8,7 +8,7 @@
* directory for more details. * directory for more details.
*/ */
#include "crash.h" #include "panic.h"
#include "cc2420.h" #include "cc2420.h"
#include "cc2420_spi.h" #include "cc2420_spi.h"
#include "cc2420_settings.h" #include "cc2420_settings.h"