lookup_resource(9)
lookup_resource - find an existing resource by a resource start address
Synopsis
struct resource *lookup_resource(struct resource *root, resource_size_t start);Arguments
root
- root resource descriptor
start
- resource start address
Description
Returns a pointer to the resource if found, NULL otherwise