Skip to content

Commit 36c4f52

Browse files
Enable kernel HardwareDebugAPI
The zynqmp config.cmake has `KernelHardwareDebugAPIUnsupported` on for some reason, so will have to look into that. RISC-V seems unsupported in general. Signed-off-by: Ivan Velickovic <i.velickovic@unsw.edu.au>
1 parent ce30c16 commit 36c4f52

3 files changed

Lines changed: 38 additions & 31 deletions

File tree

Cargo.lock

Lines changed: 26 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ members = [
1212
]
1313

1414
[workspace.dependencies.sel4-capdl-initializer]
15-
git = "https://github.com/seL4/rust-sel4"
16-
rev = "7a2321f2d84310ba7a09fe7f5988e6dcecde3566"
15+
git = "https://github.com/au-ts/rust-sel4"
16+
rev = "9102a134c2b5925d17e021280a3d104e79805221"
1717

1818
[workspace.dependencies.sel4-capdl-initializer-types]
19-
git = "https://github.com/seL4/rust-sel4"
20-
rev = "7a2321f2d84310ba7a09fe7f5988e6dcecde3566"
19+
git = "https://github.com/au-ts/rust-sel4"
20+
rev = "9102a134c2b5925d17e021280a3d104e79805221"
2121

2222
[profile.release.package.microkit-tool]
2323
strip = true

build_sdk.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,14 @@ class KernelPath:
445445
"KernelPrinting": True,
446446
"KernelVerificationBuild": False
447447
},
448-
kernel_options_arch={},
448+
kernel_options_arch={
449+
KernelArch.AARCH64: {
450+
"HardwareDebugAPI": True,
451+
},
452+
KernelArch.X86_64: {
453+
"HardwareDebugAPI": True,
454+
}
455+
},
449456
),
450457
ConfigInfo(
451458
name="benchmark",

0 commit comments

Comments
 (0)