android_kernel_xiaomi_sm8350/drivers/acpi
Robert Moore f9f4601f33 ACPICA 20050708 from Bob Moore <robert.moore@intel.com>
The use of the CPU stack in the debug version of the
subsystem has been considerably reduced.  Previously, a
debug structure was declared in every function that used
the debug macros.  This structure has been removed in
favor of declaring the individual elements as parameters
to the debug functions.  This reduces the cumulative stack
use during nested execution of ACPI function calls at the
cost of a small increase in the code size of the debug
version of the subsystem.  With assistance from Alexey
Starikovskiy and Len Brown.

Added the ACPI_GET_FUNCTION_NAME macro to enable the
compiler-dependent headers to define a macro that will
return the current function name at runtime (such as
__FUNCTION__ or _func_, etc.) The function name is used
by the debug trace output.  If ACPI_GET_FUNCTION_NAME
is not defined in the compiler-dependent header, the
function name is saved on the CPU stack (one pointer per
function.) This mechanism is used because apparently there
exists no standard ANSI-C defined macro that that returns
the function name.

Alexey Starikovskiy redesigned and reimplemented the
"Owner ID" mechanism used to track namespace objects
created/deleted by ACPI tables and control method
execution.  A bitmap is now used to allocate and free the
IDs, thus solving the wraparound problem present in the
previous implementation.  The size of the namespace node
descriptor was reduced by 2 bytes as a result.

Removed the UINT32_BIT and UINT16_BIT types that were used
for the bitfield flag definitions within the headers for
the predefined ACPI tables.  These have been replaced by
UINT8_BIT in order to increase the code portability of
the subsystem.  If the use of UINT8 remains a problem,
we may be forced to eliminate bitfields entirely because
of a lack of portability.

Alexey Starikovksiy enhanced the performance of
acpi_ut_update_object_reference.  This is a frequently used
function and this improvement increases the performance
of the entire subsystem.

Alexey Starikovskiy fixed several possible memory leaks
and the inverse - premature object deletion.

Signed-off-by: Len Brown <len.brown@intel.com>
2005-07-14 00:42:23 -04:00
..
dispatcher ACPICA 20050708 from Bob Moore <robert.moore@intel.com> 2005-07-14 00:42:23 -04:00
events ACPICA 20050617-0624 from Bob Moore <robert.moore@intel.com> 2005-07-13 23:45:36 -04:00
executer ACPICA 20050708 from Bob Moore <robert.moore@intel.com> 2005-07-14 00:42:23 -04:00
hardware ACPICA 20050617-0624 from Bob Moore <robert.moore@intel.com> 2005-07-13 23:45:36 -04:00
namespace ACPICA 20050708 from Bob Moore <robert.moore@intel.com> 2005-07-14 00:42:23 -04:00
parser ACPICA 20050708 from Bob Moore <robert.moore@intel.com> 2005-07-14 00:42:23 -04:00
resources ACPICA from Bob Moore <robert.moore@intel.com> 2005-07-13 16:29:07 -04:00
sleep [ACPI] Deprecate /proc/acpi/sleep in favor of /sys/power/state 2005-07-12 00:05:03 -04:00
tables ACPICA 20050708 from Bob Moore <robert.moore@intel.com> 2005-07-14 00:42:23 -04:00
utilities ACPICA 20050708 from Bob Moore <robert.moore@intel.com> 2005-07-14 00:42:23 -04:00
ac.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
acpi_memhotplug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
asus_acpi.c [ACPI] generic Hot Key support 2005-07-11 23:27:04 -04:00
battery.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
blacklist.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
bus.c [ACPI] pci_set_power_state() now calls 2005-07-11 23:47:06 -04:00
button.c [ACPI] Allow simultaneous Fixed Feature and Control Method buttons 2005-07-11 23:17:07 -04:00
container.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
debug.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ec.c [ACPI] EC GPE-disabled issue 2005-07-12 00:12:53 -04:00
event.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
fan.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
glue.c [ACPI] quiet dmesg related to ACPI PM of PCI devices 2005-07-12 00:09:42 -04:00
hotkey.c [ACPI] fix debug-mode build warning in acpi/hotkey.c 2005-07-11 23:59:34 -04:00
ibm_acpi.c [ACPI] Bind PCI devices with ACPI devices 2005-07-11 23:28:24 -04:00
Kconfig [ACPI] cleanup: delete !IA64_SGI_SN from acpi/Kconfig 2005-07-12 00:10:52 -04:00
Makefile [ACPI] Bind PCI devices with ACPI devices 2005-07-11 23:28:24 -04:00
motherboard.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
numa.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
osl.c ACPICA 20050617-0624 from Bob Moore <robert.moore@intel.com> 2005-07-13 23:45:36 -04:00
pci_bind.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pci_irq.c [PATCH] VIA IRQ quirk 2005-05-27 08:15:04 -07:00
pci_link.c [ACPI] PNPACPI vs sound IRQ 2005-07-12 00:03:30 -04:00
pci_root.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
power.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor_core.c [ACPI] enable C2 and C3 idle power states on SMP 2005-07-12 00:14:36 -04:00
processor_idle.c [ACPI] enable C2 and C3 idle power states on SMP 2005-07-12 00:14:36 -04:00
processor_perflib.c [ACPI] enable C2 and C3 idle power states on SMP 2005-07-12 00:14:36 -04:00
processor_thermal.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
processor_throttling.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
scan.c [ACPI] hotplug Processor consideration in acpi_bus_add() 2005-07-12 00:00:14 -04:00
system.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
tables.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
thermal.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
toshiba_acpi.c [ACPI] check for kmalloc failure in toshiba_acpi.c 2005-07-11 23:57:35 -04:00
utils.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
video.c [ACPI] fix kmalloc size bug in acpi/video.c 2005-07-11 23:58:45 -04:00