summaryrefslogtreecommitdiff
path: root/sys/lockdoc/log.c
blob: 52d5115da41fc38fef8edc632be0984b79f9b4dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <arch/x86/include/cpufunc.h>
#include <sys/lockdoc.h>

#ifdef LOCKDOC

struct log_action la_buffer;

void __x86_disable_intr(const char *file, int line, const char *func){
    // TODO Actually log things
    lockdoc_x86_disable_intr();
}

void __x86_enable_intr(const char *file, int line, const char *func){
    // TODO Actually log things
    lockdoc_x86_enable_intr();
}

#endif /* LOCKDOC */