Deleted Added
sdiff udiff text old ( 9525:0587c8983d47 ) new ( 10356:198dfef33403 )
full compact
1/*
2 * Copyright (c) 2009 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

58using namespace std;
59using namespace TheISA;
60
61RealView::RealView(const Params *p)
62 : Platform(p), system(p->system)
63{}
64
65void
66RealView::postConsoleInt()
67{
68 warn_once("Don't know what interrupt to post for console.\n");
69 //panic("Need implementation\n");
70}
71
72void
73RealView::clearConsoleInt()

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

95}
96
97
98Addr
99RealView::calcPciConfigAddr(int bus, int dev, int func)
100{
101 if (bus != 0)
102 return ULL(-1);
103 return params()->pci_cfg_base | ((func & 7) << 16) | ((dev & 0x1f) << 19);
104}
105
106Addr
107RealView::calcPciIOAddr(Addr addr)
108{
109 return addr;
110}
111
112Addr
113RealView::calcPciMemAddr(Addr addr)
114{
115 return addr;
116}
117
118RealView *
119RealViewParams::create()
120{
121 return new RealView(this);
122}