core: renamed crash.h to panic.h
This commit is contained in:
parent
ca0d510655
commit
828839316b
@ -14,7 +14,7 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "hwtimer.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include "cc2420.h"
|
||||
#include "cc2420_arch.h"
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "hwtimer.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include "cc2420.h"
|
||||
#include "cc2420_arch.h"
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "hwtimer.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include "cc2420.h"
|
||||
#include "cc2420_arch.h"
|
||||
|
||||
@ -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
|
||||
* General Public License v2.1. See the file LICENSE in the top level
|
||||
@ -10,17 +10,17 @@
|
||||
* @addtogroup core_util
|
||||
* @{
|
||||
*
|
||||
* @file crash.h
|
||||
* @file
|
||||
* @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.
|
||||
*
|
||||
* @author Kévin Roussel <Kevin.Roussel@inria.fr>
|
||||
*/
|
||||
|
||||
#ifndef CRASH_H
|
||||
#define CRASH_H
|
||||
#ifndef PANIC_H
|
||||
#define PANIC_H
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
@ -54,5 +54,5 @@ NORETURN void core_panic(int crash_code, const char *message);
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* CRASH_H */
|
||||
#endif /* PANIC_H */
|
||||
/** @} */
|
||||
@ -10,7 +10,7 @@
|
||||
* @ingroup core_util
|
||||
* @{
|
||||
*
|
||||
* @file crash.c
|
||||
* @file panic.c
|
||||
* @brief Crash handling functions implementation for ARM-based MCUs
|
||||
*
|
||||
* @author Kévin Roussel <Kevin.Roussel@inria.fr>
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "lpm.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@ -24,7 +24,7 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "lpm.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#define PANIC_STR_SIZE 80
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "lpm.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#define PANIC_STR_SIZE 80
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "lpm.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#define PANIC_STR_SIZE 80
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
#include "fault_handlers.h"
|
||||
|
||||
void isr_nmi(void)
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
#include "hwtimer.h"
|
||||
#include "arch/hwtimer_arch.h"
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
* @ingroup core_util
|
||||
* @{
|
||||
*
|
||||
* @file crash.c
|
||||
* @file panic.c
|
||||
* @brief Crash handling functions implementation for MSP430 MCUs
|
||||
*
|
||||
* @author Kévin Roussel <Kevin.Roussel@inria.fr>
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "lpm.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
@ -10,7 +10,7 @@
|
||||
* @ingroup core_util
|
||||
* @{
|
||||
*
|
||||
* @file crash.c
|
||||
* @file panic.c
|
||||
* @brief Crash handling functions implementation for 'native' port
|
||||
*
|
||||
* @author Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
||||
@ -22,7 +22,7 @@
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
#include "native_internal.h"
|
||||
|
||||
/* "public" variables holding the crash data (look for them in your debugger) */
|
||||
@ -22,7 +22,7 @@
|
||||
|
||||
#include "board.h"
|
||||
#include "cpu.h"
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
/**
|
||||
* memory markers as defined in the linker script
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
/**
|
||||
* memory markers as defined in the linker script
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
/**
|
||||
* memory markers as defined in the linker script
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
*/
|
||||
|
||||
#include <stdint.h>
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
* directory for more details.
|
||||
*/
|
||||
|
||||
#include "crash.h"
|
||||
#include "panic.h"
|
||||
#include "cc2420.h"
|
||||
#include "cc2420_spi.h"
|
||||
#include "cc2420_settings.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user