Fix various SWIG warnings
This commit is contained in:
parent
7a58b5a38a
commit
ce43e46576
4 changed files with 5 additions and 7 deletions
|
@ -33,10 +33,8 @@ from m5.SimObject import SimObject
|
||||||
from m5.params import *
|
from m5.params import *
|
||||||
|
|
||||||
class MipsTLB(SimObject):
|
class MipsTLB(SimObject):
|
||||||
abstract = True
|
|
||||||
type = 'MipsTLB'
|
type = 'MipsTLB'
|
||||||
cxx_namespace = 'MipsISA'
|
abstract = True
|
||||||
cxx_class = 'TLB'
|
|
||||||
size = Param.Int("TLB size")
|
size = Param.Int("TLB size")
|
||||||
|
|
||||||
class MipsDTB(MipsTLB):
|
class MipsDTB(MipsTLB):
|
||||||
|
|
|
@ -69,8 +69,6 @@ if build_env['FULL_SYSTEM']:
|
||||||
|
|
||||||
class X86TLB(SimObject):
|
class X86TLB(SimObject):
|
||||||
type = 'X86TLB'
|
type = 'X86TLB'
|
||||||
cxx_namespace = 'X86ISA'
|
|
||||||
cxx_class = 'TLB'
|
|
||||||
abstract = True
|
abstract = True
|
||||||
size = Param.Int("TLB size")
|
size = Param.Int("TLB size")
|
||||||
if build_env['FULL_SYSTEM']:
|
if build_env['FULL_SYSTEM']:
|
||||||
|
|
|
@ -44,8 +44,8 @@
|
||||||
|
|
||||||
void create(PyObject *object, Tick when);
|
void create(PyObject *object, Tick when);
|
||||||
|
|
||||||
class Event;
|
class CountedDrainEvent
|
||||||
class CountedDrainEvent : public Event {
|
{
|
||||||
public:
|
public:
|
||||||
void setCount(int _count);
|
void setCount(int _count);
|
||||||
};
|
};
|
||||||
|
|
|
@ -28,6 +28,8 @@
|
||||||
* Authors: Nathan Binkert
|
* Authors: Nathan Binkert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
%rename(assign) *::operator=;
|
||||||
|
|
||||||
%include "base/range.hh"
|
%include "base/range.hh"
|
||||||
%include "sim/host.hh"
|
%include "sim/host.hh"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue