[Bug 769] Minor boundary bug in rtems_io_register_driver

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Wed Aug 6 00:56:46 UTC 2008


--- Comment #4 from Chris Johns <chrisj at rtems.org>  2008-08-05 19:56:45 ---
The code searches from the top to keep away from drivers that statically
allocate a number. If a driver that uses 0 it is asking for the a number to be
allocated and if it gets 1 then a static allocated driver registers, ie before
this code was present in RTEMS, making a request for slot 1 it will get an

The 0 slot could be used if needed. I wonder if I left it out because 0 means
allocate me a slot. I suspect not as 0 only means this on the way in not out.

Configure bugmail: http://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the bugs mailing list