git: b5e17840de65 - main - arm64, riscv: removed unused struct pv_addr
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 May 2024 13:55:40 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=b5e17840de65ff196b2398211b68ce96d6919f2c
commit b5e17840de65ff196b2398211b68ce96d6919f2c
Author: Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2024-05-24 13:53:14 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2024-05-24 13:55:24 +0000
arm64, riscv: removed unused struct pv_addr
No functional change.
Reviewed by: markj
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45322
---
sys/arm64/include/pmap.h | 10 ----------
sys/riscv/include/pmap.h | 10 ----------
2 files changed, 20 deletions(-)
diff --git a/sys/arm64/include/pmap.h b/sys/arm64/include/pmap.h
index d69924080610..d604f705e596 100644
--- a/sys/arm64/include/pmap.h
+++ b/sys/arm64/include/pmap.h
@@ -71,16 +71,6 @@ struct md_page {
vm_memattr_t pv_memattr;
};
-/*
- * This structure is used to hold a virtual<->physical address
- * association and is used mostly by bootstrap code
- */
-struct pv_addr {
- SLIST_ENTRY(pv_addr) pv_list;
- vm_offset_t pv_va;
- vm_paddr_t pv_pa;
-};
-
enum pmap_stage {
PM_INVALID,
PM_STAGE1,
diff --git a/sys/riscv/include/pmap.h b/sys/riscv/include/pmap.h
index d65935c4ce7f..e10cbacb6e1f 100644
--- a/sys/riscv/include/pmap.h
+++ b/sys/riscv/include/pmap.h
@@ -67,16 +67,6 @@ struct md_page {
vm_memattr_t pv_memattr;
};
-/*
- * This structure is used to hold a virtual<->physical address
- * association and is used mostly by bootstrap code
- */
-struct pv_addr {
- SLIST_ENTRY(pv_addr) pv_list;
- vm_offset_t pv_va;
- vm_paddr_t pv_pa;
-};
-
struct pmap {
struct mtx pm_mtx;
struct pmap_statistics pm_stats; /* pmap statictics */