|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/atexec.c acpica-unix2-20130626-aapits/tests/aapits/atexec.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/atexec.c 2013-01-17 12:48:28.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/atexec.c 2013-07-25 13:44:23.023894441 -0600
|
|
|
32dd66 |
@@ -530,6 +530,7 @@
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
|
|
|
32dd66 |
+#if ACPI_MACHINE_WIDTH == 32
|
|
|
32dd66 |
/*******************************************************************************
|
|
|
32dd66 |
*
|
|
|
32dd66 |
* FUNCTION: AtBuildLocalRSDT
|
|
|
32dd66 |
@@ -648,8 +649,9 @@
|
|
|
32dd66 |
LocalRSDT->Header.Checksum = (UINT8)~LocalRSDT->Header.Checksum;
|
|
|
32dd66 |
}
|
|
|
32dd66 |
}
|
|
|
32dd66 |
+#endif
|
|
|
32dd66 |
|
|
|
32dd66 |
|
|
|
32dd66 |
/*******************************************************************************
|
|
|
32dd66 |
*
|
|
|
32dd66 |
* FUNCTION: AtBuildLocalXSDT
|
|
|
32dd66 |
@@ -1315,7 +1319,7 @@
|
|
|
32dd66 |
ACPI_WARNING ((AE_INFO,
|
|
|
32dd66 |
"Request on [%4.4s] is beyond region limit Req-%X+%X, Base=%X, Len-%X\n",
|
|
|
32dd66 |
(RegionObject->Region.Node)->Name.Ascii, (UINT32) Address,
|
|
|
32dd66 |
- ByteWidth, (UINT32) BufferAddress, Length));
|
|
|
32dd66 |
+ ByteWidth, (UINT32) BufferAddress, (UINT32) Length));
|
|
|
32dd66 |
|
|
|
32dd66 |
return (AE_AML_REGION_LIMIT);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
@@ -1683,7 +1687,9 @@
|
|
|
32dd66 |
Path, Obj.Integer.Value, Value);
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf ("API Error: Value of %s is 0x%llx instead of expected 0x%llx\n",
|
|
|
32dd66 |
- Path, Obj.Integer.Value, Value);
|
|
|
32dd66 |
+ Path,
|
|
|
32dd66 |
+ (long long unsigned int) Obj.Integer.Value,
|
|
|
32dd66 |
+ (long long unsigned int) Value);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
Status = AE_ERROR;
|
|
|
32dd66 |
}
|
|
|
32dd66 |
@@ -1762,7 +1768,7 @@
|
|
|
32dd66 |
{
|
|
|
32dd66 |
TestErrors++;
|
|
|
32dd66 |
printf ("Test Error: cannot allocate buffer of %d bytes\n",
|
|
|
32dd66 |
- Results.Length);
|
|
|
32dd66 |
+ (int) Results.Length);
|
|
|
32dd66 |
return (AE_NO_MEMORY);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
Results.Pointer = Object;
|
|
|
32dd66 |
@@ -1843,7 +1849,8 @@
|
|
|
32dd66 |
{
|
|
|
32dd66 |
printf ("AtCheckBuffer: unexpected length %d of Buffer vs"
|
|
|
32dd66 |
" calculated %d bytes\n",
|
|
|
32dd66 |
- Results.Length, ACPI_ROUND_UP_TO_NATIVE_WORD(sizeof (ACPI_OBJECT) + Length));
|
|
|
32dd66 |
+ (int)Results.Length,
|
|
|
32dd66 |
+ (int)(ACPI_ROUND_UP_TO_NATIVE_WORD(sizeof (ACPI_OBJECT) + Length)));
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
/* Initialize the return buffer structure */
|
|
|
32dd66 |
@@ -1852,7 +1859,7 @@
|
|
|
32dd66 |
{
|
|
|
32dd66 |
TestErrors++;
|
|
|
32dd66 |
printf ("Test Error: cannot allocate buffer of %d bytes\n",
|
|
|
32dd66 |
- Results.Length);
|
|
|
32dd66 |
+ (int) Results.Length);
|
|
|
32dd66 |
return (AE_NO_MEMORY);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
Results.Pointer = Object;
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/atinit.c acpica-unix2-20130626-aapits/tests/aapits/atinit.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/atinit.c 2013-01-17 12:48:28.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/atinit.c 2013-07-25 13:20:19.706705960 -0600
|
|
|
32dd66 |
@@ -2915,7 +2915,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetSystemInfo() returned"
|
|
|
32dd66 |
" Length %d, expected %d\n",
|
|
|
32dd66 |
- OutBuffer.Length, sizeof (Info));
|
|
|
32dd66 |
+ (int) OutBuffer.Length, (int) sizeof (Info));
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -2937,7 +2937,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetSystemInfo() returned"
|
|
|
32dd66 |
" Length %d, expected %d\n",
|
|
|
32dd66 |
- OutBuffer.Length, sizeof (Info));
|
|
|
32dd66 |
+ (int) OutBuffer.Length, (int) sizeof (Info));
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -2957,7 +2957,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetSystemInfo() returned"
|
|
|
32dd66 |
" Length %d, expected %d\n",
|
|
|
32dd66 |
- OutBuffer.Length, sizeof (Info));
|
|
|
32dd66 |
+ (int) OutBuffer.Length, (int) sizeof (Info));
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
else if (OutBuffer.Pointer != &Info)
|
|
|
32dd66 |
@@ -3040,7 +3040,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetSystemInfo() returned"
|
|
|
32dd66 |
" Length %d, expected %d\n",
|
|
|
32dd66 |
- OutBuffer.Length, sizeof (Info));
|
|
|
32dd66 |
+ (int) OutBuffer.Length, (int) sizeof (Info));
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
else if (OutBuffer.Pointer != &Info)
|
|
|
32dd66 |
@@ -3105,7 +3105,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetSystemInfo() returned"
|
|
|
32dd66 |
" Length %d, expected %d\n",
|
|
|
32dd66 |
- OutBuffer.Length, sizeof (ACPI_SYSTEM_INFO));
|
|
|
32dd66 |
+ (int) OutBuffer.Length, (int) sizeof (ACPI_SYSTEM_INFO));
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
else
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/atmain.c acpica-unix2-20130626-aapits/tests/aapits/atmain.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/atmain.c 2013-01-17 12:48:28.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/atmain.c 2013-07-25 13:18:22.083323948 -0600
|
|
|
32dd66 |
@@ -206,7 +206,7 @@
|
|
|
32dd66 |
{
|
|
|
32dd66 |
printf ("ACPICA API TS err: test num %ld of test case %ld"
|
|
|
32dd66 |
" is not implemented\n",
|
|
|
32dd66 |
- test_num, test_case);
|
|
|
32dd66 |
+ (long int) test_num, (long int) test_case);
|
|
|
32dd66 |
return (AtRetNotImpl);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -321,7 +323,7 @@
|
|
|
32dd66 |
if (test_case < 1 || test_case > AT_TEST_CASE_NUM)
|
|
|
32dd66 |
{
|
|
|
32dd66 |
printf ("ACPICA API TS err: test case %ld is out of range 1 - %d\n",
|
|
|
32dd66 |
- test_case, AT_TEST_CASE_NUM);
|
|
|
32dd66 |
+ (long int) test_case, (int) AT_TEST_CASE_NUM);
|
|
|
32dd66 |
return (AtRetBadParam);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -329,7 +331,7 @@
|
|
|
32dd66 |
if (test_num < 0 || test_num > AtTestCase[test_case].TestsNum)
|
|
|
32dd66 |
{
|
|
|
32dd66 |
printf ("ACPICA API TS err: test num %ld is out of range 0 - %d\n",
|
|
|
32dd66 |
- test_num, AtTestCase[test_case].TestsNum);
|
|
|
32dd66 |
+ (long int) test_num, AtTestCase[test_case].TestsNum);
|
|
|
32dd66 |
return (AtRetBadParam);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/atnamespace.c acpica-unix2-20130626-aapits/tests/aapits/atnamespace.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/atnamespace.c 2013-01-17 12:48:28.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/atnamespace.c 2013-07-25 13:24:15.366466707 -0600
|
|
|
32dd66 |
@@ -2426,7 +2426,8 @@
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf ("API Error: Address of %s (0x%llX) != (0x%llX)\n",
|
|
|
32dd66 |
PathNames[2 * i + 1],
|
|
|
32dd66 |
- Info->Address, ExpectedInfo[i].Address);
|
|
|
32dd66 |
+ (long long unsigned int) Info->Address,
|
|
|
32dd66 |
+ (long long unsigned int) ExpectedInfo[i].Address);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf ("API Error: Address of %s (0x%X) != (0x%X)\n",
|
|
|
32dd66 |
@@ -2799,7 +2800,8 @@
|
|
|
32dd66 |
TestErrors++;
|
|
|
32dd66 |
printf ("AtGetNextObjectTypeCommon: different numbers of entities"
|
|
|
32dd66 |
"in TypesNames (%d) and LevelTypes0000 (%d)\n",
|
|
|
32dd66 |
- TypesCount, sizeof (LevelTypes0000) / sizeof (ACPI_OBJECT_TYPE));
|
|
|
32dd66 |
+ TypesCount,
|
|
|
32dd66 |
+ (int) (sizeof (LevelTypes0000) / sizeof (ACPI_OBJECT_TYPE)));
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -4083,7 +4085,9 @@
|
|
|
32dd66 |
Pathname, Obj.Integer.Value, Value);
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf ("API Error: Value of %s is 0x%llx instead of expected 0x%llx\n",
|
|
|
32dd66 |
- Pathname, Obj.Integer.Value, Value);
|
|
|
32dd66 |
+ Pathname,
|
|
|
32dd66 |
+ (long long unsigned int) Obj.Integer.Value,
|
|
|
32dd66 |
+ (long long unsigned int) Value);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
Status = AE_ERROR;
|
|
|
32dd66 |
}
|
|
|
32dd66 |
@@ -5090,7 +5094,7 @@
|
|
|
32dd66 |
{
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiOsAllocate(%d) returned NULL\n",
|
|
|
32dd66 |
- OutName.Length);
|
|
|
32dd66 |
+ (int) OutName.Length);
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
}
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/atosxfctrl.c acpica-unix2-20130626-aapits/tests/aapits/atosxfctrl.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/atosxfctrl.c 2013-01-17 12:48:28.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/atosxfctrl.c 2013-07-25 13:30:00.375492751 -0600
|
|
|
32dd66 |
@@ -622,13 +622,15 @@
|
|
|
32dd66 |
#if ACPI_MACHINE_WIDTH == 64
|
|
|
32dd66 |
#ifdef _MSC_VER
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: unexpected Width %d of Reg 0x%I64x\n",
|
|
|
32dd66 |
+ Width, Address);
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: unexpected Width %d of Reg 0x%llx\n",
|
|
|
32dd66 |
+ Width, (long long unsigned int) Address);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: unexpected Width %d of Reg 0x%x\n",
|
|
|
32dd66 |
-#endif
|
|
|
32dd66 |
Width, Address);
|
|
|
32dd66 |
+#endif
|
|
|
32dd66 |
return (NULL);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -649,15 +651,19 @@
|
|
|
32dd66 |
#ifdef _MSC_VER
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: intersection Regs (0x%I64x: 0x%x)"
|
|
|
32dd66 |
" and (0x%I64x: 0x%x)\n",
|
|
|
32dd66 |
+ Reg->Address, Reg->Width, Address, Width);
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: intersection Regs (0x%llx: 0x%x)"
|
|
|
32dd66 |
" and (0x%llx: 0x%x)\n",
|
|
|
32dd66 |
+ (long long unsigned int) Reg->Address,
|
|
|
32dd66 |
+ Reg->Width,
|
|
|
32dd66 |
+ (long long unsigned int) Address, Width);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: intersection Regs (0x%x: 0x%x)"
|
|
|
32dd66 |
" and (0x%x: 0x%x)\n",
|
|
|
32dd66 |
-#endif
|
|
|
32dd66 |
Reg->Address, Reg->Width, Address, Width);
|
|
|
32dd66 |
+#endif
|
|
|
32dd66 |
return (NULL);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
}
|
|
|
32dd66 |
@@ -671,13 +677,15 @@
|
|
|
32dd66 |
#if ACPI_MACHINE_WIDTH == 64
|
|
|
32dd66 |
#ifdef _MSC_VER
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: no memory for Reg (0x%I64x: 0x%x)\n",
|
|
|
32dd66 |
+ Reg->Address, Reg->Width);
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: no memory for Reg (0x%llx: 0x%x)\n",
|
|
|
32dd66 |
+ (long long unsigned int) Reg->Address, Reg->Width);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("OsxfCtrlFingReg: no memory for Reg (0x%x: 0x%x)\n",
|
|
|
32dd66 |
-#endif
|
|
|
32dd66 |
Reg->Address, Reg->Width);
|
|
|
32dd66 |
+#endif
|
|
|
32dd66 |
return (NULL);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
Reg->Type = Type;
|
|
|
32dd66 |
@@ -817,14 +825,19 @@
|
|
|
32dd66 |
#if ACPI_MACHINE_WIDTH == 64
|
|
|
32dd66 |
#ifdef _MSC_VER
|
|
|
32dd66 |
printf("%.2u (%s Address 0x%I64x: Width %.2u) r/w counts: %u/%u\n",
|
|
|
32dd66 |
+ i, (Reg->Type == EMUL_REG_SYS)? "SYS": "IO",
|
|
|
32dd66 |
+ Reg->Address, Reg->Width, Reg->ReadCount, Reg->WriteCount);
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("%.2u (%s Address 0x%llx: Width %.2u) r/w counts: %u/%u\n",
|
|
|
32dd66 |
+ i, (Reg->Type == EMUL_REG_SYS)? "SYS": "IO",
|
|
|
32dd66 |
+ (long long unsigned int) Reg->Address,
|
|
|
32dd66 |
+ Reg->Width, Reg->ReadCount, Reg->WriteCount);
|
|
|
32dd66 |
#endif
|
|
|
32dd66 |
#else
|
|
|
32dd66 |
printf("%.2u (%s Address 0x%.4x: Width %.2u) r/w counts: %u/%u\n",
|
|
|
32dd66 |
-#endif
|
|
|
32dd66 |
i, (Reg->Type == EMUL_REG_SYS)? "SYS": "IO",
|
|
|
32dd66 |
Reg->Address, Reg->Width, Reg->ReadCount, Reg->WriteCount);
|
|
|
32dd66 |
+#endif
|
|
|
32dd66 |
Reg = Reg->Next;
|
|
|
32dd66 |
i++;
|
|
|
32dd66 |
}
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/atresource.c acpica-unix2-20130626-aapits/tests/aapits/atresource.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/atresource.c 2013-01-17 12:48:29.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/atresource.c 2013-07-25 13:25:49.423565947 -0600
|
|
|
32dd66 |
@@ -65,7 +65,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetCurrentResources(%s) returned Length %d,"
|
|
|
32dd66 |
" expected %d\n",
|
|
|
32dd66 |
- Pathname, OutBuffer.Length, RT0000_DEV0_CRS_LEN);
|
|
|
32dd66 |
+ Pathname, (int) OutBuffer.Length, RT0000_DEV0_CRS_LEN);
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -381,7 +381,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetCurrentResources(%s) returned Length %d,"
|
|
|
32dd66 |
" expected %d\n",
|
|
|
32dd66 |
- Pathname, OutBuffer.Length, RT0000_DEV0_CRS_LEN);
|
|
|
32dd66 |
+ Pathname, (int) OutBuffer.Length, RT0000_DEV0_CRS_LEN);
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -580,7 +580,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("Api Error: Resource->Length (%d) != %d\n",
|
|
|
32dd66 |
CurrentResource->Length,
|
|
|
32dd66 |
- ACPI_ROUND_UP_TO_NATIVE_WORD (ACPI_RS_SIZE (ACPI_RESOURCE_IRQ)));
|
|
|
32dd66 |
+ (int) (ACPI_ROUND_UP_TO_NATIVE_WORD (ACPI_RS_SIZE (ACPI_RESOURCE_IRQ))));
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
if (CurrentResource->Data.Irq.Triggering != 0) /* Level-Triggered */
|
|
|
32dd66 |
@@ -872,7 +872,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetPossibleResources(%s) returned Length %d,"
|
|
|
32dd66 |
" expected %d\n",
|
|
|
32dd66 |
- Pathname, OutBuffer.Length, RT0000_DEV0_CRS_LEN);
|
|
|
32dd66 |
+ Pathname, (int) OutBuffer.Length, RT0000_DEV0_CRS_LEN);
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -1814,7 +1814,7 @@
|
|
|
32dd66 |
AapiErrors++;
|
|
|
32dd66 |
printf ("API Error: AcpiGetIrqRoutingTable(%s) returned Length %d,"
|
|
|
32dd66 |
" expected %d\n",
|
|
|
32dd66 |
- Pathname, OutBuffer.Length, 0xA48);
|
|
|
32dd66 |
+ Pathname, (int) OutBuffer.Length, 0xA48);
|
|
|
32dd66 |
return (AE_ERROR);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/Makefile acpica-unix2-20130626-aapits/tests/aapits/Makefile
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/Makefile 2013-01-17 12:48:29.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/Makefile 2013-07-25 15:17:09.309236422 -0600
|
|
|
32dd66 |
@@ -20,37 +20,52 @@
|
|
|
32dd66 |
../../source/components/hardware/hwxface.c \
|
|
|
32dd66 |
../../source/common/getopt.c \
|
|
|
32dd66 |
../../source/components/debugger/dbcmds.c \
|
|
|
32dd66 |
+ ../../source/components/debugger/dbconvert.c \
|
|
|
32dd66 |
../../source/components/debugger/dbdisply.c \
|
|
|
32dd66 |
../../source/components/debugger/dbexec.c \
|
|
|
32dd66 |
../../source/components/debugger/dbfileio.c \
|
|
|
32dd66 |
../../source/components/debugger/dbhistry.c \
|
|
|
32dd66 |
../../source/components/debugger/dbinput.c \
|
|
|
32dd66 |
+ ../../source/components/debugger/dbmethod.c \
|
|
|
32dd66 |
+ ../../source/components/debugger/dbnames.c \
|
|
|
32dd66 |
../../source/components/debugger/dbstats.c \
|
|
|
32dd66 |
../../source/components/debugger/dbutils.c \
|
|
|
32dd66 |
../../source/components/debugger/dbxface.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmbuffer.c \
|
|
|
32dd66 |
+ ../../source/components/disassembler/dmdeferred.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmnames.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmobject.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmopcode.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmresrc.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmresrcl.c \
|
|
|
32dd66 |
+ ../../source/components/disassembler/dmresrcl2.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmresrcs.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmutils.c \
|
|
|
32dd66 |
../../source/components/disassembler/dmwalk.c \
|
|
|
32dd66 |
../../source/components/events/evevent.c \
|
|
|
32dd66 |
+ ../../source/components/events/evglock.c \
|
|
|
32dd66 |
../../source/components/events/evgpeblk.c \
|
|
|
32dd66 |
../../source/components/events/evgpe.c \
|
|
|
32dd66 |
+ ../../source/components/events/evgpeinit.c \
|
|
|
32dd66 |
+ ../../source/components/events/evgpeutil.c \
|
|
|
32dd66 |
+ ../../source/components/events/evhandler.c \
|
|
|
32dd66 |
../../source/components/events/evmisc.c \
|
|
|
32dd66 |
../../source/components/events/evregion.c \
|
|
|
32dd66 |
../../source/components/events/evrgnini.c \
|
|
|
32dd66 |
../../source/components/events/evsci.c \
|
|
|
32dd66 |
../../source/components/events/evxface.c \
|
|
|
32dd66 |
../../source/components/events/evxfevnt.c \
|
|
|
32dd66 |
+ ../../source/components/events/evxfgpe.c \
|
|
|
32dd66 |
../../source/components/events/evxfregn.c \
|
|
|
32dd66 |
../../source/components/hardware/hwacpi.c \
|
|
|
32dd66 |
+ ../../source/components/hardware/hwesleep.c \
|
|
|
32dd66 |
../../source/components/hardware/hwgpe.c \
|
|
|
32dd66 |
+ ../../source/components/hardware/hwpci.c \
|
|
|
32dd66 |
../../source/components/hardware/hwregs.c \
|
|
|
32dd66 |
../../source/components/hardware/hwsleep.c \
|
|
|
32dd66 |
+ ../../source/components/hardware/hwxfsleep.c \
|
|
|
32dd66 |
+ ../../source/components/dispatcher/dsargs.c \
|
|
|
32dd66 |
+ ../../source/components/dispatcher/dscontrol.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dsfield.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dsinit.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dsmethod.c \
|
|
|
32dd66 |
@@ -60,11 +75,13 @@
|
|
|
32dd66 |
../../source/components/dispatcher/dsutils.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dswexec.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dswload.c \
|
|
|
32dd66 |
+ ../../source/components/dispatcher/dswload2.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dswscope.c \
|
|
|
32dd66 |
../../source/components/dispatcher/dswstate.c \
|
|
|
32dd66 |
../../source/components/executer/exconfig.c \
|
|
|
32dd66 |
../../source/components/executer/exconvrt.c \
|
|
|
32dd66 |
../../source/components/executer/excreate.c \
|
|
|
32dd66 |
+ ../../source/components/executer/exdebug.c \
|
|
|
32dd66 |
../../source/components/executer/exdump.c \
|
|
|
32dd66 |
../../source/components/executer/exfield.c \
|
|
|
32dd66 |
../../source/components/executer/exfldio.c \
|
|
|
32dd66 |
@@ -87,7 +104,9 @@
|
|
|
32dd66 |
../../source/components/executer/exutils.c \
|
|
|
32dd66 |
../../source/components/parser/psargs.c \
|
|
|
32dd66 |
../../source/components/parser/psloop.c \
|
|
|
32dd66 |
+ ../../source/components/parser/psobject.c \
|
|
|
32dd66 |
../../source/components/parser/psopcode.c \
|
|
|
32dd66 |
+ ../../source/components/parser/psopinfo.c \
|
|
|
32dd66 |
../../source/components/parser/psparse.c \
|
|
|
32dd66 |
../../source/components/parser/psscope.c \
|
|
|
32dd66 |
../../source/components/parser/pstree.c \
|
|
|
32dd66 |
@@ -96,6 +115,8 @@
|
|
|
32dd66 |
../../source/components/parser/psxface.c \
|
|
|
32dd66 |
../../source/components/namespace/nsaccess.c \
|
|
|
32dd66 |
../../source/components/namespace/nsalloc.c \
|
|
|
32dd66 |
+ ../../source/components/namespace/nsarguments.c \
|
|
|
32dd66 |
+ ../../source/components/namespace/nsconvert.c \
|
|
|
32dd66 |
../../source/components/namespace/nsdump.c \
|
|
|
32dd66 |
../../source/components/namespace/nsdumpdv.c \
|
|
|
32dd66 |
../../source/components/namespace/nseval.c \
|
|
|
32dd66 |
@@ -105,6 +126,7 @@
|
|
|
32dd66 |
../../source/components/namespace/nsobject.c \
|
|
|
32dd66 |
../../source/components/namespace/nsparse.c \
|
|
|
32dd66 |
../../source/components/namespace/nspredef.c \
|
|
|
32dd66 |
+ ../../source/components/namespace/nsprepkg.c \
|
|
|
32dd66 |
../../source/components/namespace/nsrepair.c \
|
|
|
32dd66 |
../../source/components/namespace/nsrepair2.c \
|
|
|
32dd66 |
../../source/components/namespace/nssearch.c \
|
|
|
32dd66 |
@@ -117,26 +139,35 @@
|
|
|
32dd66 |
../../source/components/resources/rscalc.c \
|
|
|
32dd66 |
../../source/components/resources/rscreate.c \
|
|
|
32dd66 |
../../source/components/resources/rsdump.c \
|
|
|
32dd66 |
+ ../../source/components/resources/rsdumpinfo.c \
|
|
|
32dd66 |
+ ../../source/components/resources/rsinfo.c \
|
|
|
32dd66 |
../../source/components/resources/rsio.c \
|
|
|
32dd66 |
../../source/components/resources/rsirq.c \
|
|
|
32dd66 |
../../source/components/resources/rslist.c \
|
|
|
32dd66 |
../../source/components/resources/rsmemory.c \
|
|
|
32dd66 |
../../source/components/resources/rsmisc.c \
|
|
|
32dd66 |
+ ../../source/components/resources/rsserial.c \
|
|
|
32dd66 |
../../source/components/resources/rsutils.c \
|
|
|
32dd66 |
../../source/components/resources/rsxface.c \
|
|
|
32dd66 |
- ../../source/components/resources/rsinfo.c \
|
|
|
32dd66 |
../../source/components/tables/tbfadt.c \
|
|
|
32dd66 |
../../source/components/tables/tbfind.c \
|
|
|
32dd66 |
../../source/components/tables/tbinstal.c \
|
|
|
32dd66 |
+ ../../source/components/tables/tbprint.c \
|
|
|
32dd66 |
../../source/components/tables/tbutils.c \
|
|
|
32dd66 |
../../source/components/tables/tbxface.c \
|
|
|
32dd66 |
+ ../../source/components/tables/tbxfload.c \
|
|
|
32dd66 |
../../source/components/tables/tbxfroot.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utaddress.c \
|
|
|
32dd66 |
../../source/components/utilities/utalloc.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utbuffer.c \
|
|
|
32dd66 |
../../source/components/utilities/utcache.c \
|
|
|
32dd66 |
../../source/components/utilities/utcopy.c \
|
|
|
32dd66 |
../../source/components/utilities/utdebug.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utdecode.c \
|
|
|
32dd66 |
../../source/components/utilities/utdelete.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/uterror.c \
|
|
|
32dd66 |
../../source/components/utilities/uteval.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utexcep.c \
|
|
|
32dd66 |
../../source/components/utilities/utglobal.c \
|
|
|
32dd66 |
../../source/components/utilities/utids.c \
|
|
|
32dd66 |
../../source/components/utilities/utinit.c \
|
|
|
32dd66 |
@@ -145,17 +176,23 @@
|
|
|
32dd66 |
../../source/components/utilities/utmisc.c \
|
|
|
32dd66 |
../../source/components/utilities/utmutex.c \
|
|
|
32dd66 |
../../source/components/utilities/utobject.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utosi.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utownerid.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utpredef.c \
|
|
|
32dd66 |
../../source/components/utilities/utresrc.c \
|
|
|
32dd66 |
../../source/components/utilities/utstate.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utstring.c \
|
|
|
32dd66 |
../../source/components/utilities/uttrack.c \
|
|
|
32dd66 |
- ../../source/components/utilities/utxface.c
|
|
|
32dd66 |
+ ../../source/components/utilities/utxface.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utxferror.c \
|
|
|
32dd66 |
+ ../../source/components/utilities/utxfinit.c
|
|
|
32dd66 |
# ../../source/components/osunixxf.c
|
|
|
32dd66 |
|
|
|
32dd66 |
|
|
|
32dd66 |
CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I../../source/include
|
|
|
32dd66 |
|
|
|
32dd66 |
|
|
|
32dd66 |
-acpiexec : $(patsubst %.c,%.o, $(SRCS))
|
|
|
32dd66 |
+$(PROG) : $(patsubst %.c,%.o, $(SRCS))
|
|
|
32dd66 |
$(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
|
|
|
32dd66 |
|
|
|
32dd66 |
CLEANFILES= $(PROG)
|
|
|
32dd66 |
diff -urN acpica-unix2-20130626/tests/aapits/osunixxf.c acpica-unix2-20130626-aapits/tests/aapits/osunixxf.c
|
|
|
32dd66 |
--- acpica-unix2-20130626/tests/aapits/osunixxf.c 2013-01-17 12:48:29.000000000 -0700
|
|
|
32dd66 |
+++ acpica-unix2-20130626-aapits/tests/aapits/osunixxf.c 2013-07-25 15:11:08.225425856 -0600
|
|
|
32dd66 |
@@ -384,7 +384,6 @@
|
|
|
32dd66 |
const char *Fmt,
|
|
|
32dd66 |
va_list Args)
|
|
|
32dd66 |
{
|
|
|
32dd66 |
- INT32 Count = 0;
|
|
|
32dd66 |
UINT8 Flags;
|
|
|
32dd66 |
|
|
|
32dd66 |
|
|
|
32dd66 |
@@ -397,7 +396,7 @@
|
|
|
32dd66 |
{
|
|
|
32dd66 |
/* Output file is open, send the output there */
|
|
|
32dd66 |
|
|
|
32dd66 |
- Count = vfprintf (AcpiGbl_DebugFile, Fmt, Args);
|
|
|
32dd66 |
+ vfprintf (AcpiGbl_DebugFile, Fmt, Args);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
else
|
|
|
32dd66 |
{
|
|
|
32dd66 |
@@ -409,7 +408,7 @@
|
|
|
32dd66 |
|
|
|
32dd66 |
if (Flags & ACPI_DB_CONSOLE_OUTPUT)
|
|
|
32dd66 |
{
|
|
|
32dd66 |
- Count = vfprintf (AcpiGbl_OutputFile, Fmt, Args);
|
|
|
32dd66 |
+ vfprintf (AcpiGbl_OutputFile, Fmt, Args);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
|
|
|
32dd66 |
return;
|
|
|
32dd66 |
@@ -1166,3 +1165,23 @@
|
|
|
32dd66 |
|
|
|
32dd66 |
return (AE_OK);
|
|
|
32dd66 |
}
|
|
|
32dd66 |
+
|
|
|
32dd66 |
+/******************************************************************************
|
|
|
32dd66 |
+ *
|
|
|
32dd66 |
+ * FUNCTION: AcpiOsWaitEventsComplete
|
|
|
32dd66 |
+ *
|
|
|
32dd66 |
+ * PARAMETERS: None
|
|
|
32dd66 |
+ *
|
|
|
32dd66 |
+ * RETURN: None
|
|
|
32dd66 |
+ *
|
|
|
32dd66 |
+ * DESCRIPTION: Wait for all asynchronous events to complete. This
|
|
|
32dd66 |
+ * implementation does nothing.
|
|
|
32dd66 |
+ *
|
|
|
32dd66 |
+ *****************************************************************************/
|
|
|
32dd66 |
+
|
|
|
32dd66 |
+void
|
|
|
32dd66 |
+AcpiOsWaitEventsComplete (
|
|
|
32dd66 |
+ void)
|
|
|
32dd66 |
+{
|
|
|
32dd66 |
+ return;
|
|
|
32dd66 |
+}
|