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

acpi table parsers More...

#include <acpi.h>
#include <memory.h>
#include <logging.h>
#include <ports.h>
#include <acpi/aml.h>
#include <memory/paging.h>
#include <memory/frame.h>
#include <systeminfo.h>
#include <list.h>
#include <cpu.h>
#include <strings.h>

Macros

#define acpi_build_register_with_gas(reg, gas)   acpi_build_register(reg, gas.address, gas.address_space, gas.bit_width, gas.bit_offset)
 

Functions

 MODULE ("turnstone.kernel.hw.acpi")
 
int8_t acpi_build_register (acpi_aml_object_t **reg, uint64_t address, uint8_t address_space, uint8_t bit_width, uint8_t bit_offset)
 
int8_t acpi_page_map_table_addresses (acpi_xrsdp_descriptor_t *xrsdp_desc)
 
int8_t acpi_reset (void)
 
int8_t acpi_poweroff (void)
 
acpi_xrsdp_descriptor_tacpi_find_xrsdp (void)
 
uint8_t acpi_validate_checksum (acpi_sdt_header_t *sdt_header)
 
acpi_sdt_header_tacpi_get_next_table (acpi_xrsdp_descriptor_t *xrsdp_desc, const char_t *signature, list_t *old_tables)
 
list_tacpi_get_apic_table_entries_with_heap (memory_heap_t *heap, acpi_sdt_header_t *sdt_header)
 
int8_t acpi_setup (acpi_xrsdp_descriptor_t *desc)
 

Variables

acpi_aml_object_tACPI_PM1A_CONTROL_REGISTER = NULL
 
acpi_aml_object_tACPI_PM1B_CONTROL_REGISTER = NULL
 
acpi_aml_object_tACPI_RESET_REGISTER = NULL
 
acpi_contex_tACPI_CONTEXT = NULL
 

Detailed Description

acpi table parsers

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