History log of /haiku/src/add-ons/kernel/bus_managers/acpi/Module.cpp
Revision Date Author Comments
# e2f1a42e 17-Dec-2023 Jérôme Duval <jerome.duval@gmail.com>

acpi: add device tree attributes from _CLS if available

means B_DEVICE_TYPE, B_DEVICE_SUB_TYPE, B_DEVICE_INTERFACE.
_CLS is rare, it means I don't own devices with this attribute.

from the spec: _CLS:
Class Code – supplies OSPM with the PCI-defined class, subclass and programming interface for a device. Optional.

Change-Id: I4f7b7ed66cbe6b4ff4511cb13df2af218350a5d8
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7210
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 215b685f 11-Dec-2022 X512 <danger_mail@list.ru>

kernel: Drop non-standard GNU inline assignment syntax

* We needed this previously due to our gcc2 compiled kernel.
* Now that our kernel is always latest gcc, we can move to the
c++20 syntax for inline assignment.
* Improves compatibility with clang, less GNU-specific stuff

Change-Id: Ib7272a0a52554a31e9a0e788fd3f031db9049795
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5898
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>


# 41c1669d 16-Oct-2022 Jérôme Duval <jerome.duval@gmail.com>

bin/acpi_call: command to call ACPI methods

adapted from the FreeBSD tool, uses ACPICA headers in userland mode.

Change-Id: Icba77b01e6e351df31538dda21520f0cc99b26bb
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5749
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 526752bc 15-Apr-2020 Jérôme Duval <jerome.duval@gmail.com>

acpi: add ACPI_DEVICE_UID_ITEM

Change-Id: I6f1dba7d9d757859375e2339141ba92559d5cf9b
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2484
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>


# b5dba2e4 15-Mar-2020 Jérôme Duval <jerome.duval@gmail.com>

acpi: add ACPI_DEVICE_ADDR_ITEM and ACPI_DEVICE_CID_ITEM for device nodes

ACPI_DEVICE_HID_ITEM is now optional, instead of an empty string.

Change-Id: I352ffaaad377659f650a0b8c0d56e40a68b739c3
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2420
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>


# 3594baab 13-Sep-2014 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Add get_name and fix get_next_object.

TODO: Need to add defines or enum for nameType.


# cb4d33ca 30-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

acpi: create fake acpi devices for FADT power and sleep buttons.

* adjust ACPIDeviceModule to accept nodes without ACPI_DEVICE_PATH_ITEM.


# ce2d7d5a 21-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

acpi: use walk_resources to find embedded controller I/O ports.

* export walk_resources and use it
* removed SmallResourceData
* added embedded controller module for x86_64


# 5d9aaba2 19-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

x86_64: added acpi to the image.

* embedded_controller crashes on x86_64, disabled for now.
* removed the -fno-pic compile option.
* synched HaikuBootstrap package with Haiku package.


# cad6c2c5 14-Jul-2012 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Fix compilation after rename and switch to cpp.


# 775afec4 14-Jul-2012 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Simplify source file names and go from .c to .cpp


# 3594baabf88289684adfb6ba9d5759c3b121593c 13-Sep-2014 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Add get_name and fix get_next_object.

TODO: Need to add defines or enum for nameType.


# cb4d33ca2676ecb675c647520784d384e032d9d9 30-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

acpi: create fake acpi devices for FADT power and sleep buttons.

* adjust ACPIDeviceModule to accept nodes without ACPI_DEVICE_PATH_ITEM.


# ce2d7d5ac8d220cb661fd12529fd5c88f5d80d6e 21-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

acpi: use walk_resources to find embedded controller I/O ports.

* export walk_resources and use it
* removed SmallResourceData
* added embedded controller module for x86_64


# 5d9aaba22febd3bbef645d3842398cf0dc15e3b2 19-Oct-2013 Jérôme Duval <jerome.duval@gmail.com>

x86_64: added acpi to the image.

* embedded_controller crashes on x86_64, disabled for now.
* removed the -fno-pic compile option.
* synched HaikuBootstrap package with Haiku package.


# cad6c2c536aba66ada9eb1e65e1ba7bc62ff0feb 14-Jul-2012 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Fix compilation after rename and switch to cpp.


# 775afec4cc4fbd33e3a1d42d9376b089963e76fe 14-Jul-2012 Fredrik Holmqvist <fredrik.holmqvist@gmail.com>

Simplify source file names and go from .c to .cpp