Skip to content

Commit

Permalink
Merge #39
Browse files Browse the repository at this point in the history
39: Migrate from core-intrinsics to core::ptr r=mkroening a=mkroening

bors r+

Co-authored-by: Martin Kröning <[email protected]>
  • Loading branch information
bors[bot] and mkroening authored Sep 26, 2021
2 parents 7bdadcc + c389741 commit 6605efc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/arch/x86_64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub use self::bootinfo::*;
use crate::arch::x86_64::paging::{BasePageSize, LargePageSize, PageSize, PageTableEntryFlags};
use crate::arch::x86_64::serial::SerialPort;
use core::convert::TryInto;
use core::intrinsics::copy;
use core::ptr::copy;
use core::{mem, slice};
use goblin::elf;
use multiboot::information::{MemoryManagement, Multiboot, PAddr};
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ extern crate bitflags;
use crate::arch::x86_64::paging::{LargePageSize, PageSize};
use crate::arch::{get_memory, BOOT_INFO, ELF_ARCH};
use core::convert::TryInto;
use core::intrinsics::{copy_nonoverlapping, write_bytes};
use core::ptr;
use core::ptr::{self, copy_nonoverlapping, write_bytes};
use goblin::elf;
use goblin::elf::program_header::{PT_LOAD, PT_TLS};
use goblin::elf64::reloc::*;
Expand Down

0 comments on commit 6605efc

Please sign in to comment.