Lines Matching defs:service
15 * The 'rt_svc_descs' array holds the runtime service descriptors exported by
59 * Simple routine to sanity check a runtime service descriptor before using it
76 /* A runtime service having no init or handle function doesn't make sense */
85 * a runtime service. Once a descriptor has been validated, its start & end
88 * The index of the runtime service descriptor is stored at this index.
109 rt_svc_desc_t *service = &rt_svc_descs[index];
114 * of this service.
116 rc = validate_rt_svc_desc(service);
118 ERROR("Invalid runtime service descriptor %p\n",
119 (void *) service);
124 * The runtime service may have separate rt_svc_desc_t
125 * for its fast smc and yielding smc. Since the service itself
128 * routine for this runtime service, if it is defined.
130 if (service->init != NULL) {
131 rc = service->init();
133 ERROR("Error initializing runtime service %s\n",
134 service->name);
145 start_idx = (uint8_t)get_unique_oen(service->start_oen,
146 service->call_type);
147 end_idx = (uint8_t)get_unique_oen(service->end_oen,
148 service->call_type);