Searched hist:107296 (Results 1 - 2 of 2) sorted by relevance
/freebsd-10.1-release/sys/sys/ | ||
H A D | rman.h | diff 107296 Wed Nov 27 01:55:22 MST 2002 imp Make the rman_{get,set}_* macros into real functions. The macros create an ABI that encodes offsets and sizes of structures into client drivers. The functions isolate the ABI from changes to the resource structure. Since these are used very rarely (once at startup), the speed penalty will be down in the noise. Also, add r_rid to the structure so that clients can save the 'rid' of the resource in the struct resource, plus accessor functions. Future additions to newbus will make use of this to present a simplified interface for resource specification. Approved by: re (jhb) Reviewed by: jhb, jake |
/freebsd-10.1-release/sys/kern/ | ||
H A D | subr_rman.c | diff 107296 Wed Nov 27 01:55:22 MST 2002 imp Make the rman_{get,set}_* macros into real functions. The macros create an ABI that encodes offsets and sizes of structures into client drivers. The functions isolate the ABI from changes to the resource structure. Since these are used very rarely (once at startup), the speed penalty will be down in the noise. Also, add r_rid to the structure so that clients can save the 'rid' of the resource in the struct resource, plus accessor functions. Future additions to newbus will make use of this to present a simplified interface for resource specification. Approved by: re (jhb) Reviewed by: jhb, jake |
Completed in 103 milliseconds