Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F146679195
D39003.id118592.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
717 B
Referenced Files
None
Subscribers
None
D39003.id118592.diff
View Options
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
@@ -461,9 +461,15 @@
* We're allowed to use any entry with these types.
*/
break;
- default:
+ case EFI_MD_TYPE_RECLAIM:
+ case EFI_MD_TYPE_RT_CODE:
+ case EFI_MD_TYPE_RT_DATA:
physmem_exclude_region(p->md_phys, p->md_pages * EFI_PAGE_SIZE,
EXFLAG_NOALLOC);
+ break;
+ default:
+ /* Other non-memory types shall not be handled by physmem. */
+ break;
}
}
@@ -507,6 +513,9 @@
physmem_hardware_region(p->md_phys,
p->md_pages * EFI_PAGE_SIZE);
break;
+ default:
+ /* Other non-memory types shall not be handled by physmem. */
+ break;
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 5, 4:07 PM (13 h, 53 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29291057
Default Alt Text
D39003.id118592.diff (717 B)
Attached To
Mode
D39003: arm64: limit EFI excluded regions to physical memory types
Attached
Detach File
Event Timeline
Log In to Comment