<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/ShellPkg/Library/UefiShellAcpiViewCommandLib, branch dependabot/github_actions/github/codeql-action-4.39.1</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.1</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.1'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-25T14:49:14+00:00</updated>
<entry>
<title>ShellPkg/AcpiView: Add parser for BERT ACPI table</title>
<updated>2026-09-25T14:49:14+00:00</updated>
<author>
<name>Amrathesh</name>
<email>amrathesh@arm.com</email>
</author>
<published>2026-09-04T08:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e3384fd3082fbd2c793f030ebcc20c17208f8964'/>
<id>urn:sha1:e3384fd3082fbd2c793f030ebcc20c17208f8964</id>
<content type='text'>
The Boot Error Record Table (BERT) identifies a Boot Error Region
containing platform error records produced during a previous boot.

Extend AcpiView to display and validate BERT table fields. Validate
the Boot Error Region length and address, and that the entire region
is reported as EfiReservedMemoryType in the UEFI memory map.

Signed-off-by: Amrathesh &lt;amrathesh@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Remove redundant -? handling from shell commands</title>
<updated>2026-09-16T14:27:54+00:00</updated>
<author>
<name>Pierre Gondois</name>
<email>pierre.gondois@arm.com</email>
</author>
<published>2026-06-04T19:56:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6ac4aa8c1004bbba0d4bb0d80f9ef945b4df0de2'/>
<id>urn:sha1:6ac4aa8c1004bbba0d4bb0d80f9ef945b4df0de2</id>
<content type='text'>
Drop per-command checks for the -? help flag in shell command
implementations that already rely on the common command-line parsing
and help dispatch path.

Signed-off-by: Pierre Gondois &lt;pierre.gondois@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: AcpiView: add support for GICv5 IORT table</title>
<updated>2026-09-15T10:12:13+00:00</updated>
<author>
<name>Signed-off-by: Sarah Walker</name>
<email>Sarah.Walker2@arm.com</email>
</author>
<published>2026-06-29T12:48:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=0dc3c2865cf5c8e1a582ae78c0371d25cf7f7c02'/>
<id>urn:sha1:0dc3c2865cf5c8e1a582ae78c0371d25cf7f7c02</id>
<content type='text'>
Add support for printing GICv5-related fields with acpiview
in the IORT table.

Signed-off-by: Sarah Walker &lt;Sarah.Walker2@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: AcpiView: add support for GICv5 SRAT table</title>
<updated>2026-09-15T10:12:13+00:00</updated>
<author>
<name>Sarah Walker</name>
<email>Sarah.Walker2@arm.com</email>
</author>
<published>2026-06-29T12:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=36927430c39dc9236f121f53ede249a33d7342ba'/>
<id>urn:sha1:36927430c39dc9236f121f53ede249a33d7342ba</id>
<content type='text'>
Add support for printing GICv5-related fields with acpiview
in the SRAT table.

Signed-off-by: Sarah Walker &lt;Sarah.Walker2@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: AcpiView: add support for GICv5 MADT table</title>
<updated>2026-09-15T10:12:13+00:00</updated>
<author>
<name>Sarah Walker</name>
<email>Sarah.Walker2@arm.com</email>
</author>
<published>2026-06-29T12:45:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ce755c8f1bb408f3a640a48903cd250371efdbb0'/>
<id>urn:sha1:ce755c8f1bb408f3a640a48903cd250371efdbb0</id>
<content type='text'>
Add support for printing GICv5-related fields with acpiview
in the MADT table.

Signed-off-by: Sarah Walker &lt;Sarah.Walker2@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/AcpiView: Add parser for CCEL ACPI table</title>
<updated>2026-07-03T12:24:39+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2025-05-14T12:26:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a70c8729668f30de067f4b9db2e69baba283856e'/>
<id>urn:sha1:a70c8729668f30de067f4b9db2e69baba283856e</id>
<content type='text'>
The ACPI 6.5 specification introduces the CCEL (CC Event Log) table
in section 5.2.34:
https://uefi.org/specs/ACPI/6.5/
05_ACPI_Software_Programming_Model.html#cc-event-log-acpi-table

Extend AcpiView with a parser to decode and display CCEL table
contents. This allows users to inspect CCEL tables from the UEFI
Shell.

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Acpiview: Make reserved-field validation common</title>
<updated>2026-07-03T12:24:39+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2026-05-15T15:40:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f47d5291b99095d6f01f35f18fe7f4d0c276464f'/>
<id>urn:sha1:f47d5291b99095d6f01f35f18fe7f4d0c276464f</id>
<content type='text'>
Move the reserved-field validators from MpamParser.c into AcpiParser.c
and expose them through AcpiParser.h so they can be reused by multiple
Acpiview parsers.

Update the AGDI, MPAM and WSMT parsers to use the common helpers for
byte-length and bit-length reserved fields.

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Acpiview: Increase the max supported parsers</title>
<updated>2026-07-03T12:24:39+00:00</updated>
<author>
<name>Sami Mujawar</name>
<email>sami.mujawar@arm.com</email>
</author>
<published>2026-04-30T14:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ec44a71ba711b326be4f1d0e370a0d67668cdfa8'/>
<id>urn:sha1:ec44a71ba711b326be4f1d0e370a0d67668cdfa8</id>
<content type='text'>
The RegisterParser() function is failing with error code
EFI_OUT_OF_RESOURCES as we have run out of space for
registering the ACPI table parsers in mTableParserList[].

Therefore, increase the MAX_ACPI_TABLE_PARSERS to 128.

