altera_jtag_uart.h (245380) | altera_jtag_uart.h (250113) |
---|---|
1/*- 2 * Copyright (c) 2011-2012 Robert N. M. Watson 3 * All rights reserved. 4 * 5 * This software was developed by SRI International and the University of 6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 7 * ("CTSRD"), as part of the DARPA CRASH research programme. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * | 1/*- 2 * Copyright (c) 2011-2012 Robert N. M. Watson 3 * All rights reserved. 4 * 5 * This software was developed by SRI International and the University of 6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 7 * ("CTSRD"), as part of the DARPA CRASH research programme. 8 * --- 13 unchanged lines hidden (view full) --- 22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 * |
30 * $FreeBSD: head/sys/dev/altera/jtag_uart/altera_jtag_uart.h 245380 2013-01-13 16:57:11Z rwatson $ | 30 * $FreeBSD: head/sys/dev/altera/jtag_uart/altera_jtag_uart.h 250113 2013-04-30 18:29:05Z brooks $ |
31 */ 32 33#ifndef _DEV_ALTERA_JTAG_UART_H_ 34#define _DEV_ALTERA_JTAG_UART_H_ 35 36struct altera_jtag_uart_softc { 37 device_t ajus_dev; 38 int ajus_unit; --- 31 unchanged lines hidden (view full) --- 70 uint8_t ajus_buffer_data; 71 uint8_t *ajus_buffer_datap; 72 int ajus_jtag_present; 73 int *ajus_jtag_presentp; 74 u_int ajus_jtag_missed; 75 u_int *ajus_jtag_missedp; 76}; 77 | 31 */ 32 33#ifndef _DEV_ALTERA_JTAG_UART_H_ 34#define _DEV_ALTERA_JTAG_UART_H_ 35 36struct altera_jtag_uart_softc { 37 device_t ajus_dev; 38 int ajus_unit; --- 31 unchanged lines hidden (view full) --- 70 uint8_t ajus_buffer_data; 71 uint8_t *ajus_buffer_datap; 72 int ajus_jtag_present; 73 int *ajus_jtag_presentp; 74 u_int ajus_jtag_missed; 75 u_int *ajus_jtag_missedp; 76}; 77 |
78#define AJU_TTYNAME "ttyu" | 78#define AJU_TTYNAME "ttyj" |
79 80/* 81 * Flag values for ajus_flags. 82 */ 83#define ALTERA_JTAG_UART_FLAG_CONSOLE 0x00000001 /* Is console. */ 84 85/* 86 * Because tty-level use of the I/O ports completes with low-level console --- 113 unchanged lines hidden --- | 79 80/* 81 * Flag values for ajus_flags. 82 */ 83#define ALTERA_JTAG_UART_FLAG_CONSOLE 0x00000001 /* Is console. */ 84 85/* 86 * Because tty-level use of the I/O ports completes with low-level console --- 113 unchanged lines hidden --- |