base: apply Red Bear patches on latest upstream/main
251 files: init, acpid, ipcd, netcfg, ihdgd, virtio-gpud, scheme-utils, inputd, block driver, ptyd, ramfs, randd, initfs bootstrap, path deps, version +rb0.3.1, author attribution
This commit is contained in:
@@ -13,7 +13,7 @@ use common::io::Pio;
|
||||
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
|
||||
use common::io::Mmio;
|
||||
|
||||
use log::{debug, error, trace, warn};
|
||||
use log::{debug, error, info, trace, warn};
|
||||
|
||||
use std::fmt;
|
||||
|
||||
@@ -129,7 +129,9 @@ impl Ps2 {
|
||||
|
||||
#[cfg(not(any(target_arch = "x86", target_arch = "x86_64")))]
|
||||
pub fn new() -> Self {
|
||||
unimplemented!()
|
||||
// The PS/2 controller is an x86/x86_64 legacy device. No other
|
||||
// architecture exposes the 0x60/0x64 I/O ports.
|
||||
panic!("ps2d: only supported on x86 and x86_64");
|
||||
}
|
||||
|
||||
fn status(&mut self) -> StatusFlags {
|
||||
|
||||
Reference in New Issue
Block a user