Fix various SWIG warnings

This commit is contained in:
Nathan Binkert 2008-06-14 12:57:21 -07:00
parent 7a58b5a38a
commit ce43e46576
4 changed files with 5 additions and 7 deletions

View file

@ -33,10 +33,8 @@ from m5.SimObject import SimObject
from m5.params import *
class MipsTLB(SimObject):
abstract = True
type = 'MipsTLB'
cxx_namespace = 'MipsISA'
cxx_class = 'TLB'
abstract = True
size = Param.Int("TLB size")
class MipsDTB(MipsTLB):

View file

@ -69,8 +69,6 @@ if build_env['FULL_SYSTEM']:
class X86TLB(SimObject):
type = 'X86TLB'
cxx_namespace = 'X86ISA'
cxx_class = 'TLB'
abstract = True
size = Param.Int("TLB size")
if build_env['FULL_SYSTEM']:

View file

@ -44,8 +44,8 @@
void create(PyObject *object, Tick when);
class Event;
class CountedDrainEvent : public Event {
class CountedDrainEvent
{
public:
void setCount(int _count);
};

View file

@ -28,6 +28,8 @@
* Authors: Nathan Binkert
*/
%rename(assign) *::operator=;
%include "base/range.hh"
%include "sim/host.hh"