2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 08:44:14 +08:00

Merge branch 'acpica'

* acpica:
  ACPICA: Update version to 20200110
  ACPICA: All acpica: Update copyrights to 2020 Including tool signons.
  ACPICA: Update the list of maintainers
  ACPICA: Update version to 20191213
  ACPICA: Dispatcher: always generate buffer objects for ASL create_field() operator
  ACPICA: acpisrc: add unix line ending support for non-windows build
  ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
  ACPICA: debugger: fix spelling mistake "adress" -> "address"
This commit is contained in:
Rafael J. Wysocki 2020-01-27 10:56:49 +01:00
commit ff7a672f83
177 changed files with 224 additions and 182 deletions

View File

@ -74,6 +74,7 @@ Dmitry Safonov <0x7f454c46@gmail.com> <dima@arista.com>
Domen Puncer <domen@coderock.org> Domen Puncer <domen@coderock.org>
Douglas Gilbert <dougg@torque.net> Douglas Gilbert <dougg@torque.net>
Ed L. Cashin <ecashin@coraid.com> Ed L. Cashin <ecashin@coraid.com>
Erik Kaneda <erik.kaneda@intel.com> <erik.schmauss@intel.com>
Evgeniy Polyakov <johnpol@2ka.mipt.ru> Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Felipe W Damasio <felipewd@terra.com.br> Felipe W Damasio <felipewd@terra.com.br>
Felix Kuhling <fxkuehl@gmx.de> Felix Kuhling <fxkuehl@gmx.de>

View File

@ -345,7 +345,7 @@ F: drivers/acpi/apei/
ACPI COMPONENT ARCHITECTURE (ACPICA) ACPI COMPONENT ARCHITECTURE (ACPICA)
M: Robert Moore <robert.moore@intel.com> M: Robert Moore <robert.moore@intel.com>
M: Erik Schmauss <erik.schmauss@intel.com> M: Erik Kaneda <erik.kaneda@intel.com>
M: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> M: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com>
L: linux-acpi@vger.kernel.org L: linux-acpi@vger.kernel.org
L: devel@acpica.org L: devel@acpica.org

View File

@ -3,7 +3,7 @@
* *
* Module Name: acapps - common include for ACPI applications/tools * Module Name: acapps - common include for ACPI applications/tools
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/
@ -17,7 +17,7 @@
/* Common info for tool signons */ /* Common info for tool signons */
#define ACPICA_NAME "Intel ACPI Component Architecture" #define ACPICA_NAME "Intel ACPI Component Architecture"
#define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2019 Intel Corporation" #define ACPICA_COPYRIGHT "Copyright (c) 2000 - 2020 Intel Corporation"
#if ACPI_MACHINE_WIDTH == 64 #if ACPI_MACHINE_WIDTH == 64
#define ACPI_WIDTH " (64-bit version)" #define ACPI_WIDTH " (64-bit version)"

View File

