realview.hh (7584:28ddf6d9e982) realview.hh (8525:5f3fe76e7950)
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
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
64 public:
65 typedef RealViewParams Params;
66 public:
67 typedef RealViewParams Params;
68 const Params *
69 params() const {
70 return dynamic_cast<const Params *>(_params);
71 }
72
66 /**
67 * Constructor for the Tsunami Class.
68 * @param name name of the object
69 * @param s system the object belongs to
70 * @param intctrl pointer to the interrupt controller
71 */
72 RealView(const Params *p);
73
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
74 /**
75 * Return the interrupting frequency to AlphaAccess
76 * @return frequency of RTC interrupts
77 */
78 virtual Tick intrFrequency();
79
80 /**
81 * Cause the cpu to post a serial interrupt to the CPU.

--- 38 unchanged lines hidden ---
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 ---