base_gic.hh (12739:55a86872ff90) base_gic.hh (12970:6ddc393b8431)
1/*
2 * Copyright (c) 2012-2013, 2017-2018 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

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

123 * Set the thread context owning this interrupt.
124 *
125 * This method is used to set the thread context for interrupts
126 * that are thread/CPU-specific. Only devices that are used in
127 * such a context are expected to call this method.
128 */
129 void setThreadContext(ThreadContext *tc);
130
1/*
2 * Copyright (c) 2012-2013, 2017-2018 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

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

123 * Set the thread context owning this interrupt.
124 *
125 * This method is used to set the thread context for interrupts
126 * that are thread/CPU-specific. Only devices that are used in
127 * such a context are expected to call this method.
128 */
129 void setThreadContext(ThreadContext *tc);
130
131 /** Get interrupt number */
132 uint32_t num() const { return intNum; }
133
131 /** Signal an interrupt */
132 virtual void raise() = 0;
133 /** Clear a signalled interrupt */
134 virtual void clear() = 0;
135
136 protected:
137 /**
138 * Get the target context ID of this interrupt.

--- 38 unchanged lines hidden ---
134 /** Signal an interrupt */
135 virtual void raise() = 0;
136 /** Clear a signalled interrupt */
137 virtual void clear() = 0;
138
139 protected:
140 /**
141 * Get the target context ID of this interrupt.

--- 38 unchanged lines hidden ---