From patchwork Mon Jul 2 12:15:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Colin Ian King X-Patchwork-Id: 168584 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from chlorine.canonical.com (chlorine.canonical.com [91.189.94.204]) by ozlabs.org (Postfix) with ESMTP id 582D22C00A3 for ; Mon, 2 Jul 2012 22:15:21 +1000 (EST) Received: from localhost ([127.0.0.1] helo=chlorine.canonical.com) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SlfXE-0003lm-5b for incoming@patchwork.ozlabs.org; Mon, 02 Jul 2012 12:15:20 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by chlorine.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1SlfXC-0003lQ-La for fwts-devel@lists.ubuntu.com; Mon, 02 Jul 2012 12:15:18 +0000 Received: from cpc19-craw6-2-0-cust5.croy.cable.virginmedia.com ([77.102.228.6] helo=localhost) by youngberry.canonical.com with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1SlfXC-0006jS-J3 for fwts-devel@lists.ubuntu.com; Mon, 02 Jul 2012 12:15:18 +0000 From: Colin King To: fwts-devel@lists.ubuntu.com Subject: [PATCH 4/5] acpi: method: add new _AEI check Date: Mon, 2 Jul 2012 13:15:10 +0100 Message-Id: <1341231311-12557-5-git-send-email-colin.king@canonical.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1341231311-12557-1-git-send-email-colin.king@canonical.com> References: <1341231311-12557-1-git-send-email-colin.king@canonical.com> X-BeenThere: fwts-devel@lists.ubuntu.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: Firmware Test Suite Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: fwts-devel-bounces@lists.ubuntu.com Errors-To: fwts-devel-bounces@lists.ubuntu.com From: Colin Ian King Signed-off-by: Colin Ian King Acked-by: Alex Hung Acked-by: Keng-Yu Lin --- src/acpi/method/method.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c index 57215ef..6d8ab1c 100644 --- a/src/acpi/method/method.c +++ b/src/acpi/method/method.c @@ -37,6 +37,7 @@ * Name APCI Spec. Tested * section * _ADR 6.1.1, B.6.1, Y + * _AEI 5.6.5.2 Y * _ALx 11.4.2 N * _BBN 6.5.5 Y * _BCL B.6.2 Y @@ -2015,6 +2016,13 @@ static int method_test_PSS(fwts_framework *fw) return method_evaluate_method(fw, METHOD_OPTIONAL, "_PSS", NULL, 0, method_test_PSS_return, NULL); } +/* Section 5.6 */ + +static int method_test_AEI(fwts_framework *fw) +{ + return method_evaluate_method(fw, METHOD_OPTIONAL, "_AEI", NULL, 0, method_test_buffer_return, NULL); +} + /* Tests */ static fwts_framework_minor_test method_tests[] = { @@ -2088,6 +2096,10 @@ static fwts_framework_minor_test method_tests[] = { { method_test_TST, "Check _TST (Temperature Sensor Threshold) Object." }, { method_test_TZP, "Check _TZP (Thermal Zone Polling) Object." }, + /* Section 5.6 */ + + { method_test_AEI, "Check _AEI." }, + /* Section 6.1 */ { method_test_SUN, "Check _SUN (Slot User Number)." },