mirror of
https://github.com/acpica/acpica/
synced 2025-01-16 14:29:18 +03:00
Modified to 80 char line limit
date 2000.06.30.01.28.00; author mwalz; state Exp;
This commit is contained in:
parent
4851c84047
commit
5936d2f625
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
*
|
*
|
||||||
* Module Name: rsdump - Functions do dump out the resource structures.
|
* Module Name: rsdump - Functions do dump out the resource structures.
|
||||||
@ -145,10 +144,20 @@ AcpiRsDumpIrq (
|
|||||||
|
|
||||||
AcpiOsPrintf ("\tIRQ Resource\n");
|
AcpiOsPrintf ("\tIRQ Resource\n");
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\t%s Triggered\n", LEVEL_SENSITIVE == IrqData->EdgeLevel ? "Level" : "Edge");
|
AcpiOsPrintf ("\t\t%s Triggered\n",
|
||||||
AcpiOsPrintf ("\t\tActive %s\n", ACTIVE_LOW == IrqData->ActiveHighLow ? "Low" : "High");
|
LEVEL_SENSITIVE == IrqData->EdgeLevel ?
|
||||||
AcpiOsPrintf ("\t\t%s\n", SHARED == IrqData->SharedExclusive ? "Shared" : "Exclusive");
|
"Level" : "Edge");
|
||||||
AcpiOsPrintf ("\t\t%d Interrupts ( ", IrqData->NumberOfInterrupts);
|
|
||||||
|
AcpiOsPrintf ("\t\tActive %s\n",
|
||||||
|
ACTIVE_LOW == IrqData->ActiveHighLow ?
|
||||||
|
"Low" : "High");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\t%s\n",
|
||||||
|
SHARED == IrqData->SharedExclusive ?
|
||||||
|
"Shared" : "Exclusive");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\t%d Interrupts ( ",
|
||||||
|
IrqData->NumberOfInterrupts);
|
||||||
|
|
||||||
for (Index = 0; Index < IrqData->NumberOfInterrupts; Index++)
|
for (Index = 0; Index < IrqData->NumberOfInterrupts; Index++)
|
||||||
{
|
{
|
||||||
@ -205,7 +214,9 @@ AcpiRsDumpDma (
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\t%sBus Master\n", BUS_MASTER == DmaData->BusMaster ? "" : "Not a ");
|
AcpiOsPrintf ("\t\t%sBus Master\n",
|
||||||
|
BUS_MASTER == DmaData->BusMaster ?
|
||||||
|
"" : "Not a ");
|
||||||
|
|
||||||
switch (DmaData->Transfer)
|
switch (DmaData->Transfer)
|
||||||
{
|
{
|
||||||
@ -226,7 +237,8 @@ AcpiRsDumpDma (
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tNumber of Channels: %d ( ", DmaData->NumberOfChannels);
|
AcpiOsPrintf ("\t\tNumber of Channels: %d ( ",
|
||||||
|
DmaData->NumberOfChannels);
|
||||||
|
|
||||||
for (Index = 0; Index < DmaData->NumberOfChannels; Index++)
|
for (Index = 0; Index < DmaData->NumberOfChannels; Index++)
|
||||||
{
|
{
|
||||||
@ -254,7 +266,8 @@ void
|
|||||||
AcpiRsDumpStartDependentFunctions (
|
AcpiRsDumpStartDependentFunctions (
|
||||||
RESOURCE_DATA *Data)
|
RESOURCE_DATA *Data)
|
||||||
{
|
{
|
||||||
START_DEPENDENT_FUNCTIONS_RESOURCE *SdfData = (START_DEPENDENT_FUNCTIONS_RESOURCE*) Data;
|
START_DEPENDENT_FUNCTIONS_RESOURCE *SdfData =
|
||||||
|
(START_DEPENDENT_FUNCTIONS_RESOURCE*) Data;
|
||||||
|
|
||||||
|
|
||||||
AcpiOsPrintf ("\tStart Dependent Functions Resource\n");
|
AcpiOsPrintf ("\tStart Dependent Functions Resource\n");
|
||||||
@ -293,7 +306,8 @@ AcpiRsDumpStartDependentFunctions (
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
AcpiOsPrintf ("\t\tInvalid performance robustness preference\n");
|
AcpiOsPrintf ("\t\tInvalid performance "
|
||||||
|
"robustness preference\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -321,11 +335,21 @@ AcpiRsDumpIo (
|
|||||||
|
|
||||||
|
|
||||||
AcpiOsPrintf ("\tIo Resource\n");
|
AcpiOsPrintf ("\tIo Resource\n");
|
||||||
AcpiOsPrintf ("\t\t%d bit decode\n", DECODE_16 == IoData->IoDecode ? 16 : 10);
|
|
||||||
AcpiOsPrintf ("\t\tRange minimum base: 0x%08x\n", IoData->MinBaseAddress);
|
AcpiOsPrintf ("\t\t%d bit decode\n",
|
||||||
AcpiOsPrintf ("\t\tRange maximum base: 0x%08x\n", IoData->MaxBaseAddress);
|
DECODE_16 == IoData->IoDecode ? 16 : 10);
|
||||||
AcpiOsPrintf ("\t\tAlignment: 0x%08x\n", IoData->Alignment);
|
|
||||||
AcpiOsPrintf ("\t\tRange Length: 0x%08x\n", IoData->RangeLength);
|
AcpiOsPrintf ("\t\tRange minimum base: 0x%08x\n",
|
||||||
|
IoData->MinBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange maximum base: 0x%08x\n",
|
||||||
|
IoData->MaxBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAlignment: 0x%08x\n",
|
||||||
|
IoData->Alignment);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange Length: 0x%08x\n",
|
||||||
|
IoData->RangeLength);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -351,8 +375,11 @@ AcpiRsDumpFixedIo (
|
|||||||
|
|
||||||
|
|
||||||
AcpiOsPrintf ("\tFixed Io Resource\n");
|
AcpiOsPrintf ("\tFixed Io Resource\n");
|
||||||
AcpiOsPrintf ("\t\tRange base address: 0x%08x", FixedIoData->BaseAddress);
|
AcpiOsPrintf ("\t\tRange base address: 0x%08x",
|
||||||
AcpiOsPrintf ("\t\tRange length: 0x%08x", FixedIoData->RangeLength);
|
FixedIoData->BaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange length: 0x%08x",
|
||||||
|
FixedIoData->RangeLength);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -379,11 +406,13 @@ AcpiRsDumpVendorSpecific (
|
|||||||
|
|
||||||
|
|
||||||
AcpiOsPrintf ("\tVendor Specific Resource\n");
|
AcpiOsPrintf ("\tVendor Specific Resource\n");
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tLength: 0x%08x\n", VendorData->Length);
|
AcpiOsPrintf ("\t\tLength: 0x%08x\n", VendorData->Length);
|
||||||
|
|
||||||
for (Index = 0; Index < VendorData->Length; Index++)
|
for (Index = 0; Index < VendorData->Length; Index++)
|
||||||
{
|
{
|
||||||
AcpiOsPrintf ("\t\tByte %d: 0x%08x\n", Index, VendorData->Reserved[Index]);
|
AcpiOsPrintf ("\t\tByte %d: 0x%08x\n",
|
||||||
|
Index, VendorData->Reserved[Index]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -411,11 +440,22 @@ AcpiRsDumpMemory24 (
|
|||||||
|
|
||||||
AcpiOsPrintf ("\t24-Bit Memory Range Resource\n");
|
AcpiOsPrintf ("\t24-Bit Memory Range Resource\n");
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tRead%s\n", READ_WRITE_MEMORY == Memory24Data->ReadWriteAttribute ? "/Write" : " only");
|
AcpiOsPrintf ("\t\tRead%s\n",
|
||||||
AcpiOsPrintf ("\t\tRange minimum base: 0x%08x\n", Memory24Data->MinBaseAddress);
|
READ_WRITE_MEMORY ==
|
||||||
AcpiOsPrintf ("\t\tRange maximum base: 0x%08x\n", Memory24Data->MaxBaseAddress);
|
Memory24Data->ReadWriteAttribute ?
|
||||||
AcpiOsPrintf ("\t\tAlignment: 0x%08x\n", Memory24Data->Alignment);
|
"/Write" : " only");
|
||||||
AcpiOsPrintf ("\t\tRange length: 0x%08x\n", Memory24Data->RangeLength);
|
|
||||||
|
AcpiOsPrintf ("\t\tRange minimum base: 0x%08x\n",
|
||||||
|
Memory24Data->MinBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange maximum base: 0x%08x\n",
|
||||||
|
Memory24Data->MaxBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAlignment: 0x%08x\n",
|
||||||
|
Memory24Data->Alignment);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange length: 0x%08x\n",
|
||||||
|
Memory24Data->RangeLength);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -442,11 +482,22 @@ AcpiRsDumpMemory32 (
|
|||||||
|
|
||||||
AcpiOsPrintf ("\t32-Bit Memory Range Resource\n");
|
AcpiOsPrintf ("\t32-Bit Memory Range Resource\n");
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tRead%s\n", READ_WRITE_MEMORY == Memory32Data->ReadWriteAttribute ? "/Write" : " only");
|
AcpiOsPrintf ("\t\tRead%s\n",
|
||||||
AcpiOsPrintf ("\t\tRange minimum base: 0x%08x\n", Memory32Data->MinBaseAddress);
|
READ_WRITE_MEMORY ==
|
||||||
AcpiOsPrintf ("\t\tRange maximum base: 0x%08x\n", Memory32Data->MaxBaseAddress);
|
Memory32Data->ReadWriteAttribute ?
|
||||||
AcpiOsPrintf ("\t\tAlignment: 0x%08x\n", Memory32Data->Alignment);
|
"/Write" : " only");
|
||||||
AcpiOsPrintf ("\t\tRange length: 0x%08x\n", Memory32Data->RangeLength);
|
|
||||||
|
AcpiOsPrintf ("\t\tRange minimum base: 0x%08x\n",
|
||||||
|
Memory32Data->MinBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange maximum base: 0x%08x\n",
|
||||||
|
Memory32Data->MaxBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAlignment: 0x%08x\n",
|
||||||
|
Memory32Data->Alignment);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange length: 0x%08x\n",
|
||||||
|
Memory32Data->RangeLength);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -472,9 +523,17 @@ AcpiRsDumpFixedMemory32 (
|
|||||||
|
|
||||||
|
|
||||||
AcpiOsPrintf ("\t32-Bit Fixed Location Memory Range Resource\n");
|
AcpiOsPrintf ("\t32-Bit Fixed Location Memory Range Resource\n");
|
||||||
AcpiOsPrintf ("\t\tRead%s\n", READ_WRITE_MEMORY == FixedMemory32Data->ReadWriteAttribute ? "/Write" : " Only");
|
|
||||||
AcpiOsPrintf ("\t\tRange base address: 0x%08x\n", FixedMemory32Data->RangeBaseAddress);
|
AcpiOsPrintf ("\t\tRead%s\n",
|
||||||
AcpiOsPrintf ("\t\tRange length: 0x%08x\n", FixedMemory32Data->RangeLength);
|
READ_WRITE_MEMORY ==
|
||||||
|
FixedMemory32Data->ReadWriteAttribute ?
|
||||||
|
"/Write" : " Only");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange base address: 0x%08x\n",
|
||||||
|
FixedMemory32Data->RangeBaseAddress);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tRange length: 0x%08x\n",
|
||||||
|
FixedMemory32Data->RangeLength);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@ -511,28 +570,34 @@ AcpiRsDumpAddress16 (
|
|||||||
switch (Address16Data->Attribute.Memory.CacheAttribute)
|
switch (Address16Data->Attribute.Memory.CacheAttribute)
|
||||||
{
|
{
|
||||||
case NON_CACHEABLE_MEMORY:
|
case NON_CACHEABLE_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Noncacheable memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Noncacheable memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CACHABLE_MEMORY:
|
case CACHABLE_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Cacheable memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Cacheable memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WRITE_COMBINING_MEMORY:
|
case WRITE_COMBINING_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Write-combining memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Write-combining memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PREFETCHABLE_MEMORY:
|
case PREFETCHABLE_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Prefetchable memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Prefetchable memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Invalid cache attribute\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Invalid cache attribute\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tType Specific: Read%s\n",
|
AcpiOsPrintf ("\t\tType Specific: Read%s\n",
|
||||||
READ_WRITE_MEMORY == Address16Data->Attribute.Memory.ReadWriteAttribute ?
|
READ_WRITE_MEMORY ==
|
||||||
|
Address16Data->Attribute.Memory.ReadWriteAttribute ?
|
||||||
"/Write" : " Only");
|
"/Write" : " Only");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -543,19 +608,23 @@ AcpiRsDumpAddress16 (
|
|||||||
switch (Address16Data->Attribute.Io.RangeAttribute)
|
switch (Address16Data->Attribute.Io.RangeAttribute)
|
||||||
{
|
{
|
||||||
case NON_ISA_ONLY_RANGES:
|
case NON_ISA_ONLY_RANGES:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Non-ISA Io Addresses\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Non-ISA Io Addresses\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ISA_ONLY_RANGES:
|
case ISA_ONLY_RANGES:
|
||||||
AcpiOsPrintf ("\t\tType Specific: ISA Io Addresses\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"ISA Io Addresses\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ENTIRE_RANGE:
|
case ENTIRE_RANGE:
|
||||||
AcpiOsPrintf ("\t\tType Specific: ISA and non-ISA Io Addresses\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"ISA and non-ISA Io Addresses\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Invalid range attribute\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Invalid range attribute\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -571,20 +640,43 @@ AcpiRsDumpAddress16 (
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tResource %s\n", CONSUMER == Address16Data->ProducerConsumer ? "Consumer" : "Producer");
|
AcpiOsPrintf ("\t\tResource %s\n",
|
||||||
AcpiOsPrintf ("\t\t%s decode\n", SUB_DECODE == Address16Data->Decode ? "Subtractive" : "Positive");
|
CONSUMER == Address16Data->ProducerConsumer ?
|
||||||
AcpiOsPrintf ("\t\tMin address is %s fixed\n", ADDRESS_FIXED == Address16Data->MinAddressFixed ? "" : "not");
|
"Consumer" : "Producer");
|
||||||
AcpiOsPrintf ("\t\tMax address is %s fixed\n", ADDRESS_FIXED == Address16Data->MaxAddressFixed ? "" : "not");
|
|
||||||
AcpiOsPrintf ("\t\tGranularity: 0x%08x\n", Address16Data->Granularity);
|
AcpiOsPrintf ("\t\t%s decode\n",
|
||||||
AcpiOsPrintf ("\t\tAddress range min: 0x%08x\n", Address16Data->MinAddressRange);
|
SUB_DECODE == Address16Data->Decode ?
|
||||||
AcpiOsPrintf ("\t\tAddress range max: 0x%08x\n", Address16Data->MaxAddressRange);
|
"Subtractive" : "Positive");
|
||||||
AcpiOsPrintf ("\t\tAddress translation offset: 0x%08x\n", Address16Data->AddressTranslationOffset);
|
|
||||||
AcpiOsPrintf ("\t\tAddress Length: 0x%08x\n", Address16Data->AddressLength);
|
AcpiOsPrintf ("\t\tMin address is %s fixed\n",
|
||||||
|
ADDRESS_FIXED == Address16Data->MinAddressFixed ?
|
||||||
|
"" : "not");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tMax address is %s fixed\n",
|
||||||
|
ADDRESS_FIXED == Address16Data->MaxAddressFixed ?
|
||||||
|
"" : "not");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tGranularity: 0x%08x\n",
|
||||||
|
Address16Data->Granularity);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress range min: 0x%08x\n",
|
||||||
|
Address16Data->MinAddressRange);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress range max: 0x%08x\n",
|
||||||
|
Address16Data->MaxAddressRange);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress translation offset: 0x%08x\n",
|
||||||
|
Address16Data->AddressTranslationOffset);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress Length: 0x%08x\n",
|
||||||
|
Address16Data->AddressLength);
|
||||||
|
|
||||||
if (0xFF != Address16Data->ResourceSourceIndex)
|
if (0xFF != Address16Data->ResourceSourceIndex)
|
||||||
{
|
{
|
||||||
AcpiOsPrintf ("\t\tResource Source Index: %d\n", Address16Data->ResourceSourceIndex);
|
AcpiOsPrintf ("\t\tResource Source Index: %d\n",
|
||||||
AcpiOsPrintf ("\t\tResource Source: %s\n", Address16Data->ResourceSource);
|
Address16Data->ResourceSourceIndex);
|
||||||
|
AcpiOsPrintf ("\t\tResource Source: %s\n",
|
||||||
|
Address16Data->ResourceSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -621,28 +713,34 @@ AcpiRsDumpAddress32 (
|
|||||||
switch (Address32Data->Attribute.Memory.CacheAttribute)
|
switch (Address32Data->Attribute.Memory.CacheAttribute)
|
||||||
{
|
{
|
||||||
case NON_CACHEABLE_MEMORY:
|
case NON_CACHEABLE_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Noncacheable memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Noncacheable memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CACHABLE_MEMORY:
|
case CACHABLE_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Cacheable memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Cacheable memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case WRITE_COMBINING_MEMORY:
|
case WRITE_COMBINING_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Write-combining memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Write-combining memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PREFETCHABLE_MEMORY:
|
case PREFETCHABLE_MEMORY:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Prefetchable memory\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Prefetchable memory\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Invalid cache attribute\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Invalid cache attribute\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tType Specific: Read%s\n",
|
AcpiOsPrintf ("\t\tType Specific: Read%s\n",
|
||||||
READ_WRITE_MEMORY == Address32Data->Attribute.Memory.ReadWriteAttribute ?
|
READ_WRITE_MEMORY ==
|
||||||
|
Address32Data->Attribute.Memory.ReadWriteAttribute ?
|
||||||
"/Write" : " Only");
|
"/Write" : " Only");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -653,19 +751,23 @@ AcpiRsDumpAddress32 (
|
|||||||
switch (Address32Data->Attribute.Io.RangeAttribute)
|
switch (Address32Data->Attribute.Io.RangeAttribute)
|
||||||
{
|
{
|
||||||
case NON_ISA_ONLY_RANGES:
|
case NON_ISA_ONLY_RANGES:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Non-ISA Io Addresses\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Non-ISA Io Addresses\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ISA_ONLY_RANGES:
|
case ISA_ONLY_RANGES:
|
||||||
AcpiOsPrintf ("\t\tType Specific: ISA Io Addresses\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"ISA Io Addresses\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ENTIRE_RANGE:
|
case ENTIRE_RANGE:
|
||||||
AcpiOsPrintf ("\t\tType Specific: ISA and non-ISA Io Addresses\n");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"ISA and non-ISA Io Addresses\n");
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
AcpiOsPrintf ("\t\tType Specific: Invalid Range attribute");
|
AcpiOsPrintf ("\t\tType Specific: "
|
||||||
|
"Invalid Range attribute");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@ -681,20 +783,43 @@ AcpiRsDumpAddress32 (
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tResource %s\n", CONSUMER == Address32Data->ProducerConsumer ? "Consumer" : "Producer");
|
AcpiOsPrintf ("\t\tResource %s\n",
|
||||||
AcpiOsPrintf ("\t\t%s decode\n", SUB_DECODE == Address32Data->Decode ? "Subtractive" : "Positive");
|
CONSUMER == Address32Data->ProducerConsumer ?
|
||||||
AcpiOsPrintf ("\t\tMin address is %s fixed\n", ADDRESS_FIXED == Address32Data->MinAddressFixed ? "" : "not ");
|
"Consumer" : "Producer");
|
||||||
AcpiOsPrintf ("\t\tMax address is %s fixed\n", ADDRESS_FIXED == Address32Data->MaxAddressFixed ? "" : "not ");
|
|
||||||
AcpiOsPrintf ("\t\tGranularity: 0x%08x\n", Address32Data->Granularity);
|
AcpiOsPrintf ("\t\t%s decode\n",
|
||||||
AcpiOsPrintf ("\t\tAddress range min: 0x%08x\n", Address32Data->MinAddressRange);
|
SUB_DECODE == Address32Data->Decode ?
|
||||||
AcpiOsPrintf ("\t\tAddress range max: 0x%08x\n", Address32Data->MaxAddressRange);
|
"Subtractive" : "Positive");
|
||||||
AcpiOsPrintf ("\t\tAddress translation offset: 0x%08x\n", Address32Data->AddressTranslationOffset);
|
|
||||||
AcpiOsPrintf ("\t\tAddress Length: 0x%08x\n", Address32Data->AddressLength);
|
AcpiOsPrintf ("\t\tMin address is %s fixed\n",
|
||||||
|
ADDRESS_FIXED == Address32Data->MinAddressFixed ?
|
||||||
|
"" : "not ");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tMax address is %s fixed\n",
|
||||||
|
ADDRESS_FIXED == Address32Data->MaxAddressFixed ?
|
||||||
|
"" : "not ");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tGranularity: 0x%08x\n",
|
||||||
|
Address32Data->Granularity);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress range min: 0x%08x\n",
|
||||||
|
Address32Data->MinAddressRange);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress range max: 0x%08x\n",
|
||||||
|
Address32Data->MaxAddressRange);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress translation offset: 0x%08x\n",
|
||||||
|
Address32Data->AddressTranslationOffset);
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tAddress Length: 0x%08x\n",
|
||||||
|
Address32Data->AddressLength);
|
||||||
|
|
||||||
if(0xFF != Address32Data->ResourceSourceIndex)
|
if(0xFF != Address32Data->ResourceSourceIndex)
|
||||||
{
|
{
|
||||||
AcpiOsPrintf ("\t\tResource Source Index: %d\n", Address32Data->ResourceSourceIndex);
|
AcpiOsPrintf ("\t\tResource Source Index: %d\n",
|
||||||
AcpiOsPrintf ("\t\tResource Source: %s\n", Address32Data->ResourceSource);
|
Address32Data->ResourceSourceIndex);
|
||||||
|
AcpiOsPrintf ("\t\tResource Source: %s\n",
|
||||||
|
Address32Data->ResourceSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -723,12 +848,24 @@ AcpiRsDumpExtendedIrq (
|
|||||||
|
|
||||||
AcpiOsPrintf ("\tExtended IRQ Resource\n");
|
AcpiOsPrintf ("\tExtended IRQ Resource\n");
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tResource %s\n", CONSUMER == ExtIrqData->ProducerConsumer ? "Consumer" : "Producer");
|
AcpiOsPrintf ("\t\tResource %s\n",
|
||||||
AcpiOsPrintf ("\t\t%s\n", LEVEL_SENSITIVE == ExtIrqData->EdgeLevel ? "Level" : "Edge");
|
CONSUMER == ExtIrqData->ProducerConsumer ?
|
||||||
AcpiOsPrintf ("\t\tActive %s\n", ACTIVE_LOW == ExtIrqData->ActiveHighLow ? "low" : "high");
|
"Consumer" : "Producer");
|
||||||
AcpiOsPrintf ("\t\t%s\n", SHARED == ExtIrqData->SharedExclusive ? "Shared" : "Exclusive");
|
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tInterrupts : %d ( ", ExtIrqData->NumberOfInterrupts);
|
AcpiOsPrintf ("\t\t%s\n",
|
||||||
|
LEVEL_SENSITIVE == ExtIrqData->EdgeLevel ?
|
||||||
|
"Level" : "Edge");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tActive %s\n",
|
||||||
|
ACTIVE_LOW == ExtIrqData->ActiveHighLow ?
|
||||||
|
"low" : "high");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\t%s\n",
|
||||||
|
SHARED == ExtIrqData->SharedExclusive ?
|
||||||
|
"Shared" : "Exclusive");
|
||||||
|
|
||||||
|
AcpiOsPrintf ("\t\tInterrupts : %d ( ",
|
||||||
|
ExtIrqData->NumberOfInterrupts);
|
||||||
|
|
||||||
for (Index = 0; Index < ExtIrqData->NumberOfInterrupts; Index++)
|
for (Index = 0; Index < ExtIrqData->NumberOfInterrupts; Index++)
|
||||||
{
|
{
|
||||||
@ -739,8 +876,10 @@ AcpiRsDumpExtendedIrq (
|
|||||||
|
|
||||||
if(0xFF != ExtIrqData->ResourceSourceIndex)
|
if(0xFF != ExtIrqData->ResourceSourceIndex)
|
||||||
{
|
{
|
||||||
AcpiOsPrintf ("\t\tResource Source Index: %d", ExtIrqData->ResourceSourceIndex);
|
AcpiOsPrintf ("\t\tResource Source Index: %d",
|
||||||
AcpiOsPrintf ("\t\tResource Source: %s", ExtIrqData->ResourceSource);
|
ExtIrqData->ResourceSourceIndex);
|
||||||
|
AcpiOsPrintf ("\t\tResource Source: %s",
|
||||||
|
ExtIrqData->ResourceSource);
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
@ -840,7 +979,8 @@ AcpiRsDumpResourceList (
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Resource = (RESOURCE *) ((NATIVE_UINT) Resource + (NATIVE_UINT) Resource->Length);
|
Resource = (RESOURCE *) ((NATIVE_UINT) Resource +
|
||||||
|
(NATIVE_UINT) Resource->Length);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -877,10 +1017,15 @@ AcpiRsDumpIrqList (
|
|||||||
{
|
{
|
||||||
AcpiOsPrintf ("\tPCI IRQ Routing Table structure %x.\n", Count++);
|
AcpiOsPrintf ("\tPCI IRQ Routing Table structure %x.\n", Count++);
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tAddress: 0x%x\n", PrtElement->Data.Address);
|
AcpiOsPrintf ("\t\tAddress: 0x%x\n",
|
||||||
|
PrtElement->Data.Address);
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tPin: 0x%x\n", PrtElement->Data.Pin);
|
AcpiOsPrintf ("\t\tPin: 0x%x\n", PrtElement->Data.Pin);
|
||||||
|
|
||||||
AcpiOsPrintf ("\t\tSource: %s\n", PrtElement->Data.Source);
|
AcpiOsPrintf ("\t\tSource: %s\n", PrtElement->Data.Source);
|
||||||
AcpiOsPrintf ("\t\tSourceIndex: 0x%x\n", PrtElement->Data.SourceIndex);
|
|
||||||
|
AcpiOsPrintf ("\t\tSourceIndex: 0x%x\n",
|
||||||
|
PrtElement->Data.SourceIndex);
|
||||||
|
|
||||||
Buffer += PrtElement->Length;
|
Buffer += PrtElement->Length;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user