Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151790699
D34510.id103711.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D34510.id103711.diff
View Options
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -816,7 +816,7 @@
continue;
}
- if (!add_physmap_entry(p->md_phys, (p->md_pages * PAGE_SIZE),
+ if (!add_physmap_entry(p->md_phys, p->md_pages * EFI_PAGE_SIZE,
physmap, physmap_idx))
break;
}
diff --git a/sys/arm/arm/machdep_boot.c b/sys/arm/arm/machdep_boot.c
--- a/sys/arm/arm/machdep_boot.c
+++ b/sys/arm/arm/machdep_boot.c
@@ -490,7 +490,7 @@
break;
mr[j].mr_start = p->md_phys;
- mr[j].mr_size = p->md_pages * PAGE_SIZE;
+ mr[j].mr_size = p->md_pages * EFI_PAGE_SIZE;
memory_size += mr[j].mr_size;
}
diff --git a/sys/arm64/arm64/machdep.c b/sys/arm64/arm64/machdep.c
--- a/sys/arm64/arm64/machdep.c
+++ b/sys/arm64/arm64/machdep.c
@@ -469,7 +469,7 @@
*/
break;
default:
- physmem_exclude_region(p->md_phys, p->md_pages * PAGE_SIZE,
+ physmem_exclude_region(p->md_phys, p->md_pages * EFI_PAGE_SIZE,
EXFLAG_NOALLOC);
}
}
@@ -501,7 +501,7 @@
* We're allowed to use any entry with these types.
*/
physmem_hardware_region(p->md_phys,
- p->md_pages * PAGE_SIZE);
+ p->md_pages * EFI_PAGE_SIZE);
break;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 11, 5:07 PM (19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31270322
Default Alt Text
D34510.id103711.diff (1 KB)
Attached To
Mode
D34510: Fix the spelling of EFI_PAGE_SIZE
Attached
Detach File
Event Timeline
Log In to Comment