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

acpi device utils More...

#include <acpi/aml_internal.h>
#include <acpi/aml_resource.h>
#include <strings.h>
#include <logging.h>
#include <utils.h>
#include <memory/frame.h>
#include <memory/paging.h>
#include <list.h>
#include <stdbufs.h>

Functions

 MODULE ("turnstone.kernel.hw.acpi")
 
int8_t acpi_aml_intmap_addr_sorter (const void *data1, const void *data2)
 
int8_t acpi_aml_intmap_eq (const void *data1, const void *data2)
 
uint8_tacpi_device_get_interrupts (acpi_aml_parser_context_t *ctx, uint64_t addr, uint8_t *int_count)
 
int8_t acpi_build_interrupt_map (acpi_aml_parser_context_t *ctx)
 
int8_t acpi_device_build (acpi_aml_parser_context_t *ctx)
 
const acpi_aml_device_tacpi_device_lookup (acpi_aml_parser_context_t *ctx, char_t *dev_name, uint64_t address)
 
int8_t acpi_device_reserve_memory_ranges (acpi_aml_parser_context_t *ctx)
 
int8_t acpi_device_init (acpi_aml_parser_context_t *ctx)
 
void acpi_device_print_all (acpi_aml_parser_context_t *ctx)
 
void acpi_device_print (acpi_aml_parser_context_t *ctx, const acpi_aml_device_t *d)
 

Detailed Description

acpi device utils

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