Skip to content

Commit

Permalink
Added disas support for sima and usima
Browse files Browse the repository at this point in the history
  • Loading branch information
janweinstock committed Jan 14, 2024
1 parent 00ac475 commit 1e2f6d9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public Instruction(long address, String description) {
String insn = matcher.group(4);
String disas = matcher.group(5);

if (phys == null || phys == "")
if (phys == null || phys.isEmpty() || phys == "")
phys = virt;

symbol = (sym != null) ? sym : "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public InspectionService() { // find a better way to do this
registerModulePart(Module.KIND_VCML_TERMINAL, "org.vcml.explorer.ui.parts.UartPart");
registerModulePart(Module.KIND_VCML_PROCESSOR, "org.vcml.explorer.ui.parts.ProcessorPart");
registerModulePart(Module.KIND_SIMV_HART, "org.vcml.explorer.ui.parts.ProcessorPart");
registerModulePart(Module.KIND_SIMA_CORE, "org.vcml.explorer.ui.parts.ProcessorPart");
registerModulePart(Module.KIND_USIMA_CORE, "org.vcml.explorer.ui.parts.ProcessorPart");
}

}
2 changes: 2 additions & 0 deletions bundles/org.vcml.session/src/org/vcml/session/Module.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public class Module {
public static final String KIND_VCML_TERMINAL = "vcml::serial::terminal";

public static final String KIND_SIMV_HART = "simv::hart";
public static final String KIND_SIMA_CORE = "sima::core";
public static final String KIND_USIMA_CORE = "usima::core";

public static final String VERSION_UNKNOWN = "unknown";

Expand Down

0 comments on commit 1e2f6d9

Please sign in to comment.