Changes between Version 13 and Version 14 of library_stdio


Ignore:
Timestamp:
Oct 23, 2014, 2:59:03 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v13 v14  
    8787 == __5) Network related system calls__ ==
    8888
     89 === void '''giet_nic_sync_send'''( void* buffer ) ===
     90This blocking function requires to transfer one container (4K bytes)  from an user space buffer to the Ethernet Network Controller.
     91It returns only when the container has been fully transfered.
     92The '''buffer''' argument is the container base address in user space.
     93
     94 === void '''giet_nic_sync_receive'''( void* buffer ) ===
     95This blocking function requires to transfer one container (4K bytes)  from  the Ethernet Network Controller to an user space buffer.
     96It returns only when the container has been fully transfered.
     97The '''buffer''' argument is the container base address in user space.
     98
    8999 == __6) Frame Buffer related system calls__ ==
    90100
    91  === void giet_fb_sync_read( unsigned int offset, void* buffer, unsigned int length ) ===
    92 This blocking function use a memcopy strategy to transfer data from the frame buffer to an user buffer: ''offset'' defines the offset (in bytes) in the frame buffer, ''buffer''  is the user buffer base address, ''length''  is the number of bytes to be transfered. In case or error, it makes a giet_exit().
     101 === void '''giet_fb_sync_read'''( unsigned int offset, void* buffer, unsigned int length ) ===
     102This blocking function use a memcopy strategy to transfer data from the frame buffer to an user buffer: ''offset'' defines the offset (in bytes) in the frame buffer, ''buffer''  is the user buffer base address, ''length''  is the number of bytes to be transfered.
    93103
    94  === void giet_fb_sync_write( unsigned int offset, void* buffer, unsigned int length ) ===
    95 This blocking function use a memcopy strategy to transfer data from an user buffer to the frame buffer: ''offset'' defines the offset (in bytes) in the frame buffer, ''buffer''  is the user buffer base address, ''length''  is the number of bytes to be transfered. In case or error, it makes a giet_exit().
     104 === void '''giet_fb_sync_write'''( unsigned int offset, void* buffer, unsigned int length ) ===
     105This blocking function use a memcopy strategy to transfer data from an user buffer to the frame buffer: ''offset'' defines the offset (in bytes) in the frame buffer, ''buffer''  is the user buffer base address, ''length''  is the number of bytes to be transfered.
    96106
    97  === void giet_fb_cma_init( void* buf0, void* buf1, unsigned int length ) ===
    98 This function initializes the two chained bufffer (sorce and destination)  used by the chained buffer DMA controller (CMA) to transfer a stream of data from the user buffers to the frame buffer. A CMA channel should have been allocated to the calling task in the application mapping. ''buf0'' is the first user buffer base address, ''buf1'' is the second user buffer base address,  ''length'' is the buffer size (bytes). In case or error, it makes a giet_exit().
     107 === void '''giet_fbf_cma_start'''( void* buf0, void* buf1, unsigned int length ) ===
     108This function initializes the two chained bufffer (sorce and destination)  used by the chained buffer DMA controller (CMA) to transfer a stream of data from the user buffers to the frame buffer. A CMA channel should have been allocated to the calling task in the application mapping.
     109 * '''buf0('' is the first user buffer base address
     110 * '''buf1''' is the second user buffer base address,
     111 * '''length''' is the buffer size (bytes).
    99112
    100  === void giet_fb_cma_write( unsigned int buffer_id ) ===
    101 This function enables the transfer of the buffer specified by the ''buffer_id'' argument (0 or 1).
     113 === void '''giet_fbf_cma_display'''( unsigned int buffer ) ===
     114This function enables the transfer of the buffer specified by the ''buffer'' argument (0 or 1).
    102115
    103  === void giet_fb_cma_stop( ) ===
     116 === void '''giet_fbf_cma_stop'''( ) ===
    104117This function desactivates the CMA channel allocated to the calling task.
    105118