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

[rom, rom_ext] Re-arrange retention RAM #21343

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

cfrantz
Copy link
Contributor

@cfrantz cfrantz commented Feb 13, 2024

Re-arrange the retention RAM as discussed in the SW WG meeting on 2024-02-13:

Locate the boot_svc message first, followed by reserved space, followed by the boot_log and last_shutdown_reason. This arrangement allows us to grow the boot_svc message (growing "down" into the reserved space) if needed and to add additional fields at the end (growing "up" into the reserved space).

@cfrantz cfrantz requested a review from a team as a code owner February 13, 2024 17:38
* - We can resize boot_svc without affecting the upper half of the struct.
* The remaining space is reserved for future use.
*
* We Are locating the boot_svc at the beginning and the rest of the members
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: We Are

@cfrantz cfrantz force-pushed the retention_ram branch 2 times, most recently from 2828c74 to 09fe164 Compare February 20, 2024 17:09
Re-arrange the retention RAM as discussed in the SW WG meeting on
2024-02-13:

Locate the boot_svc message first, followed by reserved space, followed
by the boot_log and last_shutdown_reason. This arrangement allows us
to grow the boot_svc message (growing "down" into the reserved space)
if needed and to add additional fields at the end (growing "up" into
the reserved space).

Also: name the ASCII code for boot log as `BLOG` instead of `BOLG`.

Signed-off-by: Chris Frantz <[email protected]>
@cfrantz cfrantz merged commit 51a64d6 into lowRISC:earlgrey_es_sival Feb 21, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants