PatchworkOS
Loading...
Searching...
No Matches
aml_method_obj_t Struct Reference

Data for a method object. More...

#include <object.h>

Data Fields

 AML_OBJECT_COMMON_HEADER
 
aml_method_implementation_t implementation
 
aml_method_flags_t methodFlags
 
const uint8_tstart
 
const uint8_tend
 
aml_mutex_id_t mutex
 

Detailed Description

Data for a method object.

Definition at line 283 of file object.h.

Field Documentation

◆ AML_OBJECT_COMMON_HEADER

aml_method_obj_t::AML_OBJECT_COMMON_HEADER

Definition at line 285 of file object.h.

◆ end

const uint8_t* aml_method_obj_t::end

Definition at line 293 of file object.h.

Referenced by aml_debug_error(), aml_method_evaluate(), and aml_object_to_string().

◆ implementation

aml_method_implementation_t aml_method_obj_t::implementation

Pointer to the C function that will execute the method. Really just used to implement predefined the predefined method _OSI. If implementation is NULL, the method is just a normal AML method.

Definition at line 290 of file object.h.

Referenced by aml_method_evaluate().

◆ methodFlags

aml_method_flags_t aml_method_obj_t::methodFlags

Definition at line 291 of file object.h.

Referenced by aml_method_evaluate(), aml_method_invocation_read(), and aml_object_to_string().

◆ mutex

aml_mutex_id_t aml_method_obj_t::mutex

Definition at line 294 of file object.h.

Referenced by aml_method_evaluate(), aml_method_set(), and aml_object_clear().

◆ start

const uint8_t* aml_method_obj_t::start

The documentation for this struct was generated from the following file: