mips: Remove unused private members to fix compile-time warning
Certain versions of clang complain about unused private members if they are not used. This changeset removes such members from the MIPS-specific classes to silence the warning.
This commit is contained in:
parent
8d04e32a83
commit
8b8d991df0
5 changed files with 0 additions and 65 deletions
|
@ -59,7 +59,6 @@ class Interrupts : public SimObject
|
||||||
|
|
||||||
Interrupts(Params * p) : SimObject(p)
|
Interrupts(Params * p) : SimObject(p)
|
||||||
{
|
{
|
||||||
newInfoSet = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -127,11 +126,6 @@ class Interrupts : public SimObject
|
||||||
{
|
{
|
||||||
fatal("Unserialization of Interrupts Unimplemented for MIPS");
|
fatal("Unserialization of Interrupts Unimplemented for MIPS");
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
|
||||||
bool newInfoSet;
|
|
||||||
int newIpl;
|
|
||||||
int newSummary;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,45 +87,6 @@ class LinuxMipsSystem : public MipsSystem
|
||||||
Addr InitrdSize() const { return Param() + 0x108; }
|
Addr InitrdSize() const { return Param() + 0x108; }
|
||||||
static const int CommandLineSize = 256;
|
static const int CommandLineSize = 256;
|
||||||
|
|
||||||
private:
|
|
||||||
#ifndef NDEBUG
|
|
||||||
/** Event to halt the simulator if the kernel calls panic() */
|
|
||||||
BreakPCEvent *kernelPanicEvent;
|
|
||||||
|
|
||||||
/** Event to halt the simulator if the kernel calls die_if_kernel */
|
|
||||||
BreakPCEvent *kernelDieEvent;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Event to skip determine_cpu_caches() because we don't support
|
|
||||||
* the IPRs that the code can access to figure out cache sizes
|
|
||||||
*/
|
|
||||||
SkipFuncEvent *skipCacheProbeEvent;
|
|
||||||
|
|
||||||
/** PC based event to skip the ide_delay_50ms() call */
|
|
||||||
SkipFuncEvent *skipIdeDelay50msEvent;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* PC based event to skip the dprink() call and emulate its
|
|
||||||
* functionality
|
|
||||||
*/
|
|
||||||
Linux::DebugPrintkEvent *debugPrintkEvent;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Skip calculate_delay_loop() rather than waiting for this to be
|
|
||||||
* calculated
|
|
||||||
*/
|
|
||||||
SkipDelayLoopEvent *skipDelayLoopEvent;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Event to print information about thread switches if the trace flag
|
|
||||||
* Thread is set
|
|
||||||
*/
|
|
||||||
PrintThreadInfo *printThreadEvent;
|
|
||||||
|
|
||||||
/** Grab the PCBB of the idle process when it starts */
|
|
||||||
IdleStartEvent *idleStartEvent;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
typedef LinuxMipsSystemParams Params;
|
typedef LinuxMipsSystemParams Params;
|
||||||
LinuxMipsSystem(Params *p);
|
LinuxMipsSystem(Params *p);
|
||||||
|
|
|
@ -45,8 +45,6 @@ class ProcessInfo
|
||||||
private:
|
private:
|
||||||
ThreadContext *tc;
|
ThreadContext *tc;
|
||||||
|
|
||||||
int thread_info_size;
|
|
||||||
int task_struct_size;
|
|
||||||
int task_off;
|
int task_off;
|
||||||
int pid_off;
|
int pid_off;
|
||||||
int name_off;
|
int name_off;
|
||||||
|
|
|
@ -59,21 +59,6 @@ using namespace MipsISA;
|
||||||
// MIPS TLB
|
// MIPS TLB
|
||||||
//
|
//
|
||||||
|
|
||||||
static inline mode_type
|
|
||||||
getOperatingMode(MiscReg Stat)
|
|
||||||
{
|
|
||||||
if ((Stat & 0x10000006) != 0 || (Stat & 0x18) ==0) {
|
|
||||||
return mode_kernel;
|
|
||||||
} else if ((Stat & 0x18) == 0x8) {
|
|
||||||
return mode_supervisor;
|
|
||||||
} else if ((Stat & 0x18) == 0x10) {
|
|
||||||
return mode_user;
|
|
||||||
} else {
|
|
||||||
return mode_number;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
TLB::TLB(const Params *p)
|
TLB::TLB(const Params *p)
|
||||||
: BaseTLB(p), size(p->size), nlu(0)
|
: BaseTLB(p), size(p->size), nlu(0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -51,9 +51,6 @@
|
||||||
*/
|
*/
|
||||||
class MaltaIO : public BasicPioDevice
|
class MaltaIO : public BasicPioDevice
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
struct tm tm;
|
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
class RTC : public MC146818
|
class RTC : public MC146818
|
||||||
|
|
Loading…
Reference in a new issue