Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145279430
D22782.id.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
D22782.id.diff
View Options
Index: head/sys/powerpc/aim/mmu_oea64.c
===================================================================
--- head/sys/powerpc/aim/mmu_oea64.c
+++ head/sys/powerpc/aim/mmu_oea64.c
@@ -309,7 +309,9 @@
int *is_user, vm_offset_t *decoded_addr);
static size_t moea64_scan_pmap(mmu_t mmu);
static void *moea64_dump_pmap_init(mmu_t mmu, unsigned blkpgs);
+#ifdef __powerpc64__
static void moea64_page_array_startup(mmu_t, long);
+#endif
static mmu_method_t moea64_methods[] = {
@@ -349,7 +351,9 @@
MMUMETHOD(mmu_page_set_memattr, moea64_page_set_memattr),
MMUMETHOD(mmu_quick_enter_page, moea64_quick_enter_page),
MMUMETHOD(mmu_quick_remove_page, moea64_quick_remove_page),
+#ifdef __powerpc64__
MMUMETHOD(mmu_page_array_startup, moea64_page_array_startup),
+#endif
/* Internal interfaces */
MMUMETHOD(mmu_mapdev, moea64_mapdev),
@@ -3026,6 +3030,7 @@
#endif
+#ifdef __powerpc64__
static void
moea64_map_range(mmu_t mmu, vm_offset_t va, vm_paddr_t pa, vm_size_t npages)
{
@@ -3119,3 +3124,4 @@
vm_page_array = (vm_page_t)vm_page_base;
vm_page_array_size = pages;
}
+#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 18, 10:49 PM (3 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28858443
Default Alt Text
D22782.id.diff (1 KB)
Attached To
Mode
D22782: [PowerPC] Fix powerpc 32 bit build in mmu_oea64.c
Attached
Detach File
Event Timeline
Log In to Comment