From 432a4467c3b5e58d443fc7d84dcdcfce0a2c2cb4 Mon Sep 17 00:00:00 2001 From: Andrew Shen Date: Sat, 12 Dec 2020 20:47:46 -0800 Subject: [PATCH] Copy WDT into emulator to fix build break Quick fix a build break in ticktimer-server by copying the WDT from the SoC into the emulator so that it can reference utra::wdt::WATCHDOG_RESET_CODE . Signed-off-by: Andrew Shen --- emulation/renode.svd | 52 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/emulation/renode.svd b/emulation/renode.svd index 27d5d3378..6548ff5bf 100644 --- a/emulation/renode.svd +++ b/emulation/renode.svd @@ -5243,6 +5243,58 @@ exactly reflects the binary layout of an Engine instruction.]]> registers + + WDT + 0xF0020000 + WDT + + + WATCHDOG + 0x0000 + 0x00 + 32 + + + reset_code + 15 + [15:0] + 0 + + + + enable + 16 + [16:16] + 16 + + + + + + PERIOD + 0x0004 + 0x135f1b40 + 32 + + + period + 31 + [31:0] + 0 + + + + + + + 0 + 0x8 + registers + +