Changeset 107034 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Nov 18, 2024 9:19:23 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c
r106311 r107034 656 656 /* ARM64 architecture has no _PAGE_NX, _PAGE_PRESENT and _PAGE_RW flags. 657 657 * Closest alternatives would be PTE_PXN, PTE_UXN, PROT_DEFAULT and PTE_WRITE. */ 658 # if RTLNX_VER_MIN(6,5,0) 658 659 pgprot_val(fPg) = _PAGE_KERNEL; /* (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL). */ 660 # else /* < 6.5.0 */ 661 pgprot_val(fPg) = PROT_NORMAL; /* (PROT_DEFAULT | PTE_PXN | PTE_UXN | PTE_WRITE | PTE_ATTRINDX(MT_NORMAL). */ 662 # endif /* 6.5.0 */ 659 663 # else /* !RT_ARCH_ARM64 */ 660 664 pgprot_val(fPg) = _PAGE_PRESENT | _PAGE_RW;
Note:
See TracChangeset
for help on using the changeset viewer.