Message ID | 1468483024-26085-1-git-send-email-alex.hung@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 14/07/16 08:57, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@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)." }, > Acked-by: Colin Ian King <colin.king@canonical.com>
On 2016年07月14日 15:57, Alex Hung wrote: > Signed-off-by: Alex Hung <alex.hung@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)." }, > Acked-by: Ivan Hu <ivan.hu@canonical.com>
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)." },
Signed-off-by: Alex Hung <alex.hung@canonical.com> --- src/acpi/method/method.c | 8 ++++++++ 1 file changed, 8 insertions(+)