cvs commit: src/sys/kern subr_rman.c src/sys/sys rman.h

Poul-Henning Kamp phk at FreeBSD.org
Sat Sep 24 13:07:04 PDT 2005


phk         2005-09-24 20:07:03 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             subr_rman.c 
    sys/sys              rman.h 
  Log:
  Split struct resource in an external and internal part.
  
  The external part is still called 'struct resource' but the contents
  is now visible to drivers etc.  This makes it part of the device
  driver ABI so it not be changed lightly.  A comment to this effect
  is in place.
  
  The internal part is called 'struct resource_i' and contain its external
  counterpart as one field.
  
  Move the bus_space tag+handle into the external struct resource, this
  removes the need for device drivers to even know about these fields
  in order to use bus_space to access hardware. (More in following commit).
  
  Revision  Changes    Path
  1.44      +57 -40    src/sys/kern/subr_rman.c
  1.29      +21 -8     src/sys/sys/rman.h


More information about the cvs-src mailing list