Home
last modified time | relevance | path

Searched refs:set_execute (Results 1 – 8 of 8) sorted by relevance

/DragonOS/kernel/src/arch/riscv64/mm/
H A Dinit.rs111 let flags = kernel_page_flags::<MMArch>(vaddr).set_execute(true); in riscv_mm_init()
190 let flags = kernel_page_flags::<MMArch>(vaddr).set_execute(true); in remap_at_low_address()
H A Dmod.rs342 .set_execute(true) in kernel_page_flags()
/DragonOS/kernel/src/mm/
H A Dno_init.rs153 let flags: EntryFlags<MMArch> = EntryFlags::new().set_write(false).set_execute(true); in pseudo_map_phys_ro()
H A Dpage.rs796 r = r.set_execute(true); in new()
816 .set_execute(prot_flags.contains(ProtFlags::PROT_EXEC)) in from_prot_flags()
960 pub fn set_execute(self, mut value: bool) -> Self { in set_execute() method
1066 .set_execute(true) in mmio_flags()
1077 .set_execute(true) in mmio_flags()
H A Dmod.rs693 ret = ret.set_execute(true); in vm_get_page_prot()
H A Ducontext.rs666 .set_execute(prot_flags.contains(ProtFlags::PROT_EXEC)) in mprotect()
/DragonOS/kernel/src/arch/x86_64/mm/
H A Dmod.rs682 return EntryFlags::new().set_execute(true).set_write(true); in kernel_page_flags()
685 return EntryFlags::new().set_execute(true); in kernel_page_flags()
687 return EntryFlags::new().set_write(true).set_execute(true); in kernel_page_flags()
/DragonOS/kernel/src/driver/video/
H A Dmod.rs102 let page_flags: EntryFlags<MMArch> = EntryFlags::new().set_execute(true).set_write(true); in init_frame_buffer()