Signed-off-by: Sami Mujawar &lt;sami.mujawar@arm.com&gt;
</content>
</entry>
<entry>
<title>ShellPkg: Replace manual alignment checks with helper macros</title>
<updated>2026-06-09T07:20:10+00:00</updated>
<author>
<name>Mingjie Shen</name>
<email>shen497@purdue.edu</email>
</author>
<published>2026-05-14T02:19:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=018240c27833b44dba5676cf3df9f328c31adda4'/>
<id>urn:sha1:018240c27833b44dba5676cf3df9f328c31adda4</id>
<content type='text'>
Replace manual alignment checks with IS_ALIGNED() and
ADDRESS_IS_ALIGNED().

Convert the following bitmask and modulo forms:

- ((E &amp; ((PowOf2Expr) - ONE)) == ZERO)
- ((E &amp; ((PowOf2Expr) - ONE)) != ZERO)
- ((E % (PowOf2Expr)) == ZERO)
- ((E % (PowOf2Expr)) != ZERO)

to the corresponding helper macro forms:

+ IS_ALIGNED (E, PowOf2Expr)
+ !IS_ALIGNED (E, PowOf2Expr)

PowOf2Expr is limited to known power-of-two expressions, including
SIZE_* and BASE_* macros, EFI_PAGE_SIZE, CPU_STACK_ALIGNMENT,
RUNTIME_PAGE_ALLOCATION_GRANULARITY, sizeof() of UEFI integer types
(e.g. BOOLEAN, CHAR16, UINT32, UINTN) and pointer types, and 1 &lt;&lt; E1
expressions.

Address checks that cast the checked value to UINTN are written with
ADDRESS_IS_ALIGNED().

The change was generated with the Coccinelle semantic patch below.

```smpl
@power_of_2_expr@
expression PowOf2Expr;
expression E1;
typedef BOOLEAN, CHAR8, CHAR16, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, INTN, UINTN;
type ScalarType = { BOOLEAN, CHAR8, CHAR16, INT8, UINT8, INT16, UINT16, INT32, UINT32, INT64, UINT64, INTN, UINTN };
type AnyType;
type PointerType = AnyType *;
idexpression ScalarType ScalarValue;
idexpression PointerType PointerValue;
constant SizeBase =~ "^(SIZE|BASE)_(1|2|4|8|16|32|64|128|256|512)[KMGTPE]B$";
constant NamedPowerOf2 =~ "^(EFI_PAGE_SIZE|CPU_STACK_ALIGNMENT|RUNTIME_PAGE_ALLOCATION_GRANULARITY)$";
constant ONE = {1, 1U, 1u};
@@
(
(
  SizeBase
|
  NamedPowerOf2
|
  ONE &lt;&lt; E1
|
  sizeof (ScalarType)
|
  sizeof (PointerType)
|
  sizeof (ScalarValue)
|
  sizeof (PointerValue)
)
&amp;
PowOf2Expr
)

@aligned depends on power_of_2_expr disable is_zero,isnt_zero@
expression E;
expression power_of_2_expr.PowOf2Expr;
constant ONE = {1, 1U, 1u};
constant ZERO = {0, 0U, 0u};
@@
(
  ((E &amp; (E - ONE)) == ZERO)
|
- ((E &amp; ((PowOf2Expr) - ONE)) == ZERO)
+ IS_ALIGNED (E, PowOf2Expr)
|
  ((E &amp; (E - ONE)) != ZERO)
|
- ((E &amp; ((PowOf2Expr) - ONE)) != ZERO)
+ !IS_ALIGNED (E, PowOf2Expr)
|
- ((E % (PowOf2Expr)) == ZERO)
+ IS_ALIGNED (E, PowOf2Expr)
|
- ((E % (PowOf2Expr)) != ZERO)
+ !IS_ALIGNED (E, PowOf2Expr)
)

@address_is_aligned@
typedef UINTN;
expression *Address;
expression Alignment;
@@
- IS_ALIGNED ((UINTN) Address, Alignment)
+ ADDRESS_IS_ALIGNED (Address, Alignment)

@normalize_aligned disable paren expression@
expression E, SZ;
@@
(
- (IS_ALIGNED (E, SZ))
+ IS_ALIGNED (E, SZ)
|
- (!IS_ALIGNED (E, SZ))
+ !IS_ALIGNED (E, SZ)
)

@normalize_macro_args disable paren expression@
expression E, SZ;
@@
(
- IS_ALIGNED ((E), SZ)
+ IS_ALIGNED (E, SZ)
|
- IS_ALIGNED (E, (SZ))
+ IS_ALIGNED (E, SZ)
)
```

Signed-off-by: Mingjie Shen &lt;shen497@purdue.edu&gt;
</content>
</entry>
<entry>
<title>ShellPkg/Acpiview: Refactor EINJ table parser validation</title>
<updated>2026-06-03T06:16:13+00:00</updated>
<author>
<name>Simon Wang</name>
<email>simowang@nvidia.com</email>
</author>
<published>2026-05-23T04:56:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2816ff0ab0d6505bf580aa8eec02cc2b89f04230'/>
<id>urn:sha1:2816ff0ab0d6505bf580aa8eec02cc2b89f04230</id>
<content type='text'>
ACPI defines Injection Header Size as the length of the EINJ
injection header, not necessarily the absolute offset of the
instruction entries. Update parser validation to use the correct
entry offset calculation and accept the layout used by Linux and
existing firmware tables.

Signed-off-by: Simon Wang &lt;simowang@nvidia.com&gt;
</content>
</entry>
</feed>
