Fix various SWIG warnings
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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']:
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
|
||||
void create(PyObject *object, Tick when);
|
||||
|
||||
class Event;
|
||||
class CountedDrainEvent : public Event {
|
||||
class CountedDrainEvent
|
||||
{
|
||||
public:
|
||||
void setCount(int _count);
|
||||
};
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
* Authors: Nathan Binkert
|
||||
*/
|
||||
|
||||
%rename(assign) *::operator=;
|
||||
|
||||
%include "base/range.hh"
|
||||
%include "sim/host.hh"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user