From 08bb2537b5f86ce45f1c295635644ff0efcdef82 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Fri, 15 Mar 2024 10:59:58 +0100 Subject: [PATCH] Remove the deprecated bootstrap_entry field from KernelArgs --- src/arch/aarch64/start.rs | 2 -- src/arch/x86/start.rs | 2 -- src/arch/x86_64/start.rs | 2 -- 3 files changed, 6 deletions(-) diff --git a/src/arch/aarch64/start.rs b/src/arch/aarch64/start.rs index e600cf2060..d8543f561d 100644 --- a/src/arch/aarch64/start.rs +++ b/src/arch/aarch64/start.rs @@ -48,8 +48,6 @@ pub struct KernelArgs { bootstrap_base: usize, /// Size of contiguous bootstrap/initfs physical region, not necessarily page aligned. bootstrap_size: usize, - /// Entry point the kernel will jump to. (deprecated) - _bootstrap_entry: usize, } /// The entry to Rust, all things must be initialized diff --git a/src/arch/x86/start.rs b/src/arch/x86/start.rs index 01a8f9466a..d24dd164e0 100644 --- a/src/arch/x86/start.rs +++ b/src/arch/x86/start.rs @@ -60,8 +60,6 @@ pub struct KernelArgs { bootstrap_base: u64, /// Size of contiguous bootstrap/initfs physical region, not necessarily page aligned. bootstrap_size: u64, - /// Entry point the kernel will jump to. (deprecated) - _bootstrap_entry: u64, } /// The entry to Rust, all things must be initialized diff --git a/src/arch/x86_64/start.rs b/src/arch/x86_64/start.rs index d127f51ce5..64aef2d24c 100644 --- a/src/arch/x86_64/start.rs +++ b/src/arch/x86_64/start.rs @@ -60,8 +60,6 @@ pub struct KernelArgs { bootstrap_base: u64, /// Size of contiguous bootstrap/initfs physical region, not necessarily page aligned. bootstrap_size: u64, - /// Entry point the kernel will jump to. (deprecated) - _bootstrap_entry: u64, } /// The entry to Rust, all things must be initialized