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

acpi parser utils More...

#include <acpi/aml_internal.h>
#include <strings.h>
#include <logging.h>
#include <utils.h>
#include <memory/paging.h>
#include <pci.h>
#include <ports.h>
#include <bplustree.h>
#include <stdbufs.h>

Functions

 MODULE ("turnstone.kernel.hw.acpi")
 
int8_t acpi_aml_write_sysio_as_integer (acpi_aml_parser_context_t *ctx, int64_t val, const acpi_aml_object_t *obj)
 
int8_t acpi_aml_write_pci_as_integer (acpi_aml_parser_context_t *ctx, int64_t val, const acpi_aml_object_t *obj)
 
int8_t acpi_aml_write_memory_as_integer (acpi_aml_parser_context_t *ctx, int64_t val, const acpi_aml_object_t *obj)
 
int8_t acpi_aml_read_sysio_as_integer (acpi_aml_parser_context_t *ctx, const acpi_aml_object_t *obj, int64_t *res)
 
int8_t acpi_aml_read_pci_as_integer (acpi_aml_parser_context_t *ctx, const acpi_aml_object_t *obj, int64_t *res)
 
int8_t acpi_aml_read_memory_as_integer (acpi_aml_parser_context_t *ctx, const acpi_aml_object_t *obj, int64_t *res)
 
int8_t acpi_aml_is_null_target (acpi_aml_object_t *obj)
 
acpi_aml_object_tacpi_aml_get_if_arg_local_obj (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *obj, uint8_t write, uint8_t copy)
 
int8_t acpi_aml_read_as_integer (acpi_aml_parser_context_t *ctx, const acpi_aml_object_t *obj, int64_t *res)
 
int8_t acpi_aml_write_as_integer (acpi_aml_parser_context_t *ctx, int64_t val, acpi_aml_object_t *obj)
 
int8_t acpi_aml_write_as_string (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *src, acpi_aml_object_t *dst)
 
int8_t acpi_aml_write_as_buffer (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *src, acpi_aml_object_t *dst)
 
int8_t acpi_aml_is_lead_name_char (uint8_t *c)
 
int8_t acpi_aml_is_digit_char (uint8_t *c)
 
int8_t acpi_aml_is_name_char (uint8_t *data)
 
int8_t acpi_aml_is_root_char (uint8_t *c)
 
int8_t acpi_aml_is_parent_prefix_char (uint8_t *c)
 
char_tacpi_aml_normalize_name (acpi_aml_parser_context_t *ctx, const char_t *prefix, const char_t *name)
 
int8_t acpi_aml_is_nameseg (uint8_t *data)
 
int8_t acpi_aml_is_namestring_start (uint8_t *data)
 
uint64_t acpi_aml_parse_package_length (acpi_aml_parser_context_t *ctx)
 
uint64_t acpi_aml_len_namestring (acpi_aml_parser_context_t *ctx)
 
acpi_aml_object_tacpi_aml_symbol_lookup_at_table (acpi_aml_parser_context_t *ctx, index_t *table, const char_t *prefix, const char_t *symbol_name)
 
acpi_aml_object_tacpi_aml_symbol_lookup (acpi_aml_parser_context_t *ctx, const char_t *symbol_name)
 
int8_t acpi_aml_add_obj_to_symboltable (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *obj)
 
uint8_t acpi_aml_get_index_of_extended_code (uint8_t code)
 
void acpi_aml_destroy_symbol_table (acpi_aml_parser_context_t *ctx, uint8_t local)
 
void acpi_aml_destroy_object (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *obj)
 
char_tacpi_aml_parse_eisaid (acpi_aml_parser_context_t *ctx, uint64_t eisaid_num)
 
void acpi_aml_print_symbol_table (acpi_aml_parser_context_t *ctx)
 
void acpi_aml_print_object (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *obj)
 
acpi_aml_object_tacpi_aml_duplicate_object (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *obj)
 
acpi_aml_object_tacpi_aml_get_real_object (acpi_aml_parser_context_t *ctx, acpi_aml_object_t *obj)
 

Detailed Description

acpi parser utils

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