diff mbox

acpi: acpidump: Add stub for MPST

Message ID 1342809055-14962-1-git-send-email-colin.king@canonical.com
State Accepted
Headers show

Commit Message

Colin Ian King July 20, 2012, 6:30 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

MPST is a non-trivial table and should be dumped out in an
annotated form at some point, however, there is no demand
for this at the moment so just add a place holder for this
table at the moment.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 src/acpi/acpidump/acpidump.c |    2 ++
 1 file changed, 2 insertions(+)

Comments

Keng-Yu Lin July 23, 2012, 6:14 a.m. UTC | #1
On Sat, Jul 21, 2012 at 2:30 AM, Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> MPST is a non-trivial table and should be dumped out in an
> annotated form at some point, however, there is no demand
> for this at the moment so just add a place holder for this
> table at the moment.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  src/acpi/acpidump/acpidump.c |    2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/src/acpi/acpidump/acpidump.c b/src/acpi/acpidump/acpidump.c
> index 9b65703..636631a 100644
> --- a/src/acpi/acpidump/acpidump.c
> +++ b/src/acpi/acpidump/acpidump.c
> @@ -1603,6 +1603,7 @@ typedef struct {
>  #define acpidump_einj          acpi_dump_raw_table
>  #define acpidump_hest          acpi_dump_raw_table
>  #define acpidump_msct          acpi_dump_raw_table
> +#define acpidump_mpst          acpi_dump_raw_table
>
>  static acpidump_table_vec table_vec[] = {
>         { "APIC",       acpidump_madt,  1 },
> @@ -1623,6 +1624,7 @@ static acpidump_table_vec table_vec[] = {
>         { "HEST",       acpidump_hest,  1 },
>         { "HPET",       acpidump_hpet,  1 },
>         { "MCFG",       acpidump_mcfg,  1 },
> +       { "MPST",       acpidump_mpst,  1 },
>         { "MSCT",       acpidump_msct,  1 },
>         { "PSDT",       acpidump_amlcode, 1 },
>         { "RASF",       acpidump_rasf,  1 },
> --
> 1.7.10.4
>
Acked-by: Keng-Yu Lin <kengyu@canonical.com>
Ivan Hu July 24, 2012, 8:17 a.m. UTC | #2
On 07/21/2012 02:30 AM, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> MPST is a non-trivial table and should be dumped out in an
> annotated form at some point, however, there is no demand
> for this at the moment so just add a place holder for this
> table at the moment.
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>   src/acpi/acpidump/acpidump.c |    2 ++
>   1 file changed, 2 insertions(+)
>
> diff --git a/src/acpi/acpidump/acpidump.c b/src/acpi/acpidump/acpidump.c
> index 9b65703..636631a 100644
> --- a/src/acpi/acpidump/acpidump.c
> +++ b/src/acpi/acpidump/acpidump.c
> @@ -1603,6 +1603,7 @@ typedef struct {
>   #define acpidump_einj		acpi_dump_raw_table
>   #define acpidump_hest		acpi_dump_raw_table
>   #define acpidump_msct		acpi_dump_raw_table
> +#define acpidump_mpst		acpi_dump_raw_table
>
>   static acpidump_table_vec table_vec[] = {
>   	{ "APIC", 	acpidump_madt, 	1 },
> @@ -1623,6 +1624,7 @@ static acpidump_table_vec table_vec[] = {
>   	{ "HEST", 	acpidump_hest, 	1 },
>   	{ "HPET", 	acpidump_hpet, 	1 },
>   	{ "MCFG", 	acpidump_mcfg, 	1 },
> +	{ "MPST",	acpidump_mpst,  1 },
>   	{ "MSCT", 	acpidump_msct, 	1 },
>   	{ "PSDT", 	acpidump_amlcode, 1 },
>   	{ "RASF",	acpidump_rasf,	1 },
>

Acked-by: Ivan Hu <ivan.hu@canonical.com>
diff mbox

Patch

diff --git a/src/acpi/acpidump/acpidump.c b/src/acpi/acpidump/acpidump.c
index 9b65703..636631a 100644
--- a/src/acpi/acpidump/acpidump.c
+++ b/src/acpi/acpidump/acpidump.c
@@ -1603,6 +1603,7 @@  typedef struct {
 #define acpidump_einj		acpi_dump_raw_table
 #define acpidump_hest		acpi_dump_raw_table
 #define acpidump_msct		acpi_dump_raw_table
+#define acpidump_mpst		acpi_dump_raw_table
 
 static acpidump_table_vec table_vec[] = {
 	{ "APIC", 	acpidump_madt, 	1 },
@@ -1623,6 +1624,7 @@  static acpidump_table_vec table_vec[] = {
 	{ "HEST", 	acpidump_hest, 	1 },
 	{ "HPET", 	acpidump_hpet, 	1 },
 	{ "MCFG", 	acpidump_mcfg, 	1 },
+	{ "MPST",	acpidump_mpst,  1 },
 	{ "MSCT", 	acpidump_msct, 	1 },
 	{ "PSDT", 	acpidump_amlcode, 1 },
 	{ "RASF",	acpidump_rasf,	1 },