File test.h

FileList > dmabuf > test.h

Go to the source code of this file

  • #include <fcntl.h>
  • #include <sys/mman.h>
  • #include <unistd.h>
  • #include <cerrno>
  • #include <cstdint>
  • #include <cstdio>
  • #include <cstdlib>

Classes

Type Name
struct test_t

Macros

Type Name
define ERR (fmt, ...) printf(SGR\_RED "E" SGR\_RESET " [%s] " fmt, \_\_FUNCTION\_\_, ##\_\_VA\_ARGS\_\_)
define FATAL (fmt, ...) printf(SGR\_RED "F" SGR\_RESET " [%s] " fmt, \_\_FUNCTION\_\_, ##\_\_VA\_ARGS\_\_)
define INFO (fmt, ...) printf(SGR\_GREEN "I" SGR\_RESET " [%s] " fmt, \_\_FUNCTION\_\_, ##\_\_VA\_ARGS\_\_)
define SGR_GREEN "\033[0;0;32m"
define SGR_RED "\033[0;0;31m"
define SGR_RESET "\033[0m"

Macro Definition Documentation

define ERR

#define ERR (
    fmt,
    ...
) `printf(SGR_RED "E" SGR_RESET " [%s] " fmt, __FUNCTION__, ##__VA_ARGS__)`

define FATAL

#define FATAL (
    fmt,
    ...
) `printf(SGR_RED "F" SGR_RESET " [%s] " fmt, __FUNCTION__, ##__VA_ARGS__)`

define INFO

#define INFO (
    fmt,
    ...
) `printf(SGR_GREEN "I" SGR_RESET " [%s] " fmt, __FUNCTION__, ##__VA_ARGS__)`

define SGR_GREEN

#define SGR_GREEN `"\033[0;0;32m"`

define SGR_RED

#define SGR_RED `"\033[0;0;31m"`

define SGR_RESET

#define SGR_RESET `"\033[0m"`


The documentation for this class was generated from the following file midas_fe/kerneldriver/dmabuf/test.h