Home
last modified time | relevance | path

Searched refs:kernelProtection (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/kernel/arch/x86/
H A Darch_altcodepatch.cpp38 const uint32 kernelProtection = B_KERNEL_READ_AREA | B_KERNEL_EXECUTE_AREA; in arch_altcodepatch_replace() local
39 set_area_protection(info->text_region.id, kernelProtection | B_KERNEL_WRITE_AREA); in arch_altcodepatch_replace()
53 set_area_protection(info->text_region.id, kernelProtection); in arch_altcodepatch_replace()
/haiku/src/system/kernel/vm/
H A Dvm.cpp580 uint32 kernelProtection = 0; in get_area_page_protection() local
582 kernelProtection |= B_KERNEL_READ_AREA; in get_area_page_protection()
584 kernelProtection |= B_KERNEL_WRITE_AREA; in get_area_page_protection()
588 return kernelProtection; in get_area_page_protection()
590 return protection | kernelProtection; in get_area_page_protection()