[PrivCPU] fixed naming for csr mtimecmp callback function
This commit is contained in:
parent
5b2b12507d
commit
c2002cd46d
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
venv
|
||||
__pycache__
|
||||
__pycache__
|
||||
.mypy_cache
|
@ -134,7 +134,7 @@ class PrivCPU(CPU):
|
||||
self._time_interrupt_enabled = True
|
||||
|
||||
@self.csr.callback('mtimecmph')
|
||||
def mtimecmp(old, new):
|
||||
def mtimecmph(old, new):
|
||||
self._time_timecmp = (new << 32) + self.csr.get('mtimecmp')
|
||||
self._time_interrupt_enabled = True
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user