diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/microblaze/microblaze_fpga/include/bsp.h (renamed from c/src/lib/libbsp/microblaze/microblaze_fpga/include/bsp.h) | 31 |
1 files changed, 18 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/microblaze/microblaze_fpga/include/bsp.h b/bsps/microblaze/microblaze_fpga/include/bsp.h index cb72835571..e83e632553 100644 --- a/c/src/lib/libbsp/microblaze/microblaze_fpga/include/bsp.h +++ b/bsps/microblaze/microblaze_fpga/include/bsp.h @@ -1,5 +1,16 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsMicroblaze + * + * @brief Core BSP definitions + */ + /* - * Copyright (C) 2015 Hesham Almatary + * Copyright (C) 2015 Hesham Almatary + * Copyright (C) 2021 On-Line Applications Research Corporation (OAR) * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -7,8 +18,8 @@ * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -23,26 +34,20 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#ifndef _BSP_H -#define _BSP_H +#ifndef LIBBSP_MICROBLAZE_FPGA_BSP_H +#define LIBBSP_MICROBLAZE_FPGA_BSP_H #ifdef __cplusplus extern "C" { #endif #include <bspopts.h> +#include <bsp/default-initial-extension.h> #include <rtems.h> -#include <rtems/iosupp.h> -#include <rtems/console.h> -#include <rtems/clockdrv.h> - -/* support for simulated clock tick */ -Thread clock_driver_sim_idle_body(uintptr_t); -#define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body #ifdef __cplusplus } #endif -#endif +#endif /* LIBBSP_MICROBLAZE_FPGA_BSP_H */ |