PatchworkOS
Loading...
Searching...
No Matches
predefined.c File Reference
#include <kernel/acpi/aml/predefined.h>
#include <kernel/acpi/acpi.h>
#include <kernel/acpi/aml/aml.h>
#include <kernel/acpi/aml/object.h>
#include <kernel/log/log.h>
#include <kernel/version.h>
#include <errno.h>

Go to the source code of this file.

Functions

aml_object_taml_osi_implementation (aml_method_obj_t *method, aml_object_t **args, uint64_t argCount)
 Implementation of the _OSI predefined method.
 
aml_object_taml_rev_implementation (aml_method_obj_t *method, aml_object_t **args, uint64_t argCount)
 Implementation of the _REV predefined method.
 
aml_object_taml_os_implementation (aml_method_obj_t *method, aml_object_t **args, uint64_t argCount)
 Implementation of the _OS predefined method.
 
static uint64_t aml_create_predefined_scope (aml_name_t name)
 
aml_mutex_obj_taml_gl_get (void)
 Get the global AML mutex.
 
uint64_t aml_predefined_init (void)
 Initialize predefined AML names and objects.
 

Variables

static aml_mutex_obj_tglobalMutex = NULL
 

Function Documentation

◆ aml_create_predefined_scope()

static uint64_t aml_create_predefined_scope ( aml_name_t  name)
inlinestatic

Variable Documentation

◆ globalMutex

aml_mutex_obj_t* globalMutex = NULL
static

Definition at line 12 of file predefined.c.

Referenced by aml_field_unit_access(), aml_gl_get(), and aml_predefined_init().