Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public MPFS_Sysreg(IMachine machine)
},

// Holds the MSS peripherals in reset. When in reset the peripheral should not be accessed.
{(long)Registers.SoftResetCr, new DoubleWordRegister(this, 0x7FFFFFFE)
{(long)Registers.SoftResetCr, new DoubleWordRegister(this, 0x3FFFFFFE)
.WithFlag(0, writeCallback: (_, val) => ManageSoftReset(val, 0), name: "ENVM")
.WithFlag(1, writeCallback: (_, val) => ManageSoftReset(val, 1), name: "MAC0")
.WithFlag(2, writeCallback: (_, val) => ManageSoftReset(val, 2), name: "MAC1")
Expand Down Expand Up @@ -132,13 +132,13 @@ public MPFS_Sysreg(IMachine machine)
{(long)Registers.ClockConfigCr, new DoubleWordRegister(this, 0x10)
.WithTag("ClockConfig", 0, 32)
},
{(long)Registers.EnvmCr, new DoubleWordRegister(this, 0xFF)
{(long)Registers.EnvmCr, new DoubleWordRegister(this, 0x4005004F)
.WithTag("Envm", 0, 32)
},
{(long)Registers.RtcClockCr, new DoubleWordRegister(this, 0x1064)
{(long)Registers.RtcClockCr, new DoubleWordRegister(this, 0x10064)
.WithTag("RtcClock", 0, 32)
},
{(long)Registers.PllStatusSr, new DoubleWordRegister(this, 0x707)
{(long)Registers.PllStatusSr, new DoubleWordRegister(this, 0x0)
.WithTag("PllStatus", 0, 32)
},
{(long)Registers.EdacSr, new DoubleWordRegister(this)
Expand Down Expand Up @@ -384,4 +384,4 @@ private enum Registers
SparePerimRw = 0x2DC
}
}
}
}