|
MentOS
0.8.0
The Mentoring Operating System
|
Contains callbacks for procv system files. More...
Macros | |
| #define | __DEBUG_HEADER__ "[PROCV ]" |
| Change header. | |
| #define | __DEBUG_LEVEL__ LOGLEVEL_NOTICE |
| Set log level. | |
Functions | |
| void | print_rb (fs_rb_scancode_t *rb) |
| Prints the ring-buffer. More... | |
| static ssize_t | procv_read (vfs_file_t *file, char *buf, off_t offset, size_t nbyte) |
| Read function for the proc video system. More... | |
Contains callbacks for procv system files.
| void print_rb | ( | fs_rb_scancode_t * | rb | ) |
Prints the ring-buffer.
| rb | the ring-buffer to print. |
|
static |
Read function for the proc video system.
| file | The file. |
| buf | Buffer where the read content must be placed. |
| offset | Offset from which we start reading from the file. |
| nbyte | The number of bytes to read. |