shithub: riscv

ref: 61cc0694649a4d4b109d168032f431751f57f083
dir: /sys/src/cmd/ext4srv/ext4_debug.c/

View raw version
#include "ext4_config.h"
#include "ext4_types.h"
#include "ext4_misc.h"
#include "ext4_debug.h"

static u32int debug_mask;

void ext4_dmask_set(u32int m)
{
	debug_mask |= m;
}

void ext4_dmask_clr(u32int m)
{
	debug_mask &= ~m;
}

u32int ext4_dmask_get(void)
{
	return debug_mask;
}