Commit f1698fcb authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vfp: New VFP_DEBUG(ctx, fmt, ...) macro

It needs the debug::processors flag and Debug records to be unmasked to
become useful.
parent 954e59b0
......@@ -36,6 +36,14 @@ struct vdp_ctx;
/* Fetch processors --------------------------------------------------*/
#define VFP_DEBUG(ctx, fmt, ...) \
do { \
if (!DO_DEBUG(DBG_PROCESSORS)) \
break; \
VSLb((ctx)->wrk->vsl, SLT_Debug, "VFP:%s:%d: " fmt, \
__func__, __LINE__, __VA_ARGS__); \
} while (0)
enum vfp_status {
VFP_ERROR = -1,
VFP_OK = 0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment