Deleted Added
sdiff udiff text old ( 9524:d6ffa982a68b ) new ( 9790:ccc428657233 )
full compact
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# Copyright (c) 2011 Regents of the University of California
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;

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

38class MemoryMode(Enum): vals = ['invalid', 'atomic', 'timing',
39 'atomic_noncaching']
40
41class System(MemObject):
42 type = 'System'
43 cxx_header = "sim/system.hh"
44 system_port = MasterPort("System port")
45
46 @classmethod
47 def export_method_cxx_predecls(cls, code):
48 code('#include "sim/system.hh"')
49
50 @classmethod
51 def export_methods(cls, code):
52 code('''
53 Enums::MemoryMode getMemoryMode() const;

--- 34 unchanged lines hidden ---