sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
xen: introduce a newbus function to allocate unused memoryIn order to map memory from other domains when running on Xen FreeBSD usesunused physical memory regions. Until now this memory has been a
xen: introduce a newbus function to allocate unused memoryIn order to map memory from other domains when running on Xen FreeBSD usesunused physical memory regions. Until now this memory has been allocatedusing bus_alloc_resource, but this is not completely safe as we can end upusing unreclaimed MMIO or ACPI regions.Fix this by introducing a new newbus method that can be used by Xen driversto request for unused memory regions. On amd64 we make sure this memorycomes from regions above 4GB in order to prevent clashes with MMIO/ACPIregions. On i386 there's nothing we can do, so just fall back to theprevious mechanism.Sponsored by: Citrix Systems R&DTested by: Gustau Pérez <gperez@entel.upc.edu>
show more ...