Page MenuHomeFreeBSD

D29304.1786763639.diff
No OneTemporary

Size
670 B
Referenced Files
None
Subscribers
None

D29304.1786763639.diff

diff --git a/sys/dev/xen/bus/xenpv.c b/sys/dev/xen/bus/xenpv.c
--- a/sys/dev/xen/bus/xenpv.c
+++ b/sys/dev/xen/bus/xenpv.c
@@ -55,13 +55,17 @@
*
* 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.
*/
#ifdef __amd64__
#define LOW_MEM_LIMIT 0x100000000ul
#elif defined(__i386__)
#define LOW_MEM_LIMIT 0x100000ul
#else
-#error "Unsupported architecture"
+#define LOW_MEM_LIMIT 0
#endif
static devclass_t xenpv_devclass;

File Metadata

Mime Type
text/plain
Expires
Sat, Aug 15, 3:13 AM (19 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29409124
Default Alt Text
D29304.1786763639.diff (670 B)

Event Timeline