Merge ACPICA material for 6.16 to satisfy dependencies

* acpica: (30 commits)
  ACPICA: Update copyright year
  ACPICA: Logfile: Changes for version 20250404
  ACPICA: Replace strncpy() with memcpy()
  ACPICA: Apply ACPI_NONSTRING in more places
  ACPICA: Avoid sequence overread in call to strncmp()
  ACPICA: Adjust the position of code lines
  ACPICA: actbl2.h: ACPI 6.5: RAS2: Rename structure and field names of the RAS2 table
  ACPICA: Apply ACPI_NONSTRING
  ACPICA: Introduce ACPI_NONSTRING
  ACPICA: actbl2.h: ERDT: Add typedef and other definitions
  ACPICA: infrastructure: Add new DMT_BUF types and shorten a long name
  ACPICA: Utilities: Fix spelling mistake "Incremement" -> "Increment"
  ACPICA: MRRM: Some cleanups
  ACPICA: actbl2: Add definitions for RIMT
  ACPICA: actbl2.h: MRRM: Add typedef and other definitions
  ACPICA: infrastructure: Add new header and ACPI_DMT_BUF26 types
  ACPICA: Interpret SIDP structures in DMAR
  ACPICA: utilities: Fix overflow check in vsnprintf()
  ACPICA: Apply pack(1) to union aml_resource
  ACPICA: Drop stale comment about the header file content
  ...
