Implement a stub nnpc for alpha that is read only as npc+4.
--HG-- extra : convert_revision : d08b740d32757fa5471c9bcde9084d59a1d8102d
This commit is contained in:
@@ -219,11 +219,19 @@ class OzoneCPU : public BaseCPU
|
||||
|
||||
uint64_t readNextNPC()
|
||||
{
|
||||
return 0;
|
||||
#if ISA_HAS_DELAY_SLOT
|
||||
panic("Ozone needs to support nextNPC");
|
||||
#else
|
||||
return thread->nextPC + sizeof(TheISA::MachInst);
|
||||
#endif
|
||||
}
|
||||
|
||||
void setNextNPC(uint64_t val)
|
||||
{ }
|
||||
{
|
||||
#if ISA_HAS_DELAY_SLOT
|
||||
panic("Ozone needs to support nextNPC");
|
||||
#endif
|
||||
}
|
||||
|
||||
public:
|
||||
// ISA stuff:
|
||||
|
||||
Reference in New Issue
Block a user