Searched refs:protection (Results 76 - 100 of 116) sorted by relevance

12345

/haiku/src/kits/debugger/debugger_interface/core/
H A DCoreFileDebuggerInterface.cpp330 uint32& protection, uint32& locking)
336 protection = info->Protection() & ~(uint32)B_WRITE_AREA;
337 // Filter out write protection, since we don't support writing memory.
329 GetMemoryProperties(target_addr_t address, uint32& protection, uint32& locking) argument
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioQueue.cpp18 alloc_mem(void **virt, phys_addr_t *phy, size_t size, uint32 protection, argument
30 B_CONTIGUOUS, protection);
/haiku/src/system/kernel/debug/
H A DBreakpointManager.cpp738 if (!(areaInfo.protection & (B_WRITE_AREA | B_KERNEL_WRITE_AREA))) {
740 areaInfo.protection | B_WRITE_AREA);
743 "protection for area %ld: %lx\n", area, error);
752 // reset the area protection
754 set_area_protection(area, areaInfo.protection);
H A Dcore_dump.cpp474 areaInfo->fProtection = area->protection;
1183 uint32 protection = areaInfo->Protection(); local
1184 if ((protection & B_READ_AREA) != 0)
1186 if ((protection & B_WRITE_AREA) != 0)
1188 if ((protection & B_EXECUTE_AREA) != 0)
/haiku/headers/os/kernel/
H A DOS.h59 uint32 protection; member in struct:area_info
87 /* area protection */
92 /* "stack" protection is not available on most platforms - it's used
99 uint32 protection);
101 uint32 addressSpec, uint32 protection, area_id source);
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DACPICAHaiku.cpp1118 return (info.protection & B_READ_AREA) != 0 &&
1150 return (info.protection & B_READ_AREA) != 0 &&
1151 (info.protection & B_WRITE_AREA) != 0 &&
/haiku/src/system/kernel/arch/x86/paging/32bit/
H A DX86PagingMethod32Bit.cpp434 uint32 protection)
489 return (protection & B_KERNEL_WRITE_AREA) == 0
523 // protection)
433 IsKernelPageAccessible(addr_t virtualAddress, uint32 protection) argument
/haiku/src/libs/compat/freebsd_network/
H A Dbus.cpp53 map_mem(void **virtualAddr, phys_addr_t _phy, size_t size, uint32 protection, argument
62 protection, virtualAddr);
/haiku/src/system/kernel/arch/arm/paging/32bit/
H A DARMPagingMethod32Bit.cpp420 uint32 protection)
476 return (protection & B_KERNEL_WRITE_AREA) == 0
419 IsKernelPageAccessible(addr_t virtualAddress, uint32 protection) argument
H A DARMPagingMethod32Bit.h40 uint32 protection);
/haiku/src/kits/debugger/elf/
H A DCoreFile.h34 uint32 protection, const BString& name);
H A DCoreFile.cpp52 uint32 protection, const BString& name)
59 fProtection(protection),
509 uint32 protection = Get(entry.na_protection); local
536 baseAddress, size, ramSize, lock, protection, copiedName);
50 CoreFileAreaInfo(ElfSegment* segment, int32 id, uint64 baseAddress, uint64 size, uint64 ramSize, uint32 locking, uint32 protection, const BString& name) argument
/haiku/headers/private/kernel/vm/
H A DVMAddressSpace.h85 uint32 protection,
/haiku/headers/private/kernel/
H A Ddebug.h182 uint32 protection);
/haiku/src/system/kernel/arch/ppc/paging/classic/
H A DPPCVMTranslationMapClassic.cpp358 uint32 protection = 0; local
363 protection = (attributes & B_WRITE_AREA) ? PTE_READ_WRITE : PTE_READ_ONLY;
380 physicalAddress, protection, memoryType, false);
397 physicalAddress, protection, memoryType, false);
1102 // compute protection flags
1138 // set the new protection flags -- we want to do that atomically,
/haiku/src/system/kernel/arch/ppc/paging/460/
H A DPPCVMTranslationMap460.cpp358 uint32 protection = 0; local
363 protection = (attributes & B_WRITE_AREA) ? PTE_READ_WRITE : PTE_READ_ONLY;
380 physicalAddress, protection, memoryType, false);
397 physicalAddress, protection, memoryType, false);
1102 // compute protection flags
1138 // set the new protection flags -- we want to do that atomically,
/haiku/src/system/libroot/os/
H A Dthread.c91 if ((info.protection & B_STACK_AREA) != 0) {
/haiku/src/apps/processcontroller/
H A DMemoryBarMenuItem.cpp225 if ((areaInfo.protection & B_WRITE_AREA) != 0)
/haiku/headers/private/system/
H A Dsyscalls.h432 uint32 protection);
445 uint32 addressSpec, uint32 protection,
452 uint32 addressSpec, size_t size, uint32 protection,
457 uint32 protection);
/haiku/src/system/kernel/arch/riscv64/
H A Darch_vm_translation_map.cpp194 uint32 protection)
193 arch_vm_translation_map_is_kernel_page_accessible(addr_t virtualAddress, uint32 protection) argument
/haiku/src/add-ons/kernel/drivers/misc/
H A Dpoke.cpp305 (void**)&ioctl.address, ioctl.flags, ioctl.size, ioctl.protection,
/haiku/headers/os/drivers/
H A DKernelExport.h117 /* area protection flags for the kernel */
201 uint32 protection, void **_mappedAddress);
/haiku/src/system/runtime_loader/
H A Dimages.cpp372 // relocations. When we've done with those we change the protection
378 uint32 protection = B_READ_AREA | B_WRITE_AREA local
383 image->regions[i].vmsize, protection, REGION_PRIVATE_MAP, false,
436 /*! This function will change the protection of all read-only segments to really
/haiku/src/system/boot/platform/u-boot/arch/ppc/
H A Darch_mmu.cpp352 platform_allocate_region(void **_address, size_t size, uint8 protection, argument
/haiku/src/system/kernel/arch/x86/paging/64bit/
H A DX86PagingMethod64Bit.cpp212 uint32 protection)
415 // protection)
211 IsKernelPageAccessible(addr_t virtualAddress, uint32 protection) argument

Completed in 183 milliseconds

12345