Remove K210 support.
This commit is contained in:
parent
3fba081487
commit
775755cf12
17 changed files with 10 additions and 994 deletions
|
@ -40,13 +40,7 @@ pub fn console_getchar() -> usize {
|
|||
sbi_call(SBI_CONSOLE_GETCHAR, 0, 0, 0)
|
||||
}
|
||||
|
||||
#[cfg(feature = "board_qemu")]
|
||||
use crate::board::QEMUExit;
|
||||
pub fn shutdown(exit_code: usize) -> ! {
|
||||
#[cfg(feature = "board_k210")]
|
||||
sbi_call(SBI_SHUTDOWN, exit_code, 0, 0);
|
||||
#[cfg(feature = "board_qemu")]
|
||||
crate::board::QEMU_EXIT_HANDLE.exit_failure();
|
||||
#[cfg(feature = "board_k210")]
|
||||
panic!("It should shutdown!");
|
||||
crate::board::QEMU_EXIT_HANDLE.exit_failure()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue