pl011.cc (12237:fdd8c4c63356) pl011.cc (12772:362544959c40)
1/*
2 * Copyright (c) 2010, 2015 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#include "dev/arm/amba_device.hh"
50#include "dev/arm/base_gic.hh"
51#include "mem/packet.hh"
52#include "mem/packet_access.hh"
53#include "params/Pl011.hh"
54#include "sim/sim_exit.hh"
55
56Pl011::Pl011(const Pl011Params *p)
1/*
2 * Copyright (c) 2010, 2015 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#include "dev/arm/amba_device.hh"
50#include "dev/arm/base_gic.hh"
51#include "mem/packet.hh"
52#include "mem/packet_access.hh"
53#include "params/Pl011.hh"
54#include "sim/sim_exit.hh"
55
56Pl011::Pl011(const Pl011Params *p)
57 : Uart(p, 0xfff),
57 : Uart(p, 0x1000),
58 intEvent([this]{ generateInterrupt(); }, name()),
59 control(0x300), fbrd(0), ibrd(0), lcrh(0), ifls(0x12),
60 imsc(0), rawInt(0),
61 gic(p->gic), endOnEOT(p->end_on_eot), intNum(p->int_num),
62 intDelay(p->int_delay)
63{
64}
65

--- 254 unchanged lines hidden ---
58 intEvent([this]{ generateInterrupt(); }, name()),
59 control(0x300), fbrd(0), ibrd(0), lcrh(0), ifls(0x12),
60 imsc(0), rawInt(0),
61 gic(p->gic), endOnEOT(p->end_on_eot), intNum(p->int_num),
62 intDelay(p->int_delay)
63{
64}
65

--- 254 unchanged lines hidden ---