diff options
author | adrian <adrian@FreeBSD.org> | 2014-10-09 05:33:25 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2014-10-09 05:33:25 +0000 |
commit | b0c040ce1809e237325c92cba14987d352f8ddbc (patch) | |
tree | ca93e6e4f9d2b5f8feafadeea80a3dd18ad3c56c /contrib/netbsd-tests/lib/libc | |
parent | 5dee4f91b50b08745e65149ff2d116be63b5bd50 (diff) | |
download | FreeBSD-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