From 90edc7dd275d5f73a1b90c47599329521d943f2e Mon Sep 17 00:00:00 2001 From: chyyuu Date: Thu, 23 Jun 2022 13:14:25 +0000 Subject: [PATCH] deploy: cc636058d4645dfd52a7a82f933e1c4087f8a969 --- ch1-dev/os/sbi/fn.shutdown.html | 2 +- ch1-dev/os/sbi/index.html | 2 +- ch1-dev/src/os/sbi.rs.html | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ch1-dev/os/sbi/fn.shutdown.html b/ch1-dev/os/sbi/fn.shutdown.html index 094af0f4..1698952d 100644 --- a/ch1-dev/os/sbi/fn.shutdown.html +++ b/ch1-dev/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-dev/os/sbi/index.html b/ch1-dev/os/sbi/index.html index 81bfa682..8e7bd6ea 100644 --- a/ch1-dev/os/sbi/index.html +++ b/ch1-dev/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-dev/src/os/sbi.rs.html b/ch1-dev/src/os/sbi.rs.html index 87e2649f..ddd16101 100644 --- a/ch1-dev/src/os/sbi.rs.html +++ b/ch1-dev/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() -> ! {