mirror of
https://github.com/acpica/acpica/
synced 2025-02-15 13:04:16 +03:00
Update comments that are output in the ASL code
This commit is contained in:
parent
a4fd233186
commit
59c072b436
@ -1,7 +1,7 @@
|
|||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: dmresrcl.c - "Large" Resource Descriptor disassembly
|
* Module Name: dmresrcl.c - "Large" Resource Descriptor disassembly
|
||||||
* $Revision: 1.35 $
|
* $Revision: 1.36 $
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
@ -960,24 +960,31 @@ AcpiDmGenericRegisterDescriptor (
|
|||||||
AcpiOsPrintf ("\n");
|
AcpiOsPrintf ("\n");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger8 (Resource->GenericReg.BitWidth, "Register Bit Width");
|
AcpiDmDumpInteger8 (Resource->GenericReg.BitWidth, "Bit Width");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger8 (Resource->GenericReg.BitOffset, "Register Bit Offset");
|
AcpiDmDumpInteger8 (Resource->GenericReg.BitOffset, "Bit Offset");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger64 (Resource->GenericReg.Address, "Register Address");
|
AcpiDmDumpInteger64 (Resource->GenericReg.Address, "Address");
|
||||||
|
|
||||||
/* Optional field for ACPI 3.0 */
|
/* Optional field for ACPI 3.0 */
|
||||||
|
|
||||||
|
AcpiDmIndent (Level + 1);
|
||||||
if (Resource->GenericReg.AccessSize)
|
if (Resource->GenericReg.AccessSize)
|
||||||
{
|
{
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiOsPrintf ("0x%2.2X, // %s\n",
|
||||||
AcpiOsPrintf ("0x%2.2X // %s\n",
|
|
||||||
Resource->GenericReg.AccessSize, "Access Size");
|
Resource->GenericReg.AccessSize, "Access Size");
|
||||||
|
AcpiDmIndent (Level + 1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
AcpiOsPrintf (",");
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
/* DescriptorName was added for ACPI 3.0+ */
|
||||||
|
|
||||||
|
AcpiDmDescriptorName ();
|
||||||
AcpiOsPrintf (")\n");
|
AcpiOsPrintf (")\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: dmresrcs.c - "Small" Resource Descriptor disassembly
|
* Module Name: dmresrcs.c - "Small" Resource Descriptor disassembly
|
||||||
* $Revision: 1.14 $
|
* $Revision: 1.15 $
|
||||||
*
|
*
|
||||||
******************************************************************************/
|
******************************************************************************/
|
||||||
|
|
||||||
@ -233,16 +233,16 @@ AcpiDmIoDescriptor (
|
|||||||
AcpiGbl_IoDecode [(Resource->Io.Flags & 1)]);
|
AcpiGbl_IoDecode [(Resource->Io.Flags & 1)]);
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger16 (Resource->Io.Minimum, "Address Range Minimum");
|
AcpiDmDumpInteger16 (Resource->Io.Minimum, "Range Minimum");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger16 (Resource->Io.Maximum, "Address Range Maximum");
|
AcpiDmDumpInteger16 (Resource->Io.Maximum, "Range Maximum");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger8 (Resource->Io.Alignment, "Address Alignment");
|
AcpiDmDumpInteger8 (Resource->Io.Alignment, "Alignment");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger8 (Resource->Io.AddressLength, "Address Length");
|
AcpiDmDumpInteger8 (Resource->Io.AddressLength, "Length");
|
||||||
|
|
||||||
/* Insert a descriptor name */
|
/* Insert a descriptor name */
|
||||||
|
|
||||||
@ -277,10 +277,10 @@ AcpiDmFixedIoDescriptor (
|
|||||||
AcpiOsPrintf ("FixedIO (\n");
|
AcpiOsPrintf ("FixedIO (\n");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger16 (Resource->FixedIo.Address, "Address Base");
|
AcpiDmDumpInteger16 (Resource->FixedIo.Address, "Address");
|
||||||
|
|
||||||
AcpiDmIndent (Level + 1);
|
AcpiDmIndent (Level + 1);
|
||||||
AcpiDmDumpInteger8 (Resource->FixedIo.AddressLength, "Address Length");
|
AcpiDmDumpInteger8 (Resource->FixedIo.AddressLength, "Length");
|
||||||
|
|
||||||
/* Insert a descriptor name */
|
/* Insert a descriptor name */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user