1*a02ce654SChiichen use crate::{arch::MMArch, libs::elf::ElfArch, mm::MemoryManagementArch}; 2*a02ce654SChiichen 3*a02ce654SChiichen #[derive(Debug, Clone, Copy, Hash)] 4*a02ce654SChiichen pub struct X86_64ElfArch; 5*a02ce654SChiichen 6*a02ce654SChiichen impl ElfArch for X86_64ElfArch { 7*a02ce654SChiichen const ELF_ET_DYN_BASE: usize = MMArch::USER_END_VADDR.data() / 3 * 2; 8*a02ce654SChiichen 9*a02ce654SChiichen const ELF_PAGE_SIZE: usize = MMArch::PAGE_SIZE; 10*a02ce654SChiichen } 11