@ -3,7 +3,7 @@
* *
* Name: accommon.h - Common include files for generation of ACPICA source * Name: accommon.h - Common include files for generation of ACPICA source
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: acapps - common include for ACPI applications/tools * Module Name: acapps - common include for ACPI applications/tools
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acdebug.h - ACPI/AML debugger * Name: acdebug.h - ACPI/AML debugger
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acdispat.h - dispatcher (parser to interpreter interface) * Name: acdispat.h - dispatcher (parser to interpreter interface)
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acevents.h - Event subcomponent prototypes and defines * Name: acevents.h - Event subcomponent prototypes and defines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acglobal.h - Declarations for global variables * Name: acglobal.h - Declarations for global variables
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: achware.h -- hardware specific interfaces * Name: achware.h -- hardware specific interfaces
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acinterp.h - Interpreter subcomponent prototypes and defines * Name: acinterp.h - Interpreter subcomponent prototypes and defines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: aclocal.h - Internal data types used across the ACPI subsystem * Name: aclocal.h - Internal data types used across the ACPI subsystem
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acmacros.h - C macros for the entire subsystem. * Name: acmacros.h - C macros for the entire subsystem.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acnamesp.h - Namespace subcomponent prototypes and defines * Name: acnamesp.h - Namespace subcomponent prototypes and defines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acobject.h - Definition of union acpi_operand_object (Internal object only) * Name: acobject.h - Definition of union acpi_operand_object (Internal object only)
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/
@ -260,7 +260,8 @@ struct acpi_object_index_field {
/* The buffer_field is different in that it is part of a Buffer, not an op_region */ /* The buffer_field is different in that it is part of a Buffer, not an op_region */
struct acpi_object_buffer_field { struct acpi_object_buffer_field {
ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO union acpi_operand_object *buffer_obj; /* Containing Buffer object */ ACPI_OBJECT_COMMON_HEADER ACPI_COMMON_FIELD_INFO u8 is_create_field; /* Special case for objects created by create_field() */
union acpi_operand_object *buffer_obj; /* Containing Buffer object */
}; };
/****************************************************************************** /******************************************************************************

View File

@ -3,7 +3,7 @@
* *
* Name: acopcode.h - AML opcode information for the AML parser and interpreter * Name: acopcode.h - AML opcode information for the AML parser and interpreter
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: acparser.h - AML Parser subcomponent prototypes and defines * Module Name: acparser.h - AML Parser subcomponent prototypes and defines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acpredef - Information table for ACPI predefined methods and objects * Name: acpredef - Information table for ACPI predefined methods and objects
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acresrc.h - Resource Manager function prototypes * Name: acresrc.h - Resource Manager function prototypes
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acstruct.h - Internal structs * Name: acstruct.h - Internal structs
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: actables.h - ACPI table management * Name: actables.h - ACPI table management
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: acutils.h -- prototypes for the common (subsystem-wide) procedures * Name: acutils.h -- prototypes for the common (subsystem-wide) procedures
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -5,7 +5,7 @@
* Declarations and definitions contained herein are derived * Declarations and definitions contained herein are derived
* directly from the ACPI specification. * directly from the ACPI specification.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: amlresrc.h - AML resource descriptors * Module Name: amlresrc.h - AML resource descriptors
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dbhistry - debugger HISTORY command * Module Name: dbhistry - debugger HISTORY command
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -816,7 +816,7 @@ acpi_db_command_dispatch(char *input_buffer,
if (ACPI_FAILURE(status) if (ACPI_FAILURE(status)
|| temp64 >= ACPI_NUM_PREDEFINED_REGIONS) { || temp64 >= ACPI_NUM_PREDEFINED_REGIONS) {
acpi_os_printf acpi_os_printf
("Invalid adress space ID: must be between 0 and %u inclusive\n", ("Invalid address space ID: must be between 0 and %u inclusive\n",
ACPI_NUM_PREDEFINED_REGIONS - 1); ACPI_NUM_PREDEFINED_REGIONS - 1);
return (AE_OK); return (AE_OK);
} }

View File

@ -4,7 +4,7 @@
* Module Name: dsargs - Support for execution of dynamic arguments for static * Module Name: dsargs - Support for execution of dynamic arguments for static
* objects (regions, fields, buffer fields, etc.) * objects (regions, fields, buffer fields, etc.)
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Module Name: dscontrol - Support for execution control opcodes - * Module Name: dscontrol - Support for execution control opcodes -
* if/else/while/return * if/else/while/return
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dsdebug - Parser/Interpreter interface - debugging * Module Name: dsdebug - Parser/Interpreter interface - debugging
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dsfield - Dispatcher field routines * Module Name: dsfield - Dispatcher field routines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/
@ -243,7 +243,7 @@ cleanup:
* FUNCTION: acpi_ds_get_field_names * FUNCTION: acpi_ds_get_field_names
* *
* PARAMETERS: info - create_field info structure * PARAMETERS: info - create_field info structure
* ` walk_state - Current method state * walk_state - Current method state
* arg - First parser arg for the field name list * arg - First parser arg for the field name list
* *
* RETURN: Status * RETURN: Status

View File

@ -3,7 +3,7 @@
* *
* Module Name: dsinit - Object initialization namespace walk * Module Name: dsinit - Object initialization namespace walk
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dsmethod - Parser/Interpreter interface - control method parsing * Module Name: dsmethod - Parser/Interpreter interface - control method parsing
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dsobject - Dispatcher object management routines * Module Name: dsobject - Dispatcher object management routines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dsopcode - Dispatcher support for regions and fields * Module Name: dsopcode - Dispatcher support for regions and fields
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/
@ -217,6 +217,8 @@ acpi_ds_init_buffer_field(u16 aml_opcode,
} }
obj_desc->buffer_field.buffer_obj = buffer_desc; obj_desc->buffer_field.buffer_obj = buffer_desc;
obj_desc->buffer_field.is_create_field =
aml_opcode == AML_CREATE_FIELD_OP;
/* Reference count for buffer_desc inherits obj_desc count */ /* Reference count for buffer_desc inherits obj_desc count */

View File

@ -3,7 +3,7 @@
* *
* Module Name: dspkginit - Completion of deferred package initialization * Module Name: dspkginit - Completion of deferred package initialization
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Module Name: dswexec - Dispatcher method execution callbacks; * Module Name: dswexec - Dispatcher method execution callbacks;
* dispatch to interpreter. * dispatch to interpreter.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dswload - Dispatcher first pass namespace load callbacks * Module Name: dswload - Dispatcher first pass namespace load callbacks
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/
@ -410,6 +410,27 @@ acpi_status acpi_ds_load1_end_op(struct acpi_walk_state *walk_state)
ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op,
walk_state)); walk_state));
/*
* Disassembler: handle create field operators here.
*
* create_buffer_field is a deferred op that is typically processed in load
* pass 2. However, disassembly of control method contents walk the parse
* tree with ACPI_PARSE_LOAD_PASS1 and AML_CREATE operators are processed
* in a later walk. This is a problem when there is a control method that
* has the same name as the AML_CREATE object. In this case, any use of the
* name segment will be detected as a method call rather than a reference
* to a buffer field.
*
* This earlier creation during disassembly solves this issue by inserting
* the named object in the ACPI namespace so that references to this name
* would be a name string rather than a method call.
*/
if ((walk_state->parse_flags & ACPI_PARSE_DISASSEMBLE) &&
(walk_state->op_info->flags & AML_CREATE)) {
status = acpi_ds_create_buffer_field(op, walk_state);
return_ACPI_STATUS(status);
}
/* We are only interested in opcodes that have an associated name */ /* We are only interested in opcodes that have an associated name */
if (!(walk_state->op_info->flags & (AML_NAMED | AML_FIELD))) { if (!(walk_state->op_info->flags & (AML_NAMED | AML_FIELD))) {

View File

@ -3,7 +3,7 @@
* *
* Module Name: dswload2 - Dispatcher second pass namespace load callbacks * Module Name: dswload2 - Dispatcher second pass namespace load callbacks
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dswscope - Scope stack manipulation * Module Name: dswscope - Scope stack manipulation
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: dswstate - Dispatcher parse tree walk management routines * Module Name: dswstate - Dispatcher parse tree walk management routines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evevent - Fixed Event handling and dispatch * Module Name: evevent - Fixed Event handling and dispatch
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evglock - Global Lock support * Module Name: evglock - Global Lock support
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evgpe - General Purpose Event handling and dispatch * Module Name: evgpe - General Purpose Event handling and dispatch
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evgpeblk - GPE block creation and initialization. * Module Name: evgpeblk - GPE block creation and initialization.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evgpeinit - System GPE initialization and update * Module Name: evgpeinit - System GPE initialization and update
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evgpeutil - GPE utilities * Module Name: evgpeutil - GPE utilities
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evhandler - Support for Address Space handlers * Module Name: evhandler - Support for Address Space handlers
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evmisc - Miscellaneous event manager support functions * Module Name: evmisc - Miscellaneous event manager support functions
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evregion - Operation Region support * Module Name: evregion - Operation Region support
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evrgnini- ACPI address_space (op_region) init * Module Name: evrgnini- ACPI address_space (op_region) init
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evxface - External interfaces for ACPI events * Module Name: evxface - External interfaces for ACPI events
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evxfevnt - External Interfaces, ACPI event disable/enable * Module Name: evxfevnt - External Interfaces, ACPI event disable/enable
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs) * Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs)
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Module Name: evxfregn - External Interfaces, ACPI Operation Regions and * Module Name: evxfregn - External Interfaces, ACPI Operation Regions and
* Address Spaces. * Address Spaces.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exconcat - Concatenate-type AML operators * Module Name: exconcat - Concatenate-type AML operators
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes) * Module Name: exconfig - Namespace reconfiguration (Load/Unload opcodes)
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exconvrt - Object conversion routines * Module Name: exconvrt - Object conversion routines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: excreate - Named object creation * Module Name: excreate - Named object creation
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exdebug - Support for stores to the AML Debug Object * Module Name: exdebug - Support for stores to the AML Debug Object
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exdump - Interpreter debug output routines * Module Name: exdump - Interpreter debug output routines
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exfield - AML execution - field_unit read/write * Module Name: exfield - AML execution - field_unit read/write
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/
@ -96,7 +96,8 @@ acpi_ex_get_protocol_buffer_length(u32 protocol_id, u32 *return_length)
* RETURN: Status * RETURN: Status
* *
* DESCRIPTION: Read from a named field. Returns either an Integer or a * DESCRIPTION: Read from a named field. Returns either an Integer or a
* Buffer, depending on the size of the field. * Buffer, depending on the size of the field and whether if a
* field is created by the create_field() operator.
* *
******************************************************************************/ ******************************************************************************/
@ -154,12 +155,17 @@ acpi_ex_read_data_from_field(struct acpi_walk_state *walk_state,
* the use of arithmetic operators on the returned value if the * the use of arithmetic operators on the returned value if the
* field size is equal or smaller than an Integer. * field size is equal or smaller than an Integer.
* *
* However, all buffer fields created by create_field operator needs to
* remain as a buffer to match other AML interpreter implementations.
*
* Note: Field.length is in bits. * Note: Field.length is in bits.
*/ */
buffer_length = buffer_length =
(acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.bit_length); (acpi_size)ACPI_ROUND_BITS_UP_TO_BYTES(obj_desc->field.bit_length);
if (buffer_length > acpi_gbl_integer_byte_width) { if (buffer_length > acpi_gbl_integer_byte_width ||
(obj_desc->common.type == ACPI_TYPE_BUFFER_FIELD &&
obj_desc->buffer_field.is_create_field)) {
/* Field is too large for an Integer, create a Buffer instead */ /* Field is too large for an Integer, create a Buffer instead */

View File

@ -3,7 +3,7 @@
* *
* Module Name: exfldio - Aml Field I/O * Module Name: exfldio - Aml Field I/O
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes * Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exmutex - ASL Mutex Acquire/Release functions * Module Name: exmutex - ASL Mutex Acquire/Release functions
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exnames - interpreter/scanner name load/execute * Module Name: exnames - interpreter/scanner name load/execute
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exoparg1 - AML execution - opcodes with 1 argument * Module Name: exoparg1 - AML execution - opcodes with 1 argument
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exoparg2 - AML execution - opcodes with 2 arguments * Module Name: exoparg2 - AML execution - opcodes with 2 arguments
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exoparg3 - AML execution - opcodes with 3 arguments * Module Name: exoparg3 - AML execution - opcodes with 3 arguments
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exoparg6 - AML execution - opcodes with 6 arguments * Module Name: exoparg6 - AML execution - opcodes with 6 arguments
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exprep - ACPI AML field prep utilities * Module Name: exprep - ACPI AML field prep utilities
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exregion - ACPI default op_region (address space) handlers * Module Name: exregion - ACPI default op_region (address space) handlers
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exresnte - AML Interpreter object resolution * Module Name: exresnte - AML Interpreter object resolution
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exresolv - AML Interpreter object resolution * Module Name: exresolv - AML Interpreter object resolution
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exresop - AML Interpreter operand/object resolution * Module Name: exresop - AML Interpreter operand/object resolution
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exserial - field_unit support for serial address spaces * Module Name: exserial - field_unit support for serial address spaces
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exstore - AML Interpreter object store support * Module Name: exstore - AML Interpreter object store support
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Module Name: exstoren - AML Interpreter object store support, * Module Name: exstoren - AML Interpreter object store support,
* Store to Node (namespace object) * Store to Node (namespace object)
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exstorob - AML object store support, store to object * Module Name: exstorob - AML object store support, store to object
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exsystem - Interface to OS services * Module Name: exsystem - Interface to OS services
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: extrace - Support for interpreter execution tracing * Module Name: extrace - Support for interpreter execution tracing
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: exutils - interpreter/scanner utilities * Module Name: exutils - interpreter/scanner utilities
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface * Module Name: hwacpi - ACPI Hardware Initialization/Mode Interface
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the
* extended FADT-V5 sleep registers. * extended FADT-V5 sleep registers.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: hwgpe - Low level GPE enable/disable/clear functions * Module Name: hwgpe - Low level GPE enable/disable/clear functions
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the * Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the
* original/legacy sleep/PM registers. * original/legacy sleep/PM registers.
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: hwtimer.c - ACPI Power Management Timer Interface * Name: hwtimer.c - ACPI Power Management Timer Interface
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: hwvalid - I/O request validation * Module Name: hwvalid - I/O request validation
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: hwxface - Public ACPICA hardware interfaces * Module Name: hwxface - Public ACPICA hardware interfaces
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces * Name: hwxfsleep.c - ACPI Hardware Sleep/Wake External Interfaces
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsarguments - Validation of args for ACPI predefined methods * Module Name: nsarguments - Validation of args for ACPI predefined methods
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Module Name: nsconvert - Object conversions for objects returned by * Module Name: nsconvert - Object conversions for objects returned by
* predefined methods * predefined methods
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsdump - table dumping routines for debug * Module Name: nsdump - table dumping routines for debug
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsdump - table dumping routines for debug * Module Name: nsdump - table dumping routines for debug
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsinit - namespace initialization * Module Name: nsinit - namespace initialization
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsload - namespace loading/expanding/contracting procedures * Module Name: nsload - namespace loading/expanding/contracting procedures
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsparse - namespace interface to AML parser * Module Name: nsparse - namespace interface to AML parser
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nspredef - Validation of ACPI predefined methods and objects * Module Name: nspredef - Validation of ACPI predefined methods and objects
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsprepkg - Validation of package objects for predefined names * Module Name: nsprepkg - Validation of package objects for predefined names
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -3,7 +3,7 @@
* *
* Module Name: nsrepair - Repair for objects returned by predefined methods * Module Name: nsrepair - Repair for objects returned by predefined methods
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -4,7 +4,7 @@
* Module Name: nsrepair2 - Repair for objects returned by specific * Module Name: nsrepair2 - Repair for objects returned by specific
* predefined methods * predefined methods
* *
* Copyright (C) 2000 - 2019, Intel Corp. * Copyright (C) 2000 - 2020, Intel Corp.
* *
*****************************************************************************/ *****************************************************************************/

Some files were not shown because too many files have changed in this diff Show More