Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:00

0001 /* SPDX-License-Identifier: BSD-2-Clause */
0002 
0003 /*
0004  *
0005  * Copyright (C) 2024 Kevin Kirspel
0006  *
0007  * Redistribution and use in source and binary forms, with or without
0008  * modification, are permitted provided that the following conditions
0009  * are met:
0010  * 1. Redistributions of source code must retain the above copyright
0011  *    notice, this list of conditions and the following disclaimer.
0012  * 2. Redistributions in binary form must reproduce the above copyright
0013  *    notice, this list of conditions and the following disclaimer in the
0014  *    documentation and/or other materials provided with the distribution.
0015  *
0016  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
0017  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
0018  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
0019  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
0020  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
0021  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
0022  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
0023  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
0024  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
0025  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
0026  * SUCH DAMAGE.
0027  */
0028 
0029 #ifndef LIBBSP_NIOSV_GENERIC_H
0030 #define LIBBSP_NIOSV_GENERIC_H
0031 
0032 #include <rtems.h>
0033 #include <rtems/clockdrv.h>
0034 #include <rtems/console.h>
0035 
0036 #include <bspopts.h>
0037 #include <bsp/default-initial-extension.h>
0038 #include <altera_avalon_hbus_regs.h>
0039 #include <altera_avalon_jtag_uart_regs.h>
0040 #include <altera_avalon_pio_regs.h>
0041 #include <altera_avalon_sysid_qsys_regs.h>
0042 #include <altera_avalon_timer_regs.h>
0043 #include <altera_avalon_epcq_regs.h>
0044 #include <status_led_device_driver.h>
0045 #include <system_device_driver.h>
0046 
0047 #include <rtems/devnull.h>
0048 
0049 #ifdef __cplusplus
0050 extern "C" {
0051 #endif
0052 
0053 #define BSP_FEATURE_IRQ_EXTENSION
0054 
0055 #ifdef __cplusplus
0056 }
0057 #endif
0058 
0059 /** @} */
0060 
0061 #endif /* LIBBSP_NIOSV_GENERIC_H */