Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115644076
D50013.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
693 B
Referenced Files
None
Subscribers
None
D50013.id.diff
View Options
diff --git a/sys/kern/subr_devmap.c b/sys/kern/subr_devmap.c
--- a/sys/kern/subr_devmap.c
+++ b/sys/kern/subr_devmap.c
@@ -37,6 +37,10 @@
#include <vm/pmap.h>
#include <machine/vmparam.h>
+#ifdef __arm__
+#include <machine/pte.h>
+#endif
+
static const struct devmap_entry *devmap_table;
static boolean_t devmap_bootstrap_done = false;
@@ -139,7 +143,7 @@
* also align the virtual address to the next-lower 1MB boundary so that
* we end with a nice efficient section mapping.
*/
- if ((pa & 0x000fffff) == 0 && (sz & 0x000fffff) == 0) {
+ if ((pa & L1_S_OFFSET) == 0 && (sz & L1_S_OFFSET) == 0) {
akva_devmap_vaddr = trunc_1mpage(akva_devmap_vaddr - sz);
} else
#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 11:38 AM (17 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17802684
Default Alt Text
D50013.id.diff (693 B)
Attached To
Mode
D50013: subr_devmap: Use the arm L1_S macro
Attached
Detach File
Event Timeline
Log In to Comment