|
ReactOS 0.4.16-dev-1946-g52006dd
|


Go to the source code of this file.
Typedefs | |
| typedef enum uacpi_work_type | uacpi_work_type |
| typedef void(* | uacpi_work_handler) (uacpi_handle) |
Enumerations | |
| enum | uacpi_work_type { UACPI_WORK_GPE_EXECUTION , UACPI_WORK_NOTIFICATION } |
| typedef void(* uacpi_work_handler) (uacpi_handle) |
Definition at line 352 of file kernel_api.h.
| typedef enum uacpi_work_type uacpi_work_type |
| Enumerator | |
|---|---|
| UACPI_WORK_GPE_EXECUTION | |
| UACPI_WORK_NOTIFICATION | |
Definition at line 337 of file kernel_api.h.
| uacpi_status uacpi_kernel_acquire_mutex | ( | uacpi_handle | Handle, |
| uacpi_u16 | Timeout | ||
| ) |
Definition at line 152 of file uacpiosl.c.
Referenced by uacpi_acquire_native_mutex(), and uacpi_acquire_native_mutex_may_be_null().
| void * uacpi_kernel_alloc | ( | uacpi_size | size | ) |
Definition at line 111 of file uacpiosl.c.
Referenced by buffer_alloc(), buffer_to_string(), do_install_gpe_handler(), handle_buffer(), handle_concatenate(), handle_concatenate_res(), handle_create_method(), handle_load(), handle_mid(), handle_special_field(), handle_string(), handle_to(), handle_to_string(), integer_to_string(), io_region_attach(), make_object_for_predefined(), memory_region_attach(), name_string_to_path(), uacpi_builtin_alloc_zeroed(), uacpi_eval_cid(), uacpi_eval_cls(), uacpi_eval_hid(), uacpi_eval_uid(), uacpi_get_namespace_node_info(), uacpi_get_pci_routing_table(), uacpi_initialize_tables(), uacpi_install_address_space_handler_with_flags(), uacpi_install_interface(), uacpi_map_gas(), uacpi_namespace_node_generate_absolute_path(), uacpi_notify_all(), and uacpi_setup_gpe_for_wake().
| uacpi_handle uacpi_kernel_create_event | ( | void | ) |
Definition at line 53 of file uacpiosl.c.
Referenced by event_alloc(), and uacpi_initialize_events().
| uacpi_handle uacpi_kernel_create_mutex | ( | void | ) |
Definition at line 139 of file uacpiosl.c.
Referenced by uacpi_create_mutex(), uacpi_initialize_interfaces(), uacpi_initialize_notify(), uacpi_initialize_tables(), uacpi_recursive_lock_init(), and uacpi_rw_lock_init().
| uacpi_handle uacpi_kernel_create_spinlock | ( | void | ) |
Definition at line 85 of file uacpiosl.c.
Referenced by uacpi_initialize_events(), uacpi_initialize_events_early(), and uacpi_initialize_registers().
Definition at line 126 of file uacpiosl.c.
| void uacpi_kernel_free_event | ( | uacpi_handle | Handle | ) |
Definition at line 60 of file uacpiosl.c.
Referenced by free_event(), and uacpi_state_reset().
| void uacpi_kernel_free_mutex | ( | uacpi_handle | handle | ) |
Definition at line 146 of file uacpiosl.c.
Referenced by free_mutex(), uacpi_deinitialize_interfaces(), uacpi_deinitialize_notify(), uacpi_deinitialize_tables(), uacpi_recursive_lock_deinit(), uacpi_rw_lock_deinit(), and uacpi_rw_lock_init().
| void uacpi_kernel_free_spinlock | ( | uacpi_handle | Handle | ) |
Definition at line 92 of file uacpiosl.c.
Referenced by uacpi_deinitialize_events(), uacpi_deinitialize_registers(), and uacpi_state_reset().
Definition at line 35 of file uacpiosl.c.
Referenced by begin_block_execution(), handle_timer(), uacpi_namespace_initialize(), and uacpi_namespace_load().
| uacpi_status uacpi_kernel_get_rsdp | ( | uacpi_phys_addr * | out_rsdp_address | ) |
Definition at line 204 of file uacpiosl.c.
Referenced by initialize_from_rsdp().
| uacpi_thread_id uacpi_kernel_get_thread_id | ( | void | ) |
Definition at line 184 of file uacpiosl.c.
Referenced by uacpi_acquire_aml_mutex(), uacpi_recursive_lock_acquire(), and uacpi_this_thread_owns_aml_mutex().
| uacpi_status uacpi_kernel_handle_firmware_request | ( | uacpi_firmware_request * | Req | ) |
Definition at line 177 of file uacpiosl.c.
Referenced by handle_firmware_request().
| uacpi_status uacpi_kernel_install_interrupt_handler | ( | uacpi_u32 | irq, |
| uacpi_interrupt_handler | handler, | ||
| uacpi_handle | ctx, | ||
| uacpi_handle * | out_irq_handle | ||
| ) |
Definition at line 212 of file uacpiosl.c.
Referenced by find_or_create_gpe_interrupt_ctx(), and uacpi_initialize_events().
| uacpi_status uacpi_kernel_io_map | ( | uacpi_io_addr | base, |
| uacpi_size | len, | ||
| uacpi_handle * | out_handle | ||
| ) |
Definition at line 165 of file uacpiosl.c.
Referenced by io_region_attach(), uacpi_map_gas_noalloc(), and uacpi_reboot().
| uacpi_status uacpi_kernel_io_read16 | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u16 * | out_value | ||
| ) |
Definition at line 306 of file uacpiosl.c.
Referenced by uacpi_system_io_read().
| uacpi_status uacpi_kernel_io_read32 | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u32 * | out_value | ||
| ) |
Definition at line 313 of file uacpiosl.c.
Referenced by uacpi_system_io_read().
| uacpi_status uacpi_kernel_io_read8 | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u8 * | out_value | ||
| ) |
Definition at line 299 of file uacpiosl.c.
Referenced by uacpi_system_io_read().
| void uacpi_kernel_io_unmap | ( | uacpi_handle | handle | ) |
Definition at line 171 of file uacpiosl.c.
Referenced by io_region_detach(), uacpi_reboot(), and unmap_gas_io().
| uacpi_status uacpi_kernel_io_write16 | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u16 | in_value | ||
| ) |
Definition at line 327 of file uacpiosl.c.
Referenced by uacpi_system_io_write().
| uacpi_status uacpi_kernel_io_write32 | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u32 | in_value | ||
| ) |
Definition at line 334 of file uacpiosl.c.
Referenced by uacpi_system_io_write().
| uacpi_status uacpi_kernel_io_write8 | ( | uacpi_handle | handle, |
| uacpi_size | offset, | ||
| uacpi_u8 | in_value | ||
| ) |
Definition at line 320 of file uacpiosl.c.
Referenced by uacpi_reboot(), and uacpi_system_io_write().
| uacpi_cpu_flags uacpi_kernel_lock_spinlock | ( | uacpi_handle | Handle | ) |
Definition at line 98 of file uacpiosl.c.
Referenced by ensure_register_mapped(), handle_global_lock(), set_gpe_state(), uacpi_acquire_global_lock_from_firmware(), and uacpi_write_register_field().
| void uacpi_kernel_log | ( | uacpi_log_level | Level, |
| const uacpi_char * | Char | ||
| ) |
| void * uacpi_kernel_map | ( | uacpi_phys_addr | addr, |
| uacpi_size | len | ||
| ) |
Definition at line 191 of file uacpiosl.c.
Referenced by get_external_table_header(), handle_load(), initialize_from_rsdp(), initialize_from_rxsdt(), memory_region_attach(), table_install_physical_with_origin_unlocked(), table_ref_unlocked(), uacpi_map_gas_noalloc(), and verify_and_install_table().
| void uacpi_kernel_pci_device_close | ( | uacpi_handle | Handle | ) |
Definition at line 251 of file uacpiosl.c.
Referenced by pci_region_detach(), and uacpi_reboot().
| uacpi_status uacpi_kernel_pci_device_open | ( | uacpi_pci_address | address, |
| uacpi_handle * | out_handle | ||
| ) |
Definition at line 242 of file uacpiosl.c.
Referenced by pci_region_attach(), and uacpi_reboot().
| uacpi_status uacpi_kernel_pci_read16 | ( | uacpi_handle | device, |
| uacpi_size | offset, | ||
| uacpi_u16 * | value | ||
| ) |
Definition at line 264 of file uacpiosl.c.
Referenced by uacpi_pci_read().
| uacpi_status uacpi_kernel_pci_read32 | ( | uacpi_handle | device, |
| uacpi_size | offset, | ||
| uacpi_u32 * | value | ||
| ) |
Definition at line 271 of file uacpiosl.c.
Referenced by uacpi_pci_read().
| uacpi_status uacpi_kernel_pci_read8 | ( | uacpi_handle | device, |
| uacpi_size | offset, | ||
| uacpi_u8 * | value | ||
| ) |
Definition at line 257 of file uacpiosl.c.
Referenced by uacpi_pci_read().
| uacpi_status uacpi_kernel_pci_write16 | ( | uacpi_handle | device, |
| uacpi_size | offset, | ||
| uacpi_u16 | value | ||
| ) |
Definition at line 285 of file uacpiosl.c.
Referenced by uacpi_pci_write().
| uacpi_status uacpi_kernel_pci_write32 | ( | uacpi_handle | device, |
| uacpi_size | offset, | ||
| uacpi_u32 | value | ||
| ) |
Definition at line 292 of file uacpiosl.c.
Referenced by uacpi_pci_write().
| uacpi_status uacpi_kernel_pci_write8 | ( | uacpi_handle | device, |
| uacpi_size | offset, | ||
| uacpi_u8 | value | ||
| ) |
Definition at line 278 of file uacpiosl.c.
Referenced by uacpi_pci_write(), and uacpi_reboot().
| void uacpi_kernel_release_mutex | ( | uacpi_handle | Handle | ) |
Definition at line 159 of file uacpiosl.c.
Referenced by uacpi_release_native_mutex(), uacpi_release_native_mutex_may_be_null(), uacpi_rw_lock_read(), and uacpi_rw_unlock_read().
| void uacpi_kernel_reset_event | ( | uacpi_handle | Handle | ) |
Definition at line 79 of file uacpiosl.c.
Referenced by handle_event_ctl().
| uacpi_status uacpi_kernel_schedule_work | ( | uacpi_work_type | type, |
| uacpi_work_handler | Handler, | ||
| uacpi_handle | ctx | ||
| ) |
Definition at line 228 of file uacpiosl.c.
Referenced by async_run_gpe_handler(), dispatch_gpe(), and uacpi_notify_all().
| void uacpi_kernel_signal_event | ( | uacpi_handle | Handle | ) |
Definition at line 73 of file uacpiosl.c.
Referenced by handle_event_ctl(), and handle_global_lock().
Definition at line 47 of file uacpiosl.c.
Referenced by handle_stall_or_sleep().
Definition at line 42 of file uacpiosl.c.
Referenced by enter_sleep_state_hw_full(), handle_stall_or_sleep(), set_mode(), and uacpi_reboot().
| uacpi_status uacpi_kernel_uninstall_interrupt_handler | ( | uacpi_interrupt_handler | handler, |
| uacpi_handle | irq_handle | ||
| ) |
Definition at line 221 of file uacpiosl.c.
Referenced by uacpi_deinitialize_events(), and uninstall_gpe_block().
| void uacpi_kernel_unlock_spinlock | ( | uacpi_handle | Handle, |
| uacpi_cpu_flags | Flags | ||
| ) |
Definition at line 105 of file uacpiosl.c.
Referenced by ensure_register_mapped(), handle_global_lock(), set_gpe_state(), uacpi_acquire_global_lock_from_firmware(), and uacpi_write_register_field().
| void uacpi_kernel_unmap | ( | void * | addr, |
| uacpi_size | len | ||
| ) |
Definition at line 198 of file uacpiosl.c.
Referenced by get_external_table_header(), handle_load(), initialize_from_rsdp(), initialize_from_rxsdt(), memory_region_detach(), table_install_physical_with_origin_unlocked(), table_ref_unlocked(), table_unref_unlocked(), uacpi_deinitialize_tables(), uacpi_map_gas_noalloc(), and verify_and_install_table().
| uacpi_bool uacpi_kernel_wait_for_event | ( | uacpi_handle | Handle, |
| uacpi_u16 | Timeout | ||
| ) |
Definition at line 66 of file uacpiosl.c.
Referenced by handle_event_ctl(), and uacpi_acquire_global_lock_from_firmware().
| uacpi_status uacpi_kernel_wait_for_work_completion | ( | void | ) |
Definition at line 235 of file uacpiosl.c.
Referenced by gpe_block_mask_safe(), gpe_mask_unmask(), uacpi_install_notify_handler(), uacpi_uninstall_fixed_event_handler(), and uacpi_uninstall_notify_handler().