Skip to content

Commit

Permalink
don't try to set up gs local data in arch init
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Nov 16, 2022
1 parent 380c7d6 commit e5ae9fe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/arch/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,6 @@ pub fn arch_entry(info: &'static mut bootloader::BootInfo) -> ! {
pub fn init(_info: &impl BootInfo, archinfo: &ArchInfo) {
pci::init_pci();

// init boot processor's core-local data
unsafe {
GsLocalData::init();
}
tracing::info!("set up the boot processor's local data");

if let Some(rsdp) = archinfo.rsdp_addr {
let acpi = acpi::acpi_tables(rsdp);
let platform_info = acpi.and_then(|acpi| acpi.platform_info());
Expand Down

0 comments on commit e5ae9fe

Please sign in to comment.