attempt autodetection of NSM

This commit is contained in:
Ryan Heywood 2025-07-11 20:14:26 -04:00
parent b7316b5741
commit 449e934cf0
Signed by: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 4 additions and 10 deletions

View File

@ -36,25 +36,19 @@ fn init() -> Result<()> {
} }
} }
} }
platform::aws::Aws.init().unwrap();
init_console()?; init_console()?;
system::dmesg("EnclaveOS Booted");
let config = config::get_config()?; let config = config::get_config()?;
dmesg(format!("{config:?}"));
std::thread::sleep(std::time::Duration::from_secs(500));
/*
if let Some(platform) = config.platform.as_deref() { if let Some(platform) = config.platform.as_deref() {
platform::init(platform)?; platform::init(platform)?;
} else if let Some(platform) = platform::get_current_platform(None)?.as_deref() { } else if let Some(platform) = platform::get_current_platform(None)?.as_deref() {
platform::init(platform)?; platform::init(platform)?;
} }
*/
system::dmesg("EnclaveOS Booted");
std::thread::sleep(std::time::Duration::from_secs(500));
/* /*
let command = &config.target; let command = &config.target;