Changeset 505 for soft/giet_vm/giet_kernel/sys_handler.h
- Timestamp:
- Feb 10, 2015, 5:39:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_kernel/sys_handler.h
r494 r505 16 16 #include "kernel_locks.h" 17 17 18 /////////////////////////////////////////////////////////////////////////////// ////18 /////////////////////////////////////////////////////////////////////////////// 19 19 // Syscall Vector Table (indexed by syscall index) 20 /////////////////////////////////////////////////////////////////////////////// ////20 /////////////////////////////////////////////////////////////////////////////// 21 21 22 22 extern const void * _syscall_vector[64]; 23 23 24 /////////////////////////////////////////////////////////////////////////////// ////24 /////////////////////////////////////////////////////////////////////////////// 25 25 // 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 contained27 // 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): 28 28 // - the 48 LSB bits contain the buffer physical address 29 29 // - the MSB bit 63 indicates the buffer state (empty if 0) 30 30 // This descriptor must be aligned on a cache line (64 bytes) to simplify 31 31 // the software L2/L3 cache coherence when the IO bridge is used. 32 /////////////////////////////////////////////////////////////////////////////// ////32 /////////////////////////////////////////////////////////////////////////////// 33 33 34 34 typedef struct buffer_descriptor_s … … 38 38 } buffer_descriptor_t; 39 39 40 /////////////////////////////////////////////////////////////////////////////// ////40 /////////////////////////////////////////////////////////////////////////////// 41 41 // This structure is used by the CMA component to move a stream 42 42 // of images from two user buffers to the frame buffer in kernel space. … … 46 46 // - The length field define the buffer size (bytes) 47 47 // This structure must be 64 bytes aligned. 48 /////////////////////////////////////////////////////////////////////////////// ////48 /////////////////////////////////////////////////////////////////////////////// 49 49 50 50 typedef struct fbf_chbuf_s … … 57 57 } fbf_chbuf_t; 58 58 59 /////////////////////////////////////////////////////////////////////////////// ///59 /////////////////////////////////////////////////////////////////////////////// 60 60 // This structure is used by the CMA component to move a stream of containers 61 61 // between the NIC chbuf containing 2 buffers, and a kernel chbuf … … 65 65 // The actual number of buffers used in the chbuf is defined by (xmax * ymax). 66 66 // This structure must be 64 bytes aligned. 67 /////////////////////////////////////////////////////////////////////////////// ///67 /////////////////////////////////////////////////////////////////////////////// 68 68 69 69 typedef struct nic_chbuf_s … … 74 74 } nic_chbuf_t; 75 75 76 /////////////////////////////////////////////////////////////////////////////// ///76 /////////////////////////////////////////////////////////////////////////////// 77 77 // TTY related syscall handlers 78 /////////////////////////////////////////////////////////////////////////////// ///78 /////////////////////////////////////////////////////////////////////////////// 79 79 80 80 int _sys_tty_alloc();
Note: See TracChangeset
for help on using the changeset viewer.