diff options
Diffstat (limited to 'tests/aapits/atresource.c')
-rw-r--r-- | tests/aapits/atresource.c | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/tests/aapits/atresource.c b/tests/aapits/atresource.c index a570b73e0..e9ab38aee 100644 --- a/tests/aapits/atresource.c +++ b/tests/aapits/atresource.c @@ -122,9 +122,9 @@ #if ACPI_MACHINE_WIDTH == 64 -#define RT0000_DEV0_CRS_LEN 0xCA0 +#define RT0000_DEV0_CRS_LEN 0x920 #else -#define RT0000_DEV0_CRS_LEN 0x8C0 +#define RT0000_DEV0_CRS_LEN 0x8C4 #endif /* * ASSERTION 0000: @@ -598,6 +598,12 @@ AtRsrcTest0006(void) { ACPI_STATUS Status; + TestSkipped++; + printf("Skip: AtRsrcTest0006() AcpiGetCurrentResources allow for some" + " allocation failure, it tries to get as many resources as" + " possible\n"); + return (AE_OK); + if (ACPI_FAILURE(Status = AtAMLcodeFileNameSet("rt0000.aml"))) { return (Status); @@ -1089,6 +1095,12 @@ AtRsrcTest0013(void) { ACPI_STATUS Status; + TestSkipped++; + printf("Skip: AtRsrcTest0013() AcpiGetPossibleResources allow for some" + " allocation failure, it tries to get as many resources as" + " possible\n"); + return (AE_OK); + if (ACPI_FAILURE(Status = AtAMLcodeFileNameSet("rt0000.aml"))) { return (Status); @@ -1544,6 +1556,11 @@ AtRsrcTest0020(void) { ACPI_STATUS Status; + TestSkipped++; + printf("Skip: AtRsrcTest0020() AcpiSetCurrentResources allow for some" + " allocation failure, it tries to walk through as far as possible\n"); + return (AE_OK); + if (ACPI_FAILURE(Status = AtAMLcodeFileNameSet("rt0000.aml"))) { return (Status); @@ -2031,6 +2048,11 @@ AtRsrcTest0027(void) { ACPI_STATUS Status; + TestSkipped++; + printf("Skip: AtRsrcTest0027() AcpiGetIrqRoutingTable allow for some" + " allocation failure, it tries to walk through as far as possible\n"); + return (AE_OK); + if (ACPI_FAILURE(Status = AtAMLcodeFileNameSet("rt0000.aml"))) { return (Status); @@ -2241,15 +2263,15 @@ AtRsrcTest0029(void) { ACPI_STATUS Status; - Status = AtWalkResourcesTestCommon("_CRS", AE_CTRL_DEPTH, AE_OK, - 25, RT0000_DEV0_CRS_LEN); + Status = AtWalkResourcesTestCommon("_CRS", AE_CTRL_DEPTH, AE_CTRL_DEPTH, + 1, 16); if (ACPI_FAILURE(Status)) { return (Status); } - Status = AtWalkResourcesTestCommon("_PRS", AE_CTRL_DEPTH, AE_OK, - 25, RT0000_DEV0_CRS_LEN); + Status = AtWalkResourcesTestCommon("_PRS", AE_CTRL_DEPTH, AE_CTRL_DEPTH, + 1, 16); if (ACPI_FAILURE(Status)) { return (Status); @@ -2557,6 +2579,11 @@ AtRsrcTest0034(void) { ACPI_STATUS Status; + TestSkipped++; + printf("Skip: AtRsrcTest0034() AcpiWalkResources allow for some" + " allocation failure, it tries to walk through as far as possible\n"); + return (AE_OK); + if (ACPI_FAILURE(Status = AtAMLcodeFileNameSet("rt0000.aml"))) { return (Status); @@ -3127,7 +3154,7 @@ static UINT8ARR Buffer0036[] = { 0xeb, 0xea, 0xe9, 0xe8, 0xef, 0xee, 0xed, 0xec, 0xf3, 0xf2, 0xf1, 0xf0, 0xf7, 0xf6, 0xf5, 0xf4, 0xfb, 0xfa, 0xf9, 0xf8, 0xff, 0xfe, 0xfd, 0xfc, 0x79, 0x00}}, - {{0x31, 0x00, 0x38, 0x31, 0x04, 0x31, 0x08, 0x38, 0x31, 0x01, 0x30, + {{0x31, 0x00, 0x38, 0x31, 0x04, 0x31, 0x08, 0x38, 0x31, 0x01, 0x31, 0x05, 0x31, 0x09, 0x38, 0x31, 0x02, 0x38, 0x31, 0x06, 0x38, 0x31, 0x0a, 0x38, 0x79, 0x00}}, |