resources: Add lookup_resource()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 7 May 2011 18:53:16 +0000 (20:53 +0200)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Sat, 30 Jul 2011 19:21:39 +0000 (21:21 +0200)
Add a function to find an existing resource by a resource start address.
This allows to implement simple allocators (with a malloc/free-alike API)
on top of the resource system.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>

No differences found