diff options
author | Marc Jones <marcj303@gmail.com> | 2022-03-01 16:02:43 -0700 |
---|---|---|
committer | Marc Jones <marcj303@gmail.com> | 2022-03-25 12:08:02 -0600 |
commit | fc00da7aa878cf46b76735bde3952ac1e82bd944 (patch) | |
tree | 5dd434902f75714944906f2015e08cb209b83f15 /source/compiler | |
parent | 0914618b553d6f3366e568409cebf2656891ca69 (diff) | |
download | acpica-fc00da7aa878cf46b76735bde3952ac1e82bd944.tar.gz |
Add DMAR SATC structure to iasl
Add the DMAR SATC structure support from the
Intel ® Virtualization Technology for Directed I/O \
Architecture Specification, Rev. 3.4, Order Number: D51397-014
Test:
$ iasl -d dmar.dat -> dmar.dsl
$ iasl dmar.dsl -> dmar.aml
$ cmp dmar.dat dmar.dsl
Signed-off-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'source/compiler')
-rw-r--r-- | source/compiler/dttable1.c | 5 | ||||
-rw-r--r-- | source/compiler/dttemplate.h | 10 |
2 files changed, 11 insertions, 4 deletions
diff --git a/source/compiler/dttable1.c b/source/compiler/dttable1.c index 66348535e..cb7b7f4b8 100644 --- a/source/compiler/dttable1.c +++ b/source/compiler/dttable1.c @@ -1055,6 +1055,11 @@ DtCompileDmar ( InfoTable = AcpiDmTableInfoDmar4; break; + case ACPI_DMAR_TYPE_SATC: + + InfoTable = AcpiDmTableInfoDmar5; + break; + default: DtFatal (ASL_MSG_UNKNOWN_SUBTABLE, SubtableStart, "DMAR"); diff --git a/source/compiler/dttemplate.h b/source/compiler/dttemplate.h index 08c76f6cb..882d99c19 100644 --- a/source/compiler/dttemplate.h +++ b/source/compiler/dttemplate.h @@ -471,11 +471,11 @@ const unsigned char TemplateDbgp[] = const unsigned char TemplateDmar[] = { - 0x44,0x4D,0x41,0x52,0x8C,0x00,0x00,0x00, /* 00000000 "DMAR...." */ - 0x01,0x03,0x49,0x4E,0x54,0x45,0x4C,0x20, /* 00000008 "..INTEL " */ + 0x44,0x4D,0x41,0x52,0x9C,0x00,0x00,0x00, /* 00000000 "DMAR...." */ + 0x01,0xB8,0x49,0x4E,0x54,0x45,0x4C,0x20, /* 00000008 "..INTEL " */ 0x54,0x45,0x4D,0x50,0x4C,0x41,0x54,0x45, /* 00000010 "TEMPLATE" */ 0x01,0x00,0x00,0x00,0x49,0x4E,0x54,0x4C, /* 00000018 "....INTL" */ - 0x17,0x05,0x13,0x20,0x2F,0x01,0x00,0x00, /* 00000020 "... /..." */ + 0x17,0x12,0x21,0x20,0x2F,0x01,0x00,0x00, /* 00000020 "..! /..." */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000028 "........" */ 0x00,0x00,0x18,0x00,0x01,0x00,0x00,0x00, /* 00000030 "........" */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000038 "........" */ @@ -488,7 +488,9 @@ const unsigned char TemplateDmar[] = 0x02,0x08,0x00,0x00,0x00,0x00,0x00,0x03, /* 00000070 "........" */ 0x03,0x00,0x14,0x00,0x00,0x00,0x00,0x00, /* 00000078 "........" */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, /* 00000080 "........" */ - 0x00,0x00,0x00,0x00 /* 00000088 "...." */ + 0x00,0x00,0x00,0x00,0x05,0x00,0x10,0x00, /* 00000088 "........" */ + 0x00,0x00,0x00,0x00,0x01,0x08,0x00,0x00, /* 00000090 "........" */ + 0x00,0x00,0x00,0x02 /* 00000098 "...." */ }; const unsigned char TemplateDrtm[] = |