Skip to content
Snippets Groups Projects
Unverified Commit c88be604 authored by bors[bot]'s avatar bors[bot] Committed by GitHub
Browse files

Merge #687


687: don't initialize C network stack for uhyve r=stlankes a=stlankes



Co-authored-by: Stefan Lankes's avatarStefan Lankes <slankes@eonerc.rwth-aachen.de>
parents 75bb406b 0c0ddf0a
Branches
Tags
No related merge requests found
Pipeline #943598 passed
......@@ -244,6 +244,7 @@ extern "C" fn initd(_arg: usize) {
fn init_rtl8139_netif(freq: u32) -> i32;
}
if !env::is_uhyve() {
// initialize LwIP library for newlib-based applications
#[cfg(feature = "newlib")]
unsafe {
......@@ -251,11 +252,9 @@ extern "C" fn initd(_arg: usize) {
init_rtl8139_netif(processor::get_frequency() as u32);
}
if env::is_uhyve() {
// Initialize the uhyve-net interface using the IP and gateway addresses specified in hcip, hcmask, hcgateway.
info!("HermitCore is running on uhyve!");
} else {
info!("HermitCore is running on common system!");
} else {
info!("HermitCore is running on uhyve!");
}
// Initialize Drivers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment