On 1/27/26 16:51, Mohd Kashif Khan wrote:
Hello,
This patch introduces a Rust implementation of the CMSDK APB Watchdog
(originally hw/watchdog/cmsdk-apb-watchdog.c).
The implementation functions as a drop-in replacement that:
1. Implements the ResettablePhasesImpl trait for hardware resets.
2. Uses BqlCell for thread-safe register access.
3. Maps the MMIO read/write logic to the Rust MemoryRegionOpsBuilder.
I welcome any feedback on the implementation or the usage of the safe
bindings.
Signed-off-by: Mohd Kashif Khan <[email protected]
<mailto:[email protected]>>
Hi, would you please change it to use BqlRefCell instead?
Also, right now the device is added always to the build. You need to
add alternative configuration symbols similar to how pl011 has both
PL011_C and X_PL011_RUST.
Thanks,
Paolo