mirror of
https://github.com/AsahiLinux/m1n1
synced 2025-02-16 21:58:27 +00:00
m1n1.hv: Keep track of started CPUs
Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
3d3d5ea5ad
commit
bfc91be170
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,7 @@ class HV(Reloadable):
|
|||
self.wdt_cpu = None
|
||||
self.smp = True
|
||||
self.hook_exceptions = False
|
||||
self.started_cpus = set()
|
||||
|
||||
def _reloadme(self):
|
||||
super()._reloadme()
|
||||
|
@ -1141,6 +1142,7 @@ class HV(Reloadable):
|
|||
self.log(f" CPU #{index}: RVBAR = {entry:#x}")
|
||||
|
||||
self.sysreg[index] = {}
|
||||
self.started_cpus.add(index)
|
||||
self.p.hv_start_secondary(index, entry)
|
||||
|
||||
def setup_adt(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue