Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cleanup AdvLogger After Buffer Offset Change #474

Closed
1 task done
os-d opened this issue Apr 27, 2024 · 2 comments
Closed
1 task done

[Bug]: Cleanup AdvLogger After Buffer Offset Change #474

os-d opened this issue Apr 27, 2024 · 2 comments
Assignees
Labels
state:needs-triage Needs to triaged to determine next steps state:stale Has not been updated in a long time type:bug Something isn't working urgency:medium Important with a moderate impact

Comments

@os-d
Copy link
Contributor

os-d commented Apr 27, 2024

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

The existing AdvLogger code relies on using pointers to access a lot of AdvLogger fields, however with the new offsets, this is no longer necessary. Each library can be cleaned up to use the offsets in a more sane manner.

Expected Behavior

See above.

Steps To Reproduce

code

Build Environment

- OS(s):
- Tool Chain(s):
- Targets Impacted:
all

Version Information

top of tree

Urgency

Medium

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

No response

@os-d os-d added type:bug Something isn't working state:needs-triage Needs to triaged to determine next steps labels Apr 27, 2024
@os-d os-d self-assigned this Apr 27, 2024
@github-actions github-actions bot added urgency:medium Important with a moderate impact labels Apr 27, 2024
os-d added a commit that referenced this issue May 13, 2024
## Description

Fix an error made in the AdvLogger v5 PR (#471). This is the same fix
(but for a different variable name which is why it was mixed on the last
fix up) as #483.

Usage of mHighAddress (and mMaxAddress) will be evaluated as part of
issue #474.

- [x] Impacts functionality?
- **Functionality** - Does the change ultimately impact how firmware
functions?
- Examples: Add a new library, publish a new PPI, update an algorithm,
...
- [ ] Impacts security?
- **Security** - Does the change have a direct security impact on an
application,
    flow, or firmware?
  - Examples: Crypto algorithm change, buffer overflow fix, parameter
    validation improvement, ...
- [ ] Breaking change?
- **Breaking change** - Will anyone consuming this change experience a
break
    in build or boot behavior?
- Examples: Add a new library class, move a module to a different repo,
call
    a function in a new library class in a pre-existing module, ...
- [ ] Includes tests?
  - **Tests** - Does the change include any explicit test code?
  - Examples: Unit tests, integration tests, robot tests, ...
- [ ] Includes documentation?
- **Documentation** - Does the change contain explicit documentation
additions
    outside direct code modifications (and comments)?
- Examples: Update readme file, add feature readme file, link to
documentation
    on an a separate Web page, ...

## How This Was Tested

Tested on Q35, LineParserTestApp was failing because of this.

## Integration Instructions

N/A for a platform. For the next Mu integration, this should be combined
with the Advanced Logger v5 commit
be9a3d2.
Copy link

This issue has been automatically marked as stale because it has not had activity in 45 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions.

@github-actions github-actions bot added the state:stale Has not been updated in a long time label Jun 11, 2024
Copy link

This issue has been automatically been closed because it did not have any activity in 45 days and no follow up within 7 days after being marked stale. Thank you for your contributions.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:needs-triage Needs to triaged to determine next steps state:stale Has not been updated in a long time type:bug Something isn't working urgency:medium Important with a moderate impact
Projects
None yet
Development

No branches or pull requests

1 participant