diff options
Diffstat (limited to '')
-rw-r--r-- | bsps/microblaze/microblaze_fpga/include/tm27.h (renamed from c/src/lib/libbsp/microblaze/microblaze_fpga/include/tm27.h) | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/microblaze/microblaze_fpga/include/tm27.h b/bsps/microblaze/microblaze_fpga/include/tm27.h index 393990157f..f2e384b534 100644 --- a/c/src/lib/libbsp/microblaze/microblaze_fpga/include/tm27.h +++ b/bsps/microblaze/microblaze_fpga/include/tm27.h @@ -1,6 +1,15 @@ +/* SPDX-License-Identifier: BSD-2-Clause */ + +/** + * @file + * + * @ingroup RTEMSBSPsMicroblaze + * + * @brief BSP tm27 header + */ + /* - * COPYRIGHT (c) 1989-2011. - * On-Line Applications Research Corporation (OAR). + * 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 @@ -8,8 +17,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 @@ -32,17 +41,18 @@ #define __tm27_h /* - * Define the interrupt mechanism for Time Test 27 + * Time Test 27 cannot be implemented reliably because the AXI interrupt + * controller is not guaranteed to support software interrupts. */ #define MUST_WAIT_FOR_INTERRUPT 0 #define Install_tm27_vector( handler ) /* set_vector( (handler), 6, 1 ) */ -#define Cause_tm27_intr() /* XXX */ +#define Cause_tm27_intr() /* empty */ -#define Clear_tm27_intr() /* XXX */ +#define Clear_tm27_intr() /* empty */ #define Lower_tm27_intr() /* empty */ -#endif +#endif /* __tm27_h */ |