Ignore:
Timestamp:
Feb 10, 2015, 5:39:42 PM (10 years ago)
Author:
alain
Message:

Fixing a bug in _sys_fbf_cma_start() function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_kernel/sys_handler.h

    r494 r505  
    1616#include "kernel_locks.h"
    1717
    18 ///////////////////////////////////////////////////////////////////////////////////
     18///////////////////////////////////////////////////////////////////////////////
    1919//     Syscall Vector Table (indexed by syscall index)
    20 ///////////////////////////////////////////////////////////////////////////////////
     20///////////////////////////////////////////////////////////////////////////////
    2121
    2222extern const void * _syscall_vector[64];
    2323
    24 ///////////////////////////////////////////////////////////////////////////////////
     24///////////////////////////////////////////////////////////////////////////////
    2525// This structure is used by the nic_chbuf_t and fbf_chbuf_t structures.
    26 // It describes a single buffer descriptor. The useful information is contained
    27 // in one single 64 bits word (desc field):
     26// It describes a single buffer descriptor. The useful information is
     27// contained in one single 64 bits word (desc field):
    2828// - the 48 LSB bits contain the buffer physical address
    2929// - the MSB bit 63 indicates the buffer state (empty if 0)
    3030// This descriptor must be aligned on a cache line (64 bytes) to simplify
    3131// the software L2/L3 cache coherence when the IO bridge is used.
    32 ///////////////////////////////////////////////////////////////////////////////////
     32///////////////////////////////////////////////////////////////////////////////
    3333
    3434typedef struct buffer_descriptor_s
     
    3838} buffer_descriptor_t;
    3939 
    40 ///////////////////////////////////////////////////////////////////////////////////
     40///////////////////////////////////////////////////////////////////////////////
    4141// This structure is used by the CMA component to move a stream
    4242// of images from two user buffers to the frame buffer in kernel space.
     
    4646// - The length field define the buffer size (bytes)
    4747// This structure must be 64 bytes aligned.
    48 ///////////////////////////////////////////////////////////////////////////////////
     48///////////////////////////////////////////////////////////////////////////////
    4949
    5050typedef struct fbf_chbuf_s
     
    5757} fbf_chbuf_t;   
    5858
    59 //////////////////////////////////////////////////////////////////////////////////
     59///////////////////////////////////////////////////////////////////////////////
    6060// This structure is used by the CMA component to move a stream of containers
    6161// between the NIC chbuf containing 2 buffers, and a kernel chbuf
     
    6565// The actual number of buffers used in the chbuf is defined by (xmax * ymax).
    6666// This structure must be 64 bytes aligned.
    67 //////////////////////////////////////////////////////////////////////////////////
     67///////////////////////////////////////////////////////////////////////////////
    6868
    6969typedef struct nic_chbuf_s
     
    7474} nic_chbuf_t;
    7575
    76 //////////////////////////////////////////////////////////////////////////////////
     76///////////////////////////////////////////////////////////////////////////////
    7777//    TTY related syscall handlers
    78 //////////////////////////////////////////////////////////////////////////////////
     78///////////////////////////////////////////////////////////////////////////////
    7979
    8080int _sys_tty_alloc();
Note: See TracChangeset for help on using the changeset viewer.