pl011.hh (9525:0587c8983d47) pl011.hh (9806:3f262c18ad5d)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 36 unchanged lines hidden (view full) ---

45 * Implementiation of a PL011 UART
46 */
47
48#ifndef __DEV_ARM_PL011_H__
49#define __DEV_ARM_PL011_H__
50
51#include "base/bitfield.hh"
52#include "base/bitunion.hh"
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 36 unchanged lines hidden (view full) ---

45 * Implementiation of a PL011 UART
46 */
47
48#ifndef __DEV_ARM_PL011_H__
49#define __DEV_ARM_PL011_H__
50
51#include "base/bitfield.hh"
52#include "base/bitunion.hh"
53#include "dev/arm/amba_device.hh"
53#include "dev/io_device.hh"
54#include "dev/uart.hh"
55#include "params/Pl011.hh"
56
57class BaseGic;
58
54#include "dev/io_device.hh"
55#include "dev/uart.hh"
56#include "params/Pl011.hh"
57
58class BaseGic;
59
59class Pl011 : public Uart
60class Pl011 : public Uart, public AmbaDevice
60{
61 protected:
62 static const uint64_t AMBA_ID = ULL(0xb105f00d00341011);
63 static const int UART_DR = 0x000;
64 static const int UART_FR = 0x018;
65 static const int UART_FR_CTS = 0x001;
66 static const int UART_FR_TXFE = 0x080;
67 static const int UART_FR_RXFE = 0x010;

--- 101 unchanged lines hidden ---
61{
62 protected:
63 static const uint64_t AMBA_ID = ULL(0xb105f00d00341011);
64 static const int UART_DR = 0x000;
65 static const int UART_FR = 0x018;
66 static const int UART_FR_CTS = 0x001;
67 static const int UART_FR_TXFE = 0x080;
68 static const int UART_FR_RXFE = 0x010;

--- 101 unchanged lines hidden ---