macros.hpp
00001 #if !defined(__MACROS_HPP__)
00002 #define __MACROS_HPP__
00003
00004
00005
00006
00007 #define L4VMM_COLOR_RESET "\e[m"
00008 #define L4VMM_COLOR_LIGHT ";1"
00009
00010 #define L4VMM_COLOR_BLACK "\e[30"L4VMM_COLOR_LIGHT"m"
00011 #define L4VMM_COLOR_RED "\e[31"L4VMM_COLOR_LIGHT"m"
00012 #define L4VMM_COLOR_GREEN "\e[32"L4VMM_COLOR_LIGHT"m"
00013 #define L4VMM_COLOR_YELLOW "\e[33"L4VMM_COLOR_LIGHT"m"
00014 #define L4VMM_COLOR_BLUE "\e[34"L4VMM_COLOR_LIGHT"m"
00015 #define L4VMM_COLOR_MAGENTA "\e[35"L4VMM_COLOR_LIGHT"m"
00016 #define L4VMM_COLOR_CYAN "\e[36"L4VMM_COLOR_LIGHT"m"
00017 #define L4VMM_COLOR_WHITE "\e[37"L4VMM_COLOR_LIGHT"m"
00018
00019 #define L4VMM_DEBUG L4VMM_COLOR_CYAN "vmm" L4VMM_COLOR_RESET
00020 #define L4VMM_INFO L4VMM_COLOR_GREEN "vmm" L4VMM_COLOR_RESET
00021 #define L4VMM_WARNING L4VMM_COLOR_YELLOW "vmm" L4VMM_COLOR_RESET
00022 #define L4VMM_ERROR L4VMM_COLOR_RED "vmm" L4VMM_COLOR_RESET
00023
00024
00025
00026
00027 #define L4VMM_INIT_DATA __attribute__((__init_priority__(1000)))
00028
00029 #endif
00030
00031
00032