intdev.hh (5651:7f0c8006c3d7) | intdev.hh (5657:7539092b28ac) |
---|---|
1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 108 unchanged lines hidden (view full) --- 117{ 118 protected: 119 IntDev * device; 120 int line; 121 122 public: 123 typedef X86IntPinParams Params; 124 | 1/* 2 * Copyright (c) 2008 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 108 unchanged lines hidden (view full) --- 117{ 118 protected: 119 IntDev * device; 120 int line; 121 122 public: 123 typedef X86IntPinParams Params; 124 |
125 IntDev * 126 getDevice() const 127 { 128 return device; 129 } 130 |
|
125 const Params * 126 params() const 127 { 128 return dynamic_cast<const Params *>(_params); 129 } 130 131 IntPin(Params *p) : SimObject(p), 132 device(dynamic_cast<IntDev *>(p->device)), line(p->line) --- 14 unchanged lines hidden --- | 131 const Params * 132 params() const 133 { 134 return dynamic_cast<const Params *>(_params); 135 } 136 137 IntPin(Params *p) : SimObject(p), 138 device(dynamic_cast<IntDev *>(p->device)), line(p->line) --- 14 unchanged lines hidden --- |