This commit is contained in:
Rafael J. Wysocki
2025-05-12 15:42:34 +02:00
184 changed files with 672 additions and 310 deletions

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Name: acdebug.h - ACPI/AML debugger
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -37,7 +37,7 @@ struct acpi_db_argument_info {
struct acpi_db_execute_walk {
u32 count;
u32 max_count;
char name_seg[ACPI_NAMESEG_SIZE + 1];
char name_seg[ACPI_NAMESEG_SIZE + 1] ACPI_NONSTRING;
};
#define PARAM_LIST(pl) pl

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Name: acinterp.h - Interpreter subcomponent prototypes and defines
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -120,6 +120,9 @@ void
acpi_ex_trace_point(acpi_trace_event_type type,
u8 begin, u8 *aml, char *pathname);
void
acpi_ex_trace_args(union acpi_operand_object **params, u32 count);
/*
* exfield - ACPI AML (p-code) execution - field manipulation
*/

View File

@@ -3,7 +3,7 @@
*
* Name: aclocal.h - Internal data types used across the ACPI subsystem
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -293,7 +293,7 @@ acpi_status (*acpi_internal_method) (struct acpi_walk_state * walk_state);
* expected_return_btypes - Allowed type(s) for the return value
*/
struct acpi_name_info {
char name[ACPI_NAMESEG_SIZE] __nonstring;
char name[ACPI_NAMESEG_SIZE] ACPI_NONSTRING;
u16 argument_list;
u8 expected_btypes;
};
@@ -370,7 +370,7 @@ typedef acpi_status (*acpi_object_converter) (struct acpi_namespace_node *
converted_object);
struct acpi_simple_repair_info {
char name[ACPI_NAMESEG_SIZE] __nonstring;
char name[ACPI_NAMESEG_SIZE] ACPI_NONSTRING;
u32 unexpected_btypes;
u32 package_index;
acpi_object_converter object_converter;

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Name: acobject.h - Definition of union acpi_operand_object (Internal object only)
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: amlresrc.h - AML resource descriptors
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -504,10 +504,6 @@ struct aml_resource_pin_group_config {
#define AML_RESOURCE_PIN_GROUP_CONFIG_REVISION 1 /* ACPI 6.2 */
/* restore default alignment */
#pragma pack()
/* Union of all resource descriptors, so we can allocate the worst case */
union aml_resource {
@@ -562,6 +558,10 @@ union aml_resource {
u8 byte_item;
};
/* restore default alignment */
#pragma pack()
/* Interfaces used by both the disassembler and compiler */
void

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: dsfield - Dispatcher field routines
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/

View File

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

View File

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

View File

@@ -188,6 +188,7 @@ acpi_ds_method_data_init_args(union acpi_operand_object **params,
index++;
}
acpi_ex_trace_args(params, index);
ACPI_DEBUG_PRINT((ACPI_DB_EXEC, "%u args passed to method\n", index));
return_ACPI_STATUS(AE_OK);

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: dsopcode - Dispatcher support for regions and fields
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/

View File

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

View File

@@ -668,6 +668,8 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,
union acpi_parse_object *arguments[ACPI_OBJ_NUM_OPERANDS];
u32 arg_count = 0;
u32 index = walk_state->num_operands;
u32 prev_num_operands = walk_state->num_operands;
u32 new_num_operands;
u32 i;
ACPI_FUNCTION_TRACE_PTR(ds_create_operands, first_arg);
@@ -696,6 +698,7 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,
/* Create the interpreter arguments, in reverse order */
new_num_operands = index;
index--;
for (i = 0; i < arg_count; i++) {
arg = arguments[index];
@@ -720,7 +723,11 @@ acpi_ds_create_operands(struct acpi_walk_state *walk_state,
* pop everything off of the operand stack and delete those
* objects
*/
acpi_ds_obj_stack_pop_and_delete(arg_count, walk_state);
walk_state->num_operands = (u8)(i);
acpi_ds_obj_stack_pop_and_delete(new_num_operands, walk_state);
/* Restore operand count */
walk_state->num_operands = (u8)(prev_num_operands);
ACPI_EXCEPTION((AE_INFO, status, "While creating Arg %u", index));
return_ACPI_STATUS(status);

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: dswload - Dispatcher first pass namespace load callbacks
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: exconvrt - Object conversion routines
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -226,8 +226,8 @@ acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc,
/* Copy the string to the buffer */
new_buf = return_desc->buffer.pointer;
strncpy((char *)new_buf, (char *)obj_desc->string.pointer,
obj_desc->string.length);
memcpy((char *)new_buf, (char *)obj_desc->string.pointer,
obj_desc->string.length);
break;
default:

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: exfield - AML execution - field_unit read/write
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: exserial - field_unit support for serial address spaces
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -201,6 +201,12 @@ acpi_ex_read_serial_bus(union acpi_operand_object *obj_desc,
function = ACPI_READ;
break;
case ACPI_ADR_SPACE_FIXED_HARDWARE:
buffer_length = ACPI_FFH_INPUT_BUFFER_SIZE;
function = ACPI_READ;
break;
default:
return_ACPI_STATUS(AE_AML_INVALID_SPACE_ID);
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,7 @@
*
* Module Name: extrace - Support for interpreter execution tracing
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -147,6 +147,57 @@ acpi_ex_trace_point(acpi_trace_event_type type,
}
}
/*******************************************************************************
*
* FUNCTION: acpi_ex_trace_args
*
* PARAMETERS: params - AML method arguments
* count - numer of method arguments
*
* RETURN: None
*
* DESCRIPTION: Trace any arguments
*
******************************************************************************/
void
acpi_ex_trace_args(union acpi_operand_object **params, u32 count)
{
u32 i;
ACPI_FUNCTION_NAME(ex_trace_args);
for (i = 0; i < count; i++) {
union acpi_operand_object *obj_desc = params[i];
if (!i) {
ACPI_DEBUG_PRINT((ACPI_DB_TRACE_POINT, " "));
}
switch (obj_desc->common.type) {
case ACPI_TYPE_INTEGER:
ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, "%llx", obj_desc->integer.value));
break;
case ACPI_TYPE_STRING:
if (!obj_desc->string.length) {
ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, "NULL"));
continue;
}
if (ACPI_IS_DEBUG_ENABLED(ACPI_LV_TRACE_POINT, _COMPONENT))
acpi_ut_print_string(obj_desc->string.pointer, ACPI_UINT8_MAX);
break;
default:
ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, "Unknown"));
break;
}
if (i+1 == count) {
ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, "\n"));
} else {
ACPI_DEBUG_PRINT_RAW((ACPI_DB_TRACE_POINT, ", "));
}
}
}
/*******************************************************************************
*
* FUNCTION: acpi_ex_start_trace_method

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -194,7 +194,7 @@ acpi_ns_build_normalized_path(struct acpi_namespace_node *node,
char *full_path, u32 path_size, u8 no_trailing)
{
u32 length = 0, i;
char name[ACPI_NAMESEG_SIZE];
char name[ACPI_NAMESEG_SIZE] ACPI_NONSTRING;
u8 do_no_trailing;
char c, *left, *right;
struct acpi_namespace_node *next_node;

View File

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

View File

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

View File

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

View File

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

View File

@@ -4,7 +4,7 @@
* Module Name: nsrepair2 - Repair for objects returned by specific
* predefined methods
*
* Copyright (C) 2000 - 2023, Intel Corp.
* Copyright (C) 2000 - 2025, Intel Corp.
*
*****************************************************************************/
@@ -25,7 +25,7 @@ acpi_status (*acpi_repair_function) (struct acpi_evaluate_info * info,
return_object_ptr);
typedef struct acpi_repair_info {
char name[ACPI_NAMESEG_SIZE] __nonstring;
char name[ACPI_NAMESEG_SIZE] ACPI_NONSTRING;
acpi_repair_function repair_function;
} acpi_repair_info;

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