mirror of https://github.com/xqemu/xqemu.git
qemu-log: add log category for unimplemented functionality
Add new log category (LOG_UNIMP) for unimplemented functionality. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
eeacee4d86
commit
dafdf1abfd
|
@ -120,6 +120,8 @@ const CPULogItem cpu_log_items[] = {
|
||||||
{ CPU_LOG_IOPORT, "ioport",
|
{ CPU_LOG_IOPORT, "ioport",
|
||||||
"show all i/o ports accesses" },
|
"show all i/o ports accesses" },
|
||||||
#endif
|
#endif
|
||||||
|
{ LOG_UNIMP, "unimp",
|
||||||
|
"log unimplemented functionality" },
|
||||||
{ 0, NULL, NULL },
|
{ 0, NULL, NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ static inline bool qemu_log_enabled(void)
|
||||||
#define CPU_LOG_IOPORT (1 << 7)
|
#define CPU_LOG_IOPORT (1 << 7)
|
||||||
#define CPU_LOG_TB_CPU (1 << 8)
|
#define CPU_LOG_TB_CPU (1 << 8)
|
||||||
#define CPU_LOG_RESET (1 << 9)
|
#define CPU_LOG_RESET (1 << 9)
|
||||||
|
#define LOG_UNIMP (1 << 10)
|
||||||
|
|
||||||
/* Returns true if a bit is set in the current loglevel mask
|
/* Returns true if a bit is set in the current loglevel mask
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue