Turnstone Operating System
Loading...
Searching...
No Matches
acpi_aml_executor.64.c File Reference

acpi aml executor methods More...

#include <acpi/aml_internal.h>
#include <logging.h>
#include <bplustree.h>

Macros

#define UNIMPLEXEC(name)
 

Typedefs

typedef int8_t(* acpi_aml_exec_f) (acpi_aml_parser_context_t *, acpi_aml_opcode_t *)
 

Functions

 MODULE ("turnstone.kernel.hw.acpi")
 
int8_t acpi_aml_executor_opcode (acpi_aml_parser_context_t *ctx, acpi_aml_opcode_t *opcode)
 
int8_t acpi_aml_exec_condrefof (acpi_aml_parser_context_t *ctx, acpi_aml_opcode_t *opcode)
 
int8_t acpi_aml_exec_refof (acpi_aml_parser_context_t *ctx, acpi_aml_opcode_t *opcode)
 
int8_t acpi_aml_exec_derefof (acpi_aml_parser_context_t *ctx, acpi_aml_opcode_t *opcode)
 
int8_t acpi_aml_exec_mth_return (acpi_aml_parser_context_t *ctx, acpi_aml_opcode_t *opcode)
 
int8_t acpi_aml_execute (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *mth, acpi_aml_object_t **return_obj,...)
 
int8_t acpi_aml_exec_method (acpi_aml_parser_context_t *ctx, acpi_aml_opcode_t *opcode)
 
 UNIMPLEXEC (copy)
 
 UNIMPLEXEC (notify)
 
 UNIMPLEXEC (stall)
 
 UNIMPLEXEC (sleep)
 

Variables

const acpi_aml_exec_f acpi_aml_exec_fs []
 

Detailed Description

acpi aml executor methods

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.

Macro Definition Documentation

◆ UNIMPLEXEC

#define UNIMPLEXEC (   name)
Value:
int8_t acpi_aml_exec_ ## name(acpi_aml_parser_context_t * ctx, acpi_aml_opcode_t * opcode){ \
UNUSED(ctx); \
PRINTLOG(ACPIAML, LOG_ERROR, "method %s for opcode 0x%04x not implemented", #name, opcode->opcode); \
return -1; \
}
Definition: aml_internal.h:187
Definition: aml.h:186
char int8_t
Definition: types.h:20