From 550fb31731d4503e1ef86913b56629e0ce66bb9c Mon Sep 17 00:00:00 2001 From: chyyuu Date: Thu, 23 Jun 2022 13:13:39 +0000 Subject: [PATCH] deploy: cc636058d4645dfd52a7a82f933e1c4087f8a969 --- ch1/os/sbi/fn.shutdown.html | 2 +- ch1/os/sbi/index.html | 2 +- ch1/src/os/sbi.rs.html | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ch1/os/sbi/fn.shutdown.html b/ch1/os/sbi/fn.shutdown.html index 094af0f4..1698952d 100644 --- a/ch1/os/sbi/fn.shutdown.html +++ b/ch1/os/sbi/fn.shutdown.html @@ -4,6 +4,6 @@
-

Function os::sbi::shutdown

source · []
pub fn shutdown() -> !
Expand description

use sbi call to shutdown the kernel

+

Function os::sbi::shutdown

source · []
pub fn shutdown() -> !
Expand description

use sbi call to shutdown the kernel

\ No newline at end of file diff --git a/ch1/os/sbi/index.html b/ch1/os/sbi/index.html index 81bfa682..8e7bd6ea 100644 --- a/ch1/os/sbi/index.html +++ b/ch1/os/sbi/index.html @@ -4,7 +4,7 @@
-

Module os::sbi

source · []

Constants

+

Module os::sbi

source · []

Constants

Functions

use sbi call to getchar from console (qemu uart handler)

use sbi call to putchar in console (qemu uart handler)

diff --git a/ch1/src/os/sbi.rs.html b/ch1/src/os/sbi.rs.html index 87e2649f..ddd16101 100644 --- a/ch1/src/os/sbi.rs.html +++ b/ch1/src/os/sbi.rs.html @@ -54,6 +54,7 @@ 49 50 51 +52
#![allow(unused)]
 
 use core::arch::asm;
@@ -94,6 +95,7 @@
     sbi_call(SBI_CONSOLE_GETCHAR, 0, 0, 0)
 }
 
+#[cfg(feature = "board_qemu")]
 use crate::board::QEMUExit;
 /// use sbi call to shutdown the kernel
 pub fn shutdown() -> ! {