Changeset 700 for soft/giet_vm/giet_kernel/sys_handler.c
- Timestamp:
 - Aug 7, 2015, 5:42:07 PM (10 years ago)
 - File:
 - 
          
- 1 edited
 
- 
          soft/giet_vm/giet_kernel/sys_handler.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
        
soft/giet_vm/giet_kernel/sys_handler.c
r699 r700 1686 1686 } // end sys_fbf_cma_alloc() 1687 1687 1688 //////////////////////// 1689 // NOTE: not a syscall 1690 int _sys_fbf_cma_release() 1691 { 1692 unsigned int channel = _get_context_slot( CTX_CMA_FB_ID ); 1693 1694 if ( channel >= NB_CMA_CHANNELS ) 1695 { 1696 _printf("\n[GIET_ERROR] in _sys_fbf_cma_release() : CMA channel already released\n"); 1697 return -1; 1698 } 1699 1700 // stop fb 1701 _sys_fbf_cma_stop(); 1702 1703 // reset CTX_CMA_FB_ID for task 1704 _set_context_slot( CTX_CMA_FB_ID, -1 ); 1705 1706 // release CMA channel 1707 _cma_channel[channel] = 0; 1708 1709 return 0; 1710 } 1688 1711 1689 1712 ///////////////////////////////////////////////////  
Note: See TracChangeset
          for help on using the changeset viewer.
      ![(please configure the [header_logo] section in trac.ini)](/trac/giet-vm/chrome/site/your_project_logo.png)