Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144603651
D29304.1775693072.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
804 B
Referenced Files
None
Subscribers
None
D29304.1775693072.diff
View Options
Index: sys/dev/xen/bus/xenpv.c
===================================================================
--- sys/dev/xen/bus/xenpv.c
+++ sys/dev/xen/bus/xenpv.c
@@ -55,13 +55,18 @@
*
* Since this is not possible on i386 just use any available memory
* chunk above 1MB and hope we don't clash with anything else.
+ *
+ * Other architectures better document MMIO regions and drivers more
+ * reliably reserve them. As such, allow using any unpopulated memory
+ * region. The zero-page though is reserved and triggers special
+ * behavior by nexus_alloc_resource().
*/
#ifdef __amd64__
#define LOW_MEM_LIMIT 0x100000000ul
#elif defined(__i386__)
#define LOW_MEM_LIMIT 0x100000ul
#else
-#error "Unsupported architecture"
+#define LOW_MEM_LIMIT PAGE_SIZE
#endif
static devclass_t xenpv_devclass;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 12:04 AM (7 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28305117
Default Alt Text
D29304.1775693072.diff (804 B)
Attached To
Mode
D29304: xen/xenpv: remove low memory limit for non-x86
Attached
Detach File
Event Timeline
Log In to Comment