mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-15 03:37:06 +00:00
49dad3b9ff
Now keeps track of the requested MMIO maps in a DictRangeMap, which is then flattened to HV page table updates. TODO: HOOK/SYNC codepaths Signed-off-by: Hector Martin <marcan@marcan.st>
19 lines
486 B
Python
19 lines
486 B
Python
# SPDX-License-Identifier: MIT
|
|
|
|
# Map the entire MMIO range as traceable
|
|
trace_range(range(0x2_00000000, 0x7_00000000))
|
|
|
|
# Skip some noisy devices
|
|
try:
|
|
trace_device("/arm-io/usb-drd0", False)
|
|
except KeyError:
|
|
pass
|
|
try:
|
|
trace_device("/arm-io/usb-drd1", False)
|
|
except KeyError:
|
|
pass
|
|
trace_device("/arm-io/uart2", False)
|
|
trace_device("/arm-io/error-handler", False)
|
|
trace_device("/arm-io/aic", False)
|
|
trace_device("/arm-io/spi1", False)
|
|
trace_device("/arm-io/pmgr", False)
|