NetBSD/sys/arch/xen
jym d0a75a07db Although Xen's documentation states that the address_bits field is not used
by XENMEM_decrease_reservation, it is checked by the hypervisor. In certain
circumstances (stack leak), the field could have an improper value, leading
to a fail of the hypercall.

Set it to 0 ("no addressing restriction") to avoid that.

Patch tested by Sam Fourman and haad@.

This should fix the rare "failed allocating DMA memory" encountered
under NetBSD dom0. Will ask for a pull-up.
2010-03-09 23:12:06 +00:00
..
compile
conf Enable SSP (Stack Smash Protection) in x86 kernels by default (except 2009-11-25 17:08:08 +00:00
i386 Remove 3rd and 4th clauses. OK cl@ (copyright holder). 2009-10-23 02:32:33 +00:00
include Fix Xen. 2010-02-25 22:20:03 +00:00
x86 Although Xen's documentation states that the address_bits field is not used 2010-03-09 23:12:06 +00:00
xen Re-zero the attach args before setting them up for a new call to 2010-03-02 16:44:08 +00:00
xenbus sprintf -> snprintf 2009-04-28 05:44:43 +00:00
Makefile Make the 'tags' target work by borrowing stuff from sys/arch/i386/Makefile. 2009-08-18 17:21:51 +00:00