pl011.hh (9338:97b4a2be1e5b) | pl011.hh (9525:0587c8983d47) |
---|---|
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 --- 40 unchanged lines hidden (view full) --- 49#define __DEV_ARM_PL011_H__ 50 51#include "base/bitfield.hh" 52#include "base/bitunion.hh" 53#include "dev/io_device.hh" 54#include "dev/uart.hh" 55#include "params/Pl011.hh" 56 | 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 --- 40 unchanged lines hidden (view full) --- 49#define __DEV_ARM_PL011_H__ 50 51#include "base/bitfield.hh" 52#include "base/bitunion.hh" 53#include "dev/io_device.hh" 54#include "dev/uart.hh" 55#include "params/Pl011.hh" 56 |
57class Gic; | 57class BaseGic; |
58 59class Pl011 : public Uart 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; --- 50 unchanged lines hidden (view full) --- 116 117 /** Masked interrupt status register */ 118 INTREG maskInt; 119 120 /** Interrupt number to generate */ 121 int intNum; 122 123 /** Gic to use for interrupting */ | 58 59class Pl011 : public Uart 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; --- 50 unchanged lines hidden (view full) --- 116 117 /** Masked interrupt status register */ 118 INTREG maskInt; 119 120 /** Interrupt number to generate */ 121 int intNum; 122 123 /** Gic to use for interrupting */ |
124 Gic *gic; | 124 BaseGic *gic; |
125 126 /** Should the simulation end on an EOT */ 127 bool endOnEOT; 128 129 /** Delay before interrupting */ 130 Tick intDelay; 131 132 /** Function to generate interrupt */ --- 36 unchanged lines hidden --- | 125 126 /** Should the simulation end on an EOT */ 127 bool endOnEOT; 128 129 /** Delay before interrupting */ 130 Tick intDelay; 131 132 /** Function to generate interrupt */ --- 36 unchanged lines hidden --- |