ReactOS 0.4.16-dev-1946-g52006dd
context.h File Reference
#include <uacpi/types.h>
#include <uacpi/log.h>
Include dependency graph for context.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void uacpi_context_set_log_level (uacpi_log_level)
 
void uacpi_context_set_proactive_table_checksum (uacpi_bool)
 
void uacpi_context_set_loop_timeout (uacpi_u32 seconds)
 
void uacpi_context_set_max_call_stack_depth (uacpi_u32 depth)
 
uacpi_u32 uacpi_context_get_loop_timeout (void)
 

Function Documentation

◆ uacpi_context_get_loop_timeout()

uacpi_u32 uacpi_context_get_loop_timeout ( void  )

Definition at line 178 of file uacpi.c.

179{
180 return g_uacpi_rt_ctx.loop_timeout_seconds;
181}
struct uacpi_runtime_context g_uacpi_rt_ctx
Definition: uacpi.c:17

◆ uacpi_context_set_log_level()

void uacpi_context_set_log_level ( uacpi_log_level  lvl)

Definition at line 19 of file uacpi.c.

20{
21 if (lvl == 0)
23
24 g_uacpi_rt_ctx.log_level = lvl;
25}
#define UACPI_DEFAULT_LOG_LEVEL
Definition: config.h:16

Referenced by uacpi_logger_initialize().

◆ uacpi_context_set_loop_timeout()

void uacpi_context_set_loop_timeout ( uacpi_u32  seconds)

Definition at line 162 of file uacpi.c.

163{
164 if (seconds == 0)
166
167 g_uacpi_rt_ctx.loop_timeout_seconds = seconds;
168}
#define UACPI_DEFAULT_LOOP_TIMEOUT_SECONDS
Definition: config.h:26

Referenced by uacpi_initialize().

◆ uacpi_context_set_max_call_stack_depth()

void uacpi_context_set_max_call_stack_depth ( uacpi_u32  depth)

Definition at line 170 of file uacpi.c.

171{
172 if (depth == 0)
174
175 g_uacpi_rt_ctx.max_call_stack_depth = depth;
176}
#define UACPI_DEFAULT_MAX_CALL_STACK_DEPTH
Definition: config.h:35
GLint GLint GLsizei GLsizei GLsizei depth
Definition: gl.h:1546

Referenced by uacpi_initialize().

◆ uacpi_context_set_proactive_table_checksum()

void uacpi_context_set_proactive_table_checksum ( uacpi_bool  setting)

Definition at line 42 of file uacpi.c.

43{
44 if (setting)
46 else
47 g_uacpi_rt_ctx.flags &= ~UACPI_FLAG_PROACTIVE_TBL_CSUM;
48}
#define UACPI_FLAG_PROACTIVE_TBL_CSUM
Definition: uacpi.h:96