We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5660b65 commit eaf7501Copy full SHA for eaf7501
soc/intel/intel_adsp/tools/cavstool.py
@@ -37,6 +37,7 @@
37
38
DEBUG_SLOT_SIZE = 4096
39
DEBUG_SLOT_SHELL = 0
40
+DEBUG_SLOT_SHELL_TYPE = 0x73686c6c
41
SHELL_RX_SIZE = 256
42
SHELL_MAX_VALID_SLOT_SIZE = 16777216
43
@@ -769,7 +770,7 @@ def debug_slot_offset_by_type(the_type, timeout_s=0.2):
769
770
return None
771
772
def shell_base_offset():
- return debug_offset() + DEBUG_SLOT_SIZE * (1 + DEBUG_SLOT_SHELL)
773
+ return debug_slot_offset_by_type(DEBUG_SLOT_SHELL_TYPE)
774
775
def read_from_shell_memwindow_winstream(last_seq):
776
offset = shell_base_offset() + SHELL_RX_SIZE
0 commit comments