summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/libc
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2014-10-09 05:33:25 +0000
committeradrian <adrian@FreeBSD.org>2014-10-09 05:33:25 +0000
commitb0c040ce1809e237325c92cba14987d352f8ddbc (patch)
treeca93e6e4f9d2b5f8feafadeea80a3dd18ad3c56c /contrib/netbsd-tests/lib/libc
parent5dee4f91b50b08745e65149ff2d116be63b5bd50 (diff)
downloadFreeBSD-src-b0c040ce1809e237325c92cba14987d352f8ddbc.zip
FreeBSD-src-b0c040ce1809e237325c92cba14987d352f8ddbc.tar.gz
Add a bus method to fetch the VM domain for the given device/bus.
* Add a bus_if.m method - get_domain() - returning the VM domain or ENOENT if the device isn't in a VM domain; * Add bus methods to print out the domain of the device if appropriate; * Add code in srat.c to save the PXM -> VM domain mapping that's done and expose a function to translate VM domain -> PXM; * Add ACPI and ACPI PCI methods to check if the bus has a _PXM attribute and if so map it to the VM domain; * (.. yes, this works recursively.) * Have the pci bus glue print out the device VM domain if present. Note: this is just the plumbing to start enumerating information - it doesn't at all modify behaviour. Differential Revision: D906 Reviewed by: jhb Sponsored by: Norse Corp
Diffstat (limited to 'contrib/netbsd-tests/lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud