[PATCH 1/2] acpi: method: add _FIT test

Alex Hung alex.hung at canonical.com
Thu Jul 14 07:57:03 UTC 2016


Signed-off-by: Alex Hung <alex.hung at canonical.com>
---
 src/acpi/method/method.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/acpi/method/method.c b/src/acpi/method/method.c
index d219961..bc18224 100644
--- a/src/acpi/method/method.c
+++ b/src/acpi/method/method.c
@@ -99,6 +99,7 @@
  * _FDI 	 N (floppy controller, ignore)
  * _FDM 	 N (floppy controller, ignore)
  * _FIF 	 Y
+ * _FIT 	 Y
  * _FIX 	 Y
  * _FPS 	 Y
  * _FSL 	 Y
@@ -2641,6 +2642,12 @@ static int method_test_DEP(fwts_framework *fw)
 		"_DEP", NULL, 0, method_test_DEP_return, NULL);
 }
 
+static int method_test_FIT(fwts_framework *fw)
+{
+	return method_evaluate_method(fw, METHOD_OPTIONAL,
+		"_FIT", NULL, 0, method_test_buffer_return, NULL);
+}
+
 static int method_test_DCK(fwts_framework *fw)
 {
 	int i;
@@ -6948,6 +6955,7 @@ static fwts_framework_minor_test method_tests[] = {
 	/* Section 6.5 Other Objects and Controls */
 
 	{ method_test_DEP, "Test _DEP (Operational Region Dependencies)." },
+	{ method_test_FIT, "Test _FIT (Firmware Interface Table)." },
 	{ method_test_BDN, "Test _BDN (BIOS Dock Name)." },
 	{ method_test_BBN, "Test _BBN (Base Bus Number)." },
 	{ method_test_DCK, "Test _DCK (Dock)." },
-- 
2.7.4




More information about the fwts-devel mailing list