resource: Per-CPU hardware resources support, step 1 of many
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 3 Oct 2011 12:41:03 +0000 (20:41 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 3 Oct 2011 12:41:03 +0000 (20:41 +0800)
commit1b000e91171403eaa2b7f53b987d64f9ba86da7b
tree0e00aee28fde4021ea183068ef83bf7346bd7ce8
parentf4dc34d7eeb53bab4108b2e5ff3f7cc1f714e804
resource: Per-CPU hardware resources support, step 1 of many

- Add cpuid in the resource list entry, which points to the
  resource's owner CPU
- Add cpuid parameter to resource_list_add(), which could be used to
  set the resource's owner CPU
12 files changed:
sys/bus/isa/i386/isa.c
sys/bus/isa/isa_common.c
sys/bus/isa/x86_64/isa.c
sys/bus/pccard/pccard.c
sys/bus/pci/pci.c
sys/dev/misc/puc/puc.c
sys/dev/netif/ndis/if_ndis_pccard.c
sys/dev/pccard/cardbus/cardbus_cis.c
sys/kern/subr_bus.c
sys/platform/pc32/i386/nexus.c
sys/platform/pc64/x86_64/nexus.c
sys/sys/bus.h