Searched refs:kernelProtection (Results 1 – 2 of 2) sorted by relevance
38 const uint32 kernelProtection = B_KERNEL_READ_AREA | B_KERNEL_EXECUTE_AREA; in arch_altcodepatch_replace() local39 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()
580 uint32 kernelProtection = 0; in get_area_page_protection() local582 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()