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 cc77178 commit a11f98aCopy full SHA for a11f98a
uefi-test-runner/src/boot/misc.rs
@@ -119,9 +119,14 @@ fn test_callback_with_ctx(bt: &BootServices) {
119
}
120
121
fn test_watchdog(bt: &BootServices) {
122
- // Disable the UEFI watchdog timer
+ // There's no way to check the watchdog timer value, so just test setting it.
123
+
124
+ // Disable the UEFI watchdog timer.
125
bt.set_watchdog_timer(0, 0x10000, None)
126
.expect("Could not set watchdog timer");
127
128
+ // Set the timer with the freestanding function.
129
+ boot::set_watchdog_timer(240, 0x10000, None).expect("Could not set watchdog timer");
130
131
132
/// Dummy protocol for tests
0 commit comments