Deleted Added
sdiff udiff text old ( 9773:915be89faf30 ) new ( 10228:1a85c4fc805c )
full compact
1# Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
2# Copyright (c) 2009 The Hewlett-Packard Development Company
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;

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

67 if "interface" in self:
68 interface = self["interface"]
69 if interface in ("Message", "NetworkMessage"):
70 self["message"] = "yes"
71 if interface == "NetworkMessage":
72 self["networkmessage"] = "yes"
73
74 # FIXME - all of the following id comparisons are fragile hacks
75 if self.ident in ("CacheMemory"):
76 self["cache"] = "yes"
77
78 if self.ident in ("TBETable"):
79 self["tbe"] = "yes"
80
81 if self.ident == "TimerTable":
82 self["timer"] = "yes"
83
84 if self.ident == "DirectoryMemory":
85 self["dir"] = "yes"
86
87 if self.ident == "PersistentTable":
88 self["persistent"] = "yes"
89
90 if self.ident == "Prefetcher":
91 self["prefetcher"] = "yes"
92
93 self.isMachineType = (ident == "MachineType")
94
95 self.isStateDecl = ("state_decl" in self)
96 self.statePermPairs = []
97
98 self.data_members = orderdict()
99
100 # Methods

--- 691 unchanged lines hidden ---