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

acpi parser methos More...

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

Typedefs

typedef int8_t(* acpi_aml_parse_f) (acpi_aml_parser_context_t *ctx, void **, uint64_t *)
 

Functions

 MODULE ("turnstone.kernel.hw.acpi")
 
int8_t acpi_aml_parse_all_items (acpi_aml_parser_context_t *ctx, void **data, uint64_t *consumed)
 
int8_t acpi_aml_parse_one_item (acpi_aml_parser_context_t *ctx, void **data, uint64_t *consumed)
 
int8_t acpi_aml_parse_symbol (acpi_aml_parser_context_t *ctx, void **data, uint64_t *consumed)
 
int8_t acpi_aml_parse_op_extended (acpi_aml_parser_context_t *ctx, void **data, uint64_t *consumed)
 
int8_t acpi_aml_object_name_comparator (const void *data1, const void *data2)
 
int8_t acpi_aml_device_name_comparator (const void *data1, const void *data2)
 
acpi_aml_parser_context_tacpi_aml_parser_context_create_with_heap (memory_heap_t *heap, uint8_t revision)
 
int8_t acpi_aml_parser_parse_table (acpi_aml_parser_context_t *ctx, acpi_sdt_header_t *table)
 
void acpi_aml_parser_context_destroy (acpi_aml_parser_context_t *ctx)
 

Variables

const acpi_aml_parse_f acpi_aml_parse_fs []
 
const acpi_aml_parse_f acpi_aml_parse_ext_fs []
 
uint8_t acpi_aml_parser_defaults []
 

Detailed Description

acpi parser methos

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

Variable Documentation

◆ acpi_aml_parse_ext_fs

const acpi_aml_parse_f acpi_aml_parse_ext_fs[]
Initial value:
= {
PARSER_F_NAME(mutex),
PARSER_F_NAME(event),
PARSER_F_NAME(extopcnt_2),
PARSER_F_NAME(create_field),
PARSER_F_NAME(extopcnt_6),
PARSER_F_NAME(extopcnt_2),
PARSER_F_NAME(extopcnt_1),
PARSER_F_NAME(extopcnt_1),
PARSER_F_NAME(extopcnt_2),
PARSER_F_NAME(extopcnt_1),
PARSER_F_NAME(extopcnt_2),
PARSER_F_NAME(extopcnt_1),
PARSER_F_NAME(extopcnt_1),
PARSER_F_NAME(extopcnt_2),
PARSER_F_NAME(extopcnt_2),
PARSER_F_NAME(extopcnt_0),
PARSER_F_NAME(extopcnt_0),
PARSER_F_NAME(fatal),
PARSER_F_NAME(extopcnt_0),
PARSER_F_NAME(region),
PARSER_F_NAME(field),
PARSER_F_NAME(scope),
PARSER_F_NAME(scope),
PARSER_F_NAME(scope),
PARSER_F_NAME(scope),
PARSER_F_NAME(field),
PARSER_F_NAME(field),
PARSER_F_NAME(region),
}

◆ acpi_aml_parser_defaults

uint8_t acpi_aml_parser_defaults[]
Initial value:
=
{
0x10, 0x05, 0x5F, 0x47, 0x50, 0x45,
0x10, 0x05, 0x5F, 0x50, 0x52, 0x5F,
0x10, 0x05, 0x5F, 0x53, 0x42, 0x5F,
0x10, 0x05, 0x5F, 0x53, 0x49, 0x5F,
0x10, 0x05, 0x5F, 0x54, 0x5A, 0x5F,
0x5B, 0x01, 0x5F, 0x47, 0x4C, 0x5F, 0x00,
0x08, 0x5F, 0x4F, 0x53, 0x5F, 0x0D, 0x48, 0x6F, 0x62, 0x62, 0x79, 0x20, 0x4F, 0x53, 0x00,
0x14, 0x08, 0x5F, 0x4F, 0x53, 0x49, 0x01, 0xA4, 0x00,
0x08, 0x5F, 0x52, 0x45, 0x56, 0x0A, 0x00
}