void
Tsunami::postPciInt(int line)
{
- cchip->postDRIR(line);
+ cchip->postDRIR(line);
}
void
Tsunami::clearPciInt(int line)
{
- cchip->clearDRIR(line);
+ cchip->clearDRIR(line);
}
Addr
# print type and parameter values to .ini file
def outputDot(self, dot):
-
-
label = "{%s|" % self.path
if isSimObject(self.realtype):
label += '%s|' % self.type
'Attribute %s not available in %s' % (attr, self.__class__)
super(ParamFactory, self).__setattr__(attr, value)
-
Param = ParamFactory(None)
# Vector-valued parameter description. Just like Param, except that
return value
_string = classmethod(_string)
-
def IncEthernetAddr(addr, val = 1):
bytes = map(lambda x: int(x, 16), addr.split(':'))
bytes[5] += val
# Metaclass for Enum types
class MetaEnum(type):
-
def __init__(cls, name, bases, init_dict):
if init_dict.has_key('map'):
if not isinstance(cls.map, dict):