if the flag is currently supported */
| 664 | |
| 665 | /** if the flag is currently supported */ |
| 666 | static inline int _not_support(rt_size_t flags) |
| 667 | { |
| 668 | rt_size_t support_ops = MMF_CREATE(((__MMF_INVALID - 1) << 1) - 1, 1); |
| 669 | return flags & ~(support_ops); |
| 670 | } |
| 671 | |
| 672 | int rt_aspace_map(rt_aspace_t aspace, void **addr, rt_size_t length, |
| 673 | rt_size_t attr, mm_flag_t flags, rt_mem_obj_t mem_obj, |
no outgoing calls
no test coverage detected