summaryrefslogtreecommitdiffstats
path: root/src/usr/intr/intrrp.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/intr/intrrp.H')
-rw-r--r--src/usr/intr/intrrp.H32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/usr/intr/intrrp.H b/src/usr/intr/intrrp.H
index c4301e7eb..a05bff542 100644
--- a/src/usr/intr/intrrp.H
+++ b/src/usr/intr/intrrp.H
@@ -44,38 +44,6 @@ namespace TARGETING
namespace INTR
{
/**
- * cpu PIR register
- */
- struct PIR_t
- {
- union
- {
- uint32_t word;
- struct
- {
- //P8:
- uint32_t reserved:19; //!< zeros
- uint32_t nodeId:3; //!< node (0-3)
- uint32_t chipId:3; //!< chip pos on node (0-5)
- uint32_t coreId:4; //!< Core number (1-6,9-14)?
- uint32_t threadId:3; //!< Thread number (0-7)
- } PACKED;
- };
- PIR_t(uint32_t i_word = 0) : word(i_word) {}
-
- PIR_t operator= (uint32_t i_word)
- {
- word = i_word;
- return word;
- }
-
- bool operator< (const PIR_t& r) const
- {
- return word < r.word;
- }
- };
-
- /**
* Make an XISR value
* @param[in] i_node The PIR node id (0-7)
* @param[in] i_chip The PIR chip id (0-7)
OpenPOWER on IntegriCloud