microsoft / mu_feature_mm_supv

Project Mu - Feature Repo - MM Supervisor
https://microsoft.github.io/mu
Other
46 stars 28 forks source link

Fix offset usage for aux file entries #264

Closed kuqin12 closed 5 months ago

kuqin12 commented 5 months ago

Preface

Please ensure you have read the contribution docs prior to submitting the pull request. In particular, pull request guidelines.

Description

The aux file header contains an offset to the first entry. But the current implementation will directly offset by the size of the header, which is incorrect assumption. This change fixed it by using the offset the correct way.

For each item, place an "x" in between [ and ] if true. Example: [x]. (you can also check items in the GitHub UI)

How This Was Tested

This is tested on QEMU Q35 and booted to UEFI shell.

Integration Instructions

N/A