mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
core: header cleanup
This commit is contained in:
parent
aeed55a334
commit
9082273746
@ -31,7 +31,6 @@
|
||||
#include "cpu.h"
|
||||
#include "lpm.h"
|
||||
#include "VIC.h"
|
||||
#include "kernel.h"
|
||||
#include "ssp0-board.h"
|
||||
#include "smb380-board.h"
|
||||
#include "xtimer.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "board.h"
|
||||
#include "uart_stdio.h"
|
||||
#include "periph_conf.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "msp430.h"
|
||||
#include "debug.h"
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "board.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "msp430.h"
|
||||
#include "debug.h"
|
||||
#include "uart_stdio.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "kernel_internal.h"
|
||||
/**
|
||||
* @name Define the mapping between the architecture independent interfaces
|
||||
* and the kernel internal interfaces
|
||||
@ -42,6 +41,10 @@
|
||||
#endif
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @brief Prototype for a thread entry function
|
||||
*/
|
||||
typedef void *(*thread_task_func_t)(void *arg);
|
||||
|
||||
/**
|
||||
* @brief Initialize a thread's stack
|
||||
|
@ -1,72 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2013 Freie Universität Berlin
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup core_internal
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief Kernel compile time configuration
|
||||
*
|
||||
* A reboot() function is also provided
|
||||
* (and used by core_panic() when needed).
|
||||
*
|
||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
||||
*/
|
||||
|
||||
#ifndef KERNEL_H_
|
||||
#define KERNEL_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "attributes.h"
|
||||
#include "config.h"
|
||||
#include "tcb.h"
|
||||
#include "cpu.h"
|
||||
#include "sched.h"
|
||||
#include "cpu_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
/**
|
||||
* @def LPM_PREVENT_SLEEP_UART
|
||||
* @brief This flag tells the kernel that the deepest power saving
|
||||
* mode that currently can be used must still allow UART
|
||||
* communication. Bitmask to use with `lpm_prevent_sleep`
|
||||
* in power management.
|
||||
*/
|
||||
#define LPM_PREVENT_SLEEP_UART BIT2
|
||||
|
||||
/**
|
||||
* @brief This bitfield is used to configure which modules are
|
||||
* currently active and prevent the kernel to go to the
|
||||
* deepest power modes. It is used with `LPM_PREVENT_SLEEP_HWTIMER`
|
||||
* and/or `LPM_PREVENT_SLEEP_UART`.
|
||||
*/
|
||||
extern volatile int lpm_prevent_sleep;
|
||||
|
||||
/**
|
||||
* @brief Variable used to store system configuration
|
||||
*
|
||||
* @details This contains e.g. the node ID, name, default channel and so on
|
||||
*/
|
||||
extern config_t sysconfig;
|
||||
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* KERNEL_H_ */
|
||||
/** @} */
|
38
core/include/kernel_init.h
Normal file
38
core/include/kernel_init.h
Normal file
@ -0,0 +1,38 @@
|
||||
/*
|
||||
* Copyright (C) 2016 Kaspar Schleiser <kaspar@schleiser.de>
|
||||
* 2013 Freie Universität Berlin
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup core_internal
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief prototypes for kernel intitialization
|
||||
*
|
||||
* @author Oliver Hahm <oliver.hahm@inria.fr>
|
||||
* @author Kaspar Schleiser <kaspar@schleiser.de>
|
||||
*/
|
||||
|
||||
#ifndef KERNEL_INIT_H
|
||||
#define KERNEL_INIT_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Initializes scheduler and creates main and idle task
|
||||
*/
|
||||
void kernel_init(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* KERNEL_INIT_H */
|
||||
/** @} */
|
@ -1,70 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2013 Freie Universität Berlin
|
||||
*
|
||||
* 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.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @addtogroup core_internal
|
||||
* @{
|
||||
*
|
||||
* @file
|
||||
* @brief prototypes for kernel internal functions
|
||||
*
|
||||
* @author Oliver Hahm <oliver.hahm@inria.fr>
|
||||
*/
|
||||
|
||||
#ifndef KERNEL_INTERNAL_H_
|
||||
#define KERNEL_INTERNAL_H_
|
||||
|
||||
#include "attributes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Initializes scheduler and creates main and idle task
|
||||
*/
|
||||
void kernel_init(void);
|
||||
|
||||
/**
|
||||
* @brief Optionally: initializes platform specifics (devices, pin configuration etc.)
|
||||
*/
|
||||
void board_init(void);
|
||||
|
||||
/**
|
||||
* @brief Prototype for a thread entry function
|
||||
*/
|
||||
typedef void *(*thread_task_func_t)(void *arg);
|
||||
|
||||
/**
|
||||
* @brief Gets called upon thread creation to set CPU registers
|
||||
*
|
||||
* @param[in] task_func First function to call within the thread
|
||||
* @param[in] arg Argument to supply to task_func
|
||||
* @param[in] stack_start Start address of the stack
|
||||
* @param[in] stack_size Stack size
|
||||
*
|
||||
* @return stack pointer
|
||||
*/
|
||||
char *thread_stack_init(thread_task_func_t task_func, void *arg, void *stack_start, int stack_size);
|
||||
|
||||
/**
|
||||
* @brief Removes thread from scheduler and set status to #STATUS_STOPPED
|
||||
*/
|
||||
NORETURN void sched_task_exit(void);
|
||||
|
||||
/**
|
||||
* @brief Prints human readable, ps-like thread information for debugging purposes
|
||||
*/
|
||||
void thread_print_stack(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* KERNEL_INTERNAL_H_ */
|
||||
/** @} */
|
@ -64,6 +64,11 @@ void lpm_end_awake(void);
|
||||
*/
|
||||
enum lpm_mode lpm_get(void);
|
||||
|
||||
/**
|
||||
* @name LPM-internal variable
|
||||
*/
|
||||
extern volatile int lpm_prevent_sleep;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -22,7 +22,7 @@
|
||||
#ifndef PANIC_H
|
||||
#define PANIC_H
|
||||
|
||||
#include "kernel.h"
|
||||
#include "attributes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -81,6 +81,7 @@
|
||||
#define SCHEDULER_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include "attributes.h"
|
||||
#include "bitarithm.h"
|
||||
#include "tcb.h"
|
||||
#include "attributes.h"
|
||||
@ -164,6 +165,11 @@ extern volatile kernel_pid_t sched_active_pid;
|
||||
*/
|
||||
extern clist_node_t *sched_runqueues[SCHED_PRIO_LEVELS];
|
||||
|
||||
/**
|
||||
* @brief Removes thread from scheduler and set status to #STATUS_STOPPED
|
||||
*/
|
||||
NORETURN void sched_task_exit(void);
|
||||
|
||||
#ifdef MODULE_SCHEDSTATISTICS
|
||||
/**
|
||||
* Scheduler statistics
|
||||
@ -186,8 +192,7 @@ extern schedstat sched_pidlist[KERNEL_PID_LAST + 1];
|
||||
* @param[in] callback The callback functions the will be called
|
||||
*/
|
||||
void sched_register_cb(void (*callback)(uint32_t, uint32_t));
|
||||
|
||||
#endif
|
||||
#endif /* MODULE_SCHEDSTATISTICS */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -22,9 +22,11 @@
|
||||
#ifndef THREAD_H
|
||||
#define THREAD_H
|
||||
|
||||
#include "kernel.h"
|
||||
#include "cpu.h"
|
||||
#include "cpu_conf.h"
|
||||
#include "tcb.h"
|
||||
#include "arch/thread_arch.h"
|
||||
#include "sched.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@ -243,6 +245,18 @@ static inline kernel_pid_t thread_getpid(void)
|
||||
return sched_active_pid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Gets called upon thread creation to set CPU registers
|
||||
*
|
||||
* @param[in] task_func First function to call within the thread
|
||||
* @param[in] arg Argument to supply to task_func
|
||||
* @param[in] stack_start Start address of the stack
|
||||
* @param[in] stack_size Stack size
|
||||
*
|
||||
* @return stack pointer
|
||||
*/
|
||||
char *thread_stack_init(thread_task_func_t task_func, void *arg, void *stack_start, int stack_size);
|
||||
|
||||
/**
|
||||
* @brief Prints the message queue of the current thread.
|
||||
*/
|
||||
@ -269,7 +283,12 @@ const char *thread_getname(kernel_pid_t pid);
|
||||
* @return the amount of unused space of the thread's stack
|
||||
*/
|
||||
uintptr_t thread_measure_stack_free(char *stack);
|
||||
#endif
|
||||
#endif /* DEVELHELP */
|
||||
|
||||
/**
|
||||
* @brief Prints human readable, ps-like thread information for debugging purposes
|
||||
*/
|
||||
void thread_print_stack(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -21,13 +21,10 @@
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <errno.h>
|
||||
#include "tcb.h"
|
||||
#include "kernel.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "kernel_init.h"
|
||||
#include "sched.h"
|
||||
#include "cpu.h"
|
||||
#include "lpm.h"
|
||||
#include "thread.h"
|
||||
#include "lpm.h"
|
||||
#include "irq.h"
|
||||
#include "log.h"
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include <stddef.h>
|
||||
#include <inttypes.h>
|
||||
#include <assert.h>
|
||||
#include "kernel.h"
|
||||
#include "sched.h"
|
||||
#include "msg.h"
|
||||
#include "priority_queue.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "mutex.h"
|
||||
#include "tcb.h"
|
||||
#include "atomic.h"
|
||||
#include "kernel.h"
|
||||
#include "sched.h"
|
||||
#include "thread.h"
|
||||
#include "irq.h"
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "assert.h"
|
||||
#include "attributes.h"
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "lpm.h"
|
||||
|
@ -22,8 +22,6 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "sched.h"
|
||||
#include "kernel.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "clist.h"
|
||||
#include "bitarithm.h"
|
||||
#include "irq.h"
|
||||
|
@ -22,12 +22,10 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#include "thread.h"
|
||||
#include "kernel.h"
|
||||
#include "irq.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "bitarithm.h"
|
||||
#include "sched.h"
|
||||
|
||||
|
@ -18,9 +18,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "arm_cpu.h"
|
||||
#include "sched.h"
|
||||
#include "kernel.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "thread.h"
|
||||
|
||||
#define STACK_MARKER (0x77777777)
|
||||
#define REGISTER_CNT (12)
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "kernel.h"
|
||||
#include "thread.h"
|
||||
|
||||
void FIQ_Routine(void) __attribute__((interrupt("FIQ")));
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include <avr/wdt.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "cpu.h"
|
||||
|
||||
void reboot(void)
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "sched.h"
|
||||
#include "irq.h"
|
||||
#include "cpu.h"
|
||||
#include "kernel_internal.h"
|
||||
|
||||
/*
|
||||
* local function declarations (prefixed with __)
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "cpu.h"
|
||||
|
||||
void reboot(void)
|
||||
|
@ -99,7 +99,6 @@
|
||||
#include "thread.h"
|
||||
#include "irq.h"
|
||||
#include "cpu.h"
|
||||
#include "kernel_internal.h"
|
||||
|
||||
/**
|
||||
* @brief Noticeable marker marking the beginning of a stack segment
|
||||
|
@ -23,11 +23,12 @@
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "cpu.h"
|
||||
#include "kernel_init.h"
|
||||
#include "board.h"
|
||||
#include "panic.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "vectors_cortexm.h"
|
||||
|
||||
/**
|
||||
|
@ -19,8 +19,6 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "kernel.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "sched.h"
|
||||
#include "thread.h"
|
||||
#include "arch/thread_arch.h"
|
||||
|
@ -23,7 +23,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "cpu.h"
|
||||
|
||||
void reboot(void)
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include "lpc23xx.h"
|
||||
#include "VIC.h"
|
||||
#include "kernel.h"
|
||||
#include "periph/uart.h"
|
||||
|
||||
/* for now, we only support one UART device... */
|
||||
|
@ -10,8 +10,6 @@
|
||||
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "kernel.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "sched.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -19,9 +19,9 @@
|
||||
* @}
|
||||
*/
|
||||
|
||||
#include "irq.h"
|
||||
#include <stdio.h>
|
||||
#include "kernel_internal.h"
|
||||
#include "kernel_init.h"
|
||||
#include "irq.h"
|
||||
|
||||
extern void board_init(void);
|
||||
|
||||
|
@ -174,9 +174,7 @@ int unregister_interrupt(int sig);
|
||||
}
|
||||
#endif
|
||||
|
||||
#include "kernel_internal.h"
|
||||
#include "sched.h"
|
||||
|
||||
|
||||
/** @} */
|
||||
#endif /* _NATIVE_INTERNAL_H */
|
||||
|
@ -46,8 +46,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "kernel_internal.h"
|
||||
#include "kernel.h"
|
||||
#include "irq.h"
|
||||
#include "sched.h"
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "kernel_internal.h"
|
||||
#include "kernel_init.h"
|
||||
#include "cpu.h"
|
||||
|
||||
#include "board_internal.h"
|
||||
|
@ -36,7 +36,6 @@
|
||||
#include <ifaddrs.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "xtimer.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include "mutex.h"
|
||||
#include "thread.h"
|
||||
#include "sched.h"
|
||||
#include "kernel.h"
|
||||
#include "periph_conf.h"
|
||||
#include "periph/cpuid.h"
|
||||
#include "nrfmin.h"
|
||||
|
@ -20,9 +20,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "lpm.h"
|
||||
#include "arch/lpm_arch.h"
|
||||
#include "cpu.h"
|
||||
#include "kernel.h"
|
||||
|
||||
#define ENABLE_DEBUG 0
|
||||
#include "debug.h"
|
||||
|
@ -28,7 +28,8 @@
|
||||
#ifndef CPU__X86__REBOOT__H__
|
||||
#define CPU__X86__REBOOT__H__
|
||||
|
||||
#include "kernel.h"
|
||||
#include <stdbool.h>
|
||||
#include "attributes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -30,7 +30,6 @@
|
||||
|
||||
#include "attributes.h"
|
||||
#include "cpu.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "sched.h"
|
||||
#include "x86_uart.h"
|
||||
|
||||
|
@ -34,7 +34,6 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "kernel.h"
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
#include "debug.h"
|
||||
|
@ -38,11 +38,12 @@
|
||||
#include "x86_uart.h"
|
||||
|
||||
#include <cpu.h>
|
||||
#include <kernel_internal.h>
|
||||
#include <tlsf-malloc.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "kernel_init.h"
|
||||
|
||||
/* Must be <= 0x1000 because otherwise x86_map_physical_pages() might get a page out of this pool.
|
||||
* Because static memory has the PT_G flag, flushing the TLB would cause a stale PT
|
||||
* after calling add_pages_to_pool() in x86_map_physical_pages().
|
||||
|
@ -34,7 +34,6 @@
|
||||
#include "x86_threading.h"
|
||||
#include "cpu.h"
|
||||
#include "irq.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "ucontext.h"
|
||||
#include "sched.h"
|
||||
#include "stdbool.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "mutex.h"
|
||||
#include "periph/uart.h"
|
||||
#include "periph/gpio.h"
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include <stdio.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "net/gnrc/ipv6.h"
|
||||
#include "net/gnrc/udp.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "net/gnrc/tftp.h"
|
||||
|
||||
static const char *_tftp_default_host = "::1";
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include "time.h"
|
||||
#include "thread.h"
|
||||
#include "kernel_internal.h"
|
||||
|
||||
#include <tuple>
|
||||
#include <atomic>
|
||||
|
@ -18,6 +18,9 @@
|
||||
* @}
|
||||
*/
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "crypto/modes/ecb.h"
|
||||
|
||||
int cipher_encrypt_ecb(cipher_t* cipher, uint8_t* input,
|
||||
|
@ -20,7 +20,8 @@
|
||||
#ifndef __CRYPTO_MODES_HELPER_H_
|
||||
#define __CRYPTO_MODES_HELPER_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef __CRYPTO_MODES_CBC_H_
|
||||
#define __CRYPTO_MODES_CBC_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "crypto/ciphers.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef __CRYPTO_MODES_CCM_H_
|
||||
#define __CRYPTO_MODES_CCM_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "crypto/ciphers.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef __CRYPTO_MODES_CTR_H_
|
||||
#define __CRYPTO_MODES_CTR_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "crypto/ciphers.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -20,7 +20,6 @@
|
||||
#ifndef __CRYPTO_MODES_ECB_H_
|
||||
#define __CRYPTO_MODES_ECB_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "crypto/ciphers.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -28,7 +28,6 @@
|
||||
#ifndef GNRC_NETAPI_H_
|
||||
#define GNRC_NETAPI_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "thread.h"
|
||||
#include "net/netopt.h"
|
||||
#include "net/gnrc/nettype.h"
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "net/gnrc/pkt.h"
|
||||
#include "net/netopt.h"
|
||||
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "net/gnrc/pkt.h"
|
||||
#include "net/gnrc/pktbuf.h"
|
||||
|
||||
|
@ -22,7 +22,6 @@
|
||||
#ifndef GNRC_NOMAC_H_
|
||||
#define GNRC_NOMAC_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "net/gnrc/netdev.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -22,7 +22,7 @@
|
||||
#ifndef GNRC_PKTDUMP_H_
|
||||
#define GNRC_PKTDUMP_H_
|
||||
|
||||
#include "kernel.h"
|
||||
#include "kernel_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -21,7 +21,6 @@
|
||||
|
||||
#include "ringbuffer.h"
|
||||
#include "hashes.h"
|
||||
#include "kernel.h"
|
||||
#include "msg.h"
|
||||
#include "net/ieee802154.h"
|
||||
#include "net/ipv6/addr.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "msg.h"
|
||||
#include "thread.h"
|
||||
|
||||
|
@ -18,7 +18,6 @@
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "msg.h"
|
||||
#include "thread.h"
|
||||
#include "net/gnrc/nomac.h"
|
||||
|
@ -24,7 +24,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "kernel_types.h"
|
||||
#include "msg.h"
|
||||
#include "net/gnrc.h"
|
||||
|
@ -18,7 +18,6 @@
|
||||
* @}
|
||||
*/
|
||||
|
||||
#include "kernel.h"
|
||||
#include "msg.h"
|
||||
#include "net/gnrc/netreg.h"
|
||||
#include "net/gnrc/pktbuf.h"
|
||||
|
@ -25,7 +25,6 @@
|
||||
#include "byteorder.h"
|
||||
#include "thread.h"
|
||||
#include "msg.h"
|
||||
#include "kernel.h"
|
||||
#include "net/gnrc/pktdump.h"
|
||||
#include "net/gnrc.h"
|
||||
#include "net/ipv6/addr.h"
|
||||
|
@ -20,7 +20,6 @@
|
||||
#include <stdint.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "byteorder.h"
|
||||
#include "msg.h"
|
||||
#include "thread.h"
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "mutex.h"
|
||||
#include "sched.h"
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#include <time.h>
|
||||
|
||||
#include "kernel.h"
|
||||
#include "mutex.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -26,7 +26,6 @@
|
||||
|
||||
#include "cpu_conf.h"
|
||||
#include "irq.h"
|
||||
#include "kernel_internal.h"
|
||||
#include "msg.h"
|
||||
#include "mutex.h"
|
||||
#include "priority_queue.h"
|
||||
|
@ -29,7 +29,6 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "thread.h"
|
||||
#include "kernel.h"
|
||||
#include "pipe.h"
|
||||
#include "pipe.h"
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
#define TESTS_CHECKSUM_H
|
||||
|
||||
#include "embUnit.h"
|
||||
#include "kernel.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include "thread.h"
|
||||
#include "kernel.h"
|
||||
#include "ringbuffer.h"
|
||||
#include "mutex.h"
|
||||
|
||||
|
@ -19,8 +19,10 @@
|
||||
#ifndef TESTS_CRYPTO_H_
|
||||
#define TESTS_CRYPTO_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "embUnit.h"
|
||||
#include "kernel.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include "tests-ubjson.h"
|
||||
#include "kernel.h"
|
||||
|
||||
typedef enum {
|
||||
BEFORE_ARRAY_1 = __LINE__,
|
||||
|
@ -17,7 +17,6 @@
|
||||
*/
|
||||
|
||||
#include "tests-ubjson.h"
|
||||
#include "kernel.h"
|
||||
|
||||
typedef enum {
|
||||
BEFORE_ARRAY_1 = __LINE__,
|
||||
|
@ -30,6 +30,7 @@
|
||||
#define TESTS_UBJSON_H_
|
||||
|
||||
#include "embUnit.h"
|
||||
#include "kernel_macros.h"
|
||||
|
||||
#include "ubjson.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user