mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 14:23:39 +00:00
11 lines
299 B
Rust
11 lines
299 B
Rust
use crate::{arch::MMArch, libs::elf::ElfArch, mm::MemoryManagementArch};
|
|
|
|
#[derive(Debug, Clone, Copy, Hash)]
|
|
pub struct X86_64ElfArch;
|
|
|
|
impl ElfArch for X86_64ElfArch {
|
|
const ELF_ET_DYN_BASE: usize = MMArch::USER_END_VADDR.data() / 3 * 2;
|
|
|
|
const ELF_PAGE_SIZE: usize = MMArch::PAGE_SIZE;
|
|
}
|