Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106978698
D38950.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1020 B
Referenced Files
None
Subscribers
None
D38950.id.diff
View Options
diff --git a/sys/arm64/iommu/iommu_pte.h b/sys/arm64/iommu/iommu_pte.h
--- a/sys/arm64/iommu/iommu_pte.h
+++ b/sys/arm64/iommu/iommu_pte.h
@@ -45,7 +45,6 @@
/* Level 1 table, 1GiB per entry */
#define IOMMU_L1_SHIFT 30
#define IOMMU_L1_SIZE (1 << IOMMU_L1_SHIFT)
-#define IOMMU_L1_OFFSET (IOMMU_L1_SIZE - 1)
#define IOMMU_L1_INVAL IOMMU_L0_INVAL
#define IOMMU_L1_BLOCK 0x1
#define IOMMU_L1_TABLE IOMMU_L0_TABLE
@@ -53,17 +52,13 @@
/* Level 2 table, 2MiB per entry */
#define IOMMU_L2_SHIFT 21
#define IOMMU_L2_SIZE (1 << IOMMU_L2_SHIFT)
-#define IOMMU_L2_OFFSET (IOMMU_L2_SIZE - 1)
#define IOMMU_L2_INVAL IOMMU_L1_INVAL
#define IOMMU_L2_BLOCK IOMMU_L1_BLOCK
#define IOMMU_L2_TABLE IOMMU_L1_TABLE
-#define IOMMU_L2_BLOCK_MASK UINT64_C(0xffffffe00000)
-
/* Level 3 table, 4KiB per entry */
#define IOMMU_L3_SHIFT 12
#define IOMMU_L3_SIZE (1 << IOMMU_L3_SHIFT)
-#define IOMMU_L3_OFFSET (IOMMU_L3_SIZE - 1)
#define IOMMU_L3_SHIFT 12
#define IOMMU_L3_INVAL 0x0
/* 0x1 is reserved */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 10:28 AM (2 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15731721
Default Alt Text
D38950.id.diff (1020 B)
Attached To
Mode
D38950: Remove unneeded arm64 smmu macros
Attached
Detach File
Event Timeline
Log In to Comment