digic-uart.h (a3ae21ec3fe036f536dc94cad735931777143103) | digic-uart.h (8228e353d8906bf43399ca0ef28446c5c48bb686) |
---|---|
1/* 2 * Canon DIGIC UART block declarations. 3 * 4 * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 5 unchanged lines hidden (view full) --- 14 * GNU General Public License for more details. 15 * 16 */ 17 18#ifndef HW_CHAR_DIGIC_UART_H 19#define HW_CHAR_DIGIC_UART_H 20 21#include "hw/sysbus.h" | 1/* 2 * Canon DIGIC UART block declarations. 3 * 4 * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 5 unchanged lines hidden (view full) --- 14 * GNU General Public License for more details. 15 * 16 */ 17 18#ifndef HW_CHAR_DIGIC_UART_H 19#define HW_CHAR_DIGIC_UART_H 20 21#include "hw/sysbus.h" |
22#include "sysemu/char.h" | 22#include "chardev/char.h" |
23 24#define TYPE_DIGIC_UART "digic-uart" 25#define DIGIC_UART(obj) \ 26 OBJECT_CHECK(DigicUartState, (obj), TYPE_DIGIC_UART) 27 28enum { 29 R_TX = 0x00, 30 R_RX, --- 17 unchanged lines hidden --- | 23 24#define TYPE_DIGIC_UART "digic-uart" 25#define DIGIC_UART(obj) \ 26 OBJECT_CHECK(DigicUartState, (obj), TYPE_DIGIC_UART) 27 28enum { 29 R_TX = 0x00, 30 R_RX, --- 17 unchanged lines hidden --- |