fix missing init() methods in hosted mode emulation structures

This commit is contained in:
bunnie 2023-07-16 18:31:14 +08:00
parent b5e15fd7cc
commit 680c8b88c7
8 changed files with 8 additions and 0 deletions

View file

@ -267,6 +267,7 @@ mod implementation {
busy: false,
}
}
pub fn init(&mut self) {}
pub fn suspend(&self) {}
pub fn resume(&self) {}

View file

@ -720,6 +720,7 @@ mod implementation {
Engine25519Hw {
}
}
pub fn init(&mut self) {}
pub fn suspend(&self) {
}
pub fn resume(&self) {

View file

@ -274,6 +274,7 @@ mod implementation {
pub(crate) fn new(_handler_conn: Option<xous::CID>) -> Engine512 {
Engine512 {}
}
pub(crate) fn init(&mut self) {}
pub(crate) fn suspend(&self) {}
pub(crate) fn resume(&self) {}
pub(crate) fn reset(&self) {}

View file

@ -671,6 +671,7 @@ mod implementation {
debug: 0,
}
}
pub fn init(&mut self) {}
pub fn suspend(&self) {
}
pub fn resume(&self) {

View file

@ -9,6 +9,7 @@ impl I2cStateMachine {
I2cStateMachine {
}
}
pub fn init(&mut self) {}
pub fn suspend(&mut self) {}
pub fn resume(&mut self) {}
pub fn re_initiate(&mut self) {}

View file

@ -11,6 +11,7 @@ impl Llio {
Llio {
}
}
pub fn init(&mut self) {}
pub fn suspend(&self) {}
pub fn resume(&self) {}
pub fn gpio_dout(&self, _d: u32) {}

View file

@ -682,6 +682,7 @@ mod implementation {
Spinor {
}
}
pub fn init(&mut self) {}
pub fn suspend(&self) {
}
pub fn resume(&self) {

View file

@ -454,6 +454,7 @@ mod implementation {
pub fn new() -> Self {
SusResHw {}
}
pub fn init(&mut self) {}
pub fn reboot(&self, _reboot_soc: bool) {}
pub fn set_reboot_vector(&self, _vector: u32) {}
pub fn force_power_off(&mut self) {}