aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/utilities
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2006-05-12 17:12:00 -0400
committerLen Brown <len.brown@intel.com>2006-06-14 02:34:48 -0400
commit958dd242b691f64ab4632b4903dbb1e16fee8269 (patch)
treeddf4932fb4e3023dd0d1914571f17f2e3b03978d /drivers/acpi/utilities
parentb229cf92eee616c7cb5ad8cdb35a19b119f00bc8 (diff)
ACPI: ACPICA 20060512
Replaced the acpi_os_queue_for_execution() with a new interface named acpi_os_execute(). The major difference is that the new interface does not have a Priority parameter, this appeared to be useless and has been replaced by a Type parameter. The Type tells the OS what type of execution is being requested, such as global lock handler, notify handler, GPE handler, etc. This allows the host to queue and execute the request as appropriate for the request type, possibly using different work queues and different priorities for the various request types. This enables fixes for multithreading deadlock problems such as http://bugzilla.kernel.org/show_bug.cgi?id=5534 (Alexey Starikovskiy and Bob Moore) Fixed a possible memory leak associated with the support for the so-called "implicit return" ACPI extension. Reported by FreeBSD (Fiodor Suietov) http://bugzilla.kernel.org/show_bug.cgi?id=6514 Fixed a problem with the Load() operator where a table load from an operation region could overwrite an internal table buffer by up to 7 bytes and cause alignment faults on IPF systems. (With assistance from Luming Yu) Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/utilities')
-rw-r--r--drivers/acpi/utilities/utglobal.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/acpi/utilities/utglobal.c b/drivers/acpi/utilities/utglobal.c
index e666c71be0bf..9450f9b5bfb2 100644
--- a/drivers/acpi/utilities/utglobal.c
+++ b/drivers/acpi/utilities/utglobal.c
@@ -443,7 +443,6 @@ struct acpi_fixed_event_info acpi_gbl_fixed_event_info[ACPI_NUM_FIXED_EVENTS] =
443/* Region type decoding */ 443/* Region type decoding */
444 444
445const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS] = { 445const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS] = {
446/*! [Begin] no source code translation (keep these ASL Keywords as-is) */
447 "SystemMemory", 446 "SystemMemory",
448 "SystemIO", 447 "SystemIO",
449 "PCI_Config", 448 "PCI_Config",
@@ -452,7 +451,6 @@ const char *acpi_gbl_region_types[ACPI_NUM_PREDEFINED_REGIONS] = {
452 "CMOS", 451 "CMOS",
453 "PCIBARTarget", 452 "PCIBARTarget",
454 "DataTable" 453 "DataTable"
455/*! [End] no source code translation !*/
456}; 454};
457 455
458char *acpi_ut_get_region_name(u8 space_id) 456char *acpi_ut_get_region_name(u8 space_id)
@@ -482,13 +480,11 @@ char *acpi_ut_get_region_name(u8 space_id)
482/* Event type decoding */ 480/* Event type decoding */
483 481
484static const char *acpi_gbl_event_types[ACPI_NUM_FIXED_EVENTS] = { 482static const char *acpi_gbl_event_types[ACPI_NUM_FIXED_EVENTS] = {
485/*! [Begin] no source code translation (keep these strings as-is) */
486 "PM_Timer", 483 "PM_Timer",
487 "GlobalLock", 484 "GlobalLock",
488 "PowerButton", 485 "PowerButton",
489 "SleepButton", 486 "SleepButton",
490 "RealTimeClock", 487 "RealTimeClock",
491/*! [End] no source code translation !*/
492}; 488};
493 489
494char *acpi_ut_get_event_name(u32 event_id) 490char *acpi_ut_get_event_name(u32 event_id)
@@ -526,7 +522,6 @@ static const char acpi_gbl_bad_type[] = "UNDEFINED";
526/* Printable names of the ACPI object types */ 522/* Printable names of the ACPI object types */
527 523
528static const char *acpi_gbl_ns_type_names[] = { 524static const char *acpi_gbl_ns_type_names[] = {
529/*! [Begin] no source code translation (keep these strings as-is) */
530 /* 00 */ "Untyped", 525 /* 00 */ "Untyped",
531 /* 01 */ "Integer", 526 /* 01 */ "Integer",
532 /* 02 */ "String", 527 /* 02 */ "String",
@@ -558,7 +553,6 @@ static const char *acpi_gbl_ns_type_names[] = {
558 /* 28 */ "Extra", 553 /* 28 */ "Extra",
559 /* 29 */ "Data", 554 /* 29 */ "Data",
560 /* 30 */ "Invalid" 555 /* 30 */ "Invalid"
561/*! [End] no source code translation !*/
562}; 556};
563 557
564char *acpi_ut_get_type_name(acpi_object_type type) 558char *acpi_ut_get_type_name(acpi_object_type type)
@@ -641,7 +635,6 @@ char *acpi_ut_get_node_name(void *object)
641/* Printable names of object descriptor types */ 635/* Printable names of object descriptor types */
642 636
643static const char *acpi_gbl_desc_type_names[] = { 637static const char *acpi_gbl_desc_type_names[] = {
644/*! [Begin] no source code translation (keep these ASL Keywords as-is) */
645 /* 00 */ "Invalid", 638 /* 00 */ "Invalid",
646 /* 01 */ "Cached", 639 /* 01 */ "Cached",
647 /* 02 */ "State-Generic", 640 /* 02 */ "State-Generic",
@@ -658,7 +651,6 @@ static const char *acpi_gbl_desc_type_names[] = {
658 /* 13 */ "Parser", 651 /* 13 */ "Parser",
659 /* 14 */ "Operand", 652 /* 14 */ "Operand",
660 /* 15 */ "Node" 653 /* 15 */ "Node"
661/*! [End] no source code translation !*/
662}; 654};
663 655
664char *acpi_ut_get_descriptor_name(void *object) 656char *acpi_ut_get_descriptor_name(void *object)