mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix hosted mode
This commit is contained in:
parent
6230c922ac
commit
99c6e005ad
3 changed files with 4 additions and 2 deletions
|
|
@ -262,6 +262,7 @@ impl Default for BackupHeaderIpc {
|
|||
}
|
||||
|
||||
pub const BACKUP_VERSION: u32 = 0x00_01_00_01;
|
||||
#[cfg(any(feature="precursor", feature="renode"))]
|
||||
pub const BACKUP_VERSION_MASK: u32 = 0xFF_FF_00_00; // mask off bits that are cross-compatible
|
||||
|
||||
#[repr(u32)]
|
||||
|
|
|
|||
|
|
@ -369,10 +369,11 @@ mod implementation {
|
|||
}
|
||||
pub fn should_prompt_for_update(&self) -> bool {true}
|
||||
pub fn set_prompt_for_update(&self, _state: bool) {}
|
||||
pub fn write_backup(&mut self, mut header: BackupHeader, backup_ct: backups::BackupDataCt) -> Result<(), xous::Error> {
|
||||
pub fn write_backup(&mut self, mut header: BackupHeader, backup_ct: backups::BackupDataCt, checksums: Option::<Checksums>) -> Result<(), xous::Error> {
|
||||
header.op = BackupOp::Backup;
|
||||
log::info!("backup header: {:?}", header);
|
||||
log::info!("backup ciphertext: {:x?}", backup_ct.as_ref());
|
||||
log::info!("backup checksums: {:x?}", checksums);
|
||||
Ok(())
|
||||
}
|
||||
pub fn write_restore_dna(&mut self, mut header: BackupHeader, backup_ct: backups::BackupDataCt) -> Result<(), xous::Error> {
|
||||
|
|
|
|||
|
|
@ -638,8 +638,8 @@ def main():
|
|||
# now try to download all the artifacts and check their versions
|
||||
# this list should visit kernels in order from newest to oldest.
|
||||
URL_LIST = [
|
||||
'https://ci.betrusted.io/latest-ci/', # prefer stable, but fallback to latest-ci if the kernels are too old
|
||||
'https://ci.betrusted.io/releases/v0.9.9/',
|
||||
'https://ci.betrusted.io/latest-ci/', # prefer stable, but fallback to latest-ci if the kernels are too old
|
||||
'https://ci.betrusted.io/releases/v0.9.8/',
|
||||
'https://ci.betrusted.io/releases/v0.9.7/'
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue