#include <stdbool.h>
#include <stdint.h>
#include <sys/kassert.h>
#include <sys/kdebug.h>
#include <sys/kconfig.h>
#include <sys/mp.h>
#include <sys/spinlock.h>
#include <machine/amd64.h>
#include <machine/amd64op.h>
Go to the source code of this file.
◆ Critical_Enter()
Definition at line 28 of file critical.c.
29{
32}
static INLINE void disable_interrupts()
uint32_t lockLevel[MAX_CPUS]
◆ Critical_Exit()
Definition at line 35 of file critical.c.
36{
39 {
41 }
42}
static INLINE void enable_interrupts()
◆ Critical_Init()
Definition at line 17 of file critical.c.
18{
19 int c;
20
22 {
24 }
25}
◆ Critical_Level()
◆ Debug_Critical()
static void Debug_Critical |
( |
int |
argc, |
|
|
const char * |
argv[] |
|
) |
| |
|
static |
Definition at line 51 of file critical.c.
52{
53 int c;
54
57 }
58}
int kprintf(const char *fmt,...)
◆ REGISTER_DBGCMD()
REGISTER_DBGCMD |
( |
critical |
, |
|
|
"Critical Enter/Exit Stats" |
, |
|
|
Debug_Critical |
|
|
) |
| |
◆ lockLevel