edk2 icon indicating copy to clipboard operation
edk2 copied to clipboard

DynamicTablesPkg: AML code generation for IO resouce descriptor.

Open abdattar opened this issue 1 year ago • 5 comments

Add helper functions to generate AML resource data for I/O resource descriptor.

Cc: Pierre Gondois [email protected] Cc: Sami Mujawar [email protected]

Description

Provides an API to generate IO resource descriptor. This API can be used to generate AML code for IO resource descriptor.

  • [ ] Breaking change?
    • Breaking change - Does this PR cause a break in build or boot behavior?
    • Examples: Does it add a new library class or move a module to a different repo.
  • [ ] Impacts security?
    • Security - Does this PR have a direct security impact?
    • Examples: Crypto algorithm change or buffer overflow fix.
  • [ ] Includes tests?
    • Tests - Does this PR include any explicit test code?
    • Examples: Unit tests or integration tests.

How This Was Tested

Tested with downstream. Sample output: Name (_CRS, ResourceTemplate () // _CRS: Current Resource Settings { IO (Decode16, 0x0CA2, // Range Minimum 0x0CA4, // Range Maximum 0x00, // Alignment 0x02, // Length ) })

Integration Instructions

N/A

abdattar avatar Aug 07 '24 10:08 abdattar

@abdattar edk2 is now in hard feature freeze, see https://edk2.groups.io/g/announce/message/366 I think we can pick this up for merging after the release on 23rd Aug 2024.

samimujawar avatar Aug 13 '24 10:08 samimujawar

ooh I forgot its hard freeze :). Please merge once the "hard freeze" is lifted.

abdattar avatar Aug 13 '24 15:08 abdattar

Gentle reminder, please merge the changes.

abdattar avatar Aug 29 '24 02:08 abdattar

Hi @abdattar , github doesn't seem to manage to do the rebase, would it be possible to rebase your branch on top of master ?

pierregondois avatar Aug 29 '24 07:08 pierregondois

Done, rebased the branch to the master.

abdattar avatar Aug 29 '24 10:08 abdattar