]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC 221218:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Jun 2011 13:41:46 +0000 (13:41 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 24 Jun 2011 13:41:46 +0000 (13:41 +0000)
commit21cfbbfb868a29cf881904db50d0a130d94fe451
tree39b60445c6bb990a1be5857ed42642da8739c34f
parenta61d124d24fa98ce4d74de2ea770cede40b81d99
MFC 221218:
Change rman_manage_region() to actually honor the rm_start and rm_end
constraints on the rman and reject attempts to manage a region that is out
of range.
- Fix various places that set rm_end incorrectly (to ~0 or ~0u instead of
  ~0ul).
- To preserve existing behavior, change rman_init() to set rm_start and
  rm_end to allow managing the full range (0 to ~0ul) if they are not set by
  the caller when rman_init() is called.

git-svn-id: svn://svn.freebsd.org/base/stable/8@223500 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/nexus.c
sys/ia64/ia64/nexus.c
sys/kern/subr_rman.c
sys/mips/mips/mainbus.c
sys/mips/mips/nexus.c
sys/mips/rmi/pcibus.c
sys/mips/rmi/xlr_pci.c
sys/x86/x86/nexus.c