Request and reserve an i/o or memory resource
int request_resource(struct resource * root, struct resource * new);
root
root resource descriptor
new
resource descriptor desired by caller
Returns 0 for success, negative error code on error.