A wrapping function: get the virtual address of a shared memory. */
| 431 | |
| 432 | /* A wrapping function: get the virtual address of a shared memory. */ |
| 433 | void *lwp_shminfo(int id) |
| 434 | { |
| 435 | void *vaddr = RT_NULL; |
| 436 | |
| 437 | rt_mm_lock(); |
| 438 | vaddr = _lwp_shminfo(id); |
| 439 | rt_mm_unlock(); |
| 440 | return vaddr; |
| 441 | } |
| 442 | |
| 443 | #ifdef RT_USING_FINSH |
| 444 | static int _shm_info(struct lwp_avl_struct* node_key, void *data) |
nothing calls this directly
no test coverage detected