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 --- 47 unchanged lines hidden (view full) --- 56class System; 57 58class RealView : public Platform 59{ 60 public: 61 /** Pointer to the system */ 62 System *system; 63 |
64 Gic *gic; 65 |
66 public: 67 typedef RealViewParams Params; |
68 const Params * 69 params() const { 70 return dynamic_cast<const Params *>(_params); 71 } 72 |
73 /** 74 * Constructor for the Tsunami Class. 75 * @param name name of the object 76 * @param s system the object belongs to 77 * @param intctrl pointer to the interrupt controller 78 */ 79 RealView(const Params *p); 80 |
81 /** Give platform a pointer to interrupt controller */ 82 void setGic(Gic *_gic) { gic = _gic; } 83 |
84 /** 85 * Return the interrupting frequency to AlphaAccess 86 * @return frequency of RTC interrupts 87 */ 88 virtual Tick intrFrequency(); 89 90 /** 91 * Cause the cpu to post a serial interrupt to the CPU. --- 38 unchanged lines hidden --- |