Changes between Version 23 and Version 24 of kernel_syscalls
- Timestamp:
- Dec 27, 2014, 8:08:14 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kernel_syscalls
v23 v24 109 109 Return -1 if no CMA channel allocated to the calling task, or if user buffers not aligned on a word boundary. 110 110 111 === 3) int '''_sys_fbf_cma_display'''( unsigned int index ) ===111 === 3) int '''_sys_fbf_cma_display'''( unsigned int buffer_index ) === 112 112 This function is used in conjunction with the _fbf_cma_start() function, and must be called each time a new user buffer is available for display, to set the user buffer status in the chbuf descriptor. 113 The '''buffer ''' argument define the user buffer index (0 => buf0 / not 0 => buf1).113 The '''buffer_index''' argument define the user buffer index (0 => buf0 / not 0 => buf1). 114 114 It makes the following actions if the IO Bridge component is used: 115 115 1. it makes an INVAL request for the channel descriptor, before testing the source buffer status, because it is modified in XRAM by the CMA component. 116 116 2. it makes a SYNC request for the source user buffer before activating the CMA transfer, because the data will be read from XRAM by the CMA component. 117 117 3. it makes a SYNC request for the channel descriptor after modification of the SRC and DST status, because these descriptors will be read from XRAM by the CMA component. 118 Return 0 in case of success. 119 Return -1 if no CMA channel allocated to the calling task. 118 Return 0 in case of success. Return -1 if no CMA channel allocated to the calling task. 120 119 121 120 === 4) int '''_sys_fbf_cma_stop'''() ===