Repository navigation
efi_loader: drop the CTXR runtime-code allocation table - #36
Merged
Merged
Conversation
…ked for" This reverts commit faafafd. The table of allocations served a case nothing in the tree hits: nothing frees the start of a runtime code allocation and keeps the rest. It isn't worth 16 entries and about 60 lines. Freeing the start of such an allocation in the window frees its whole first 64 KiB block again, which the next commit documents as a limit. Signed-off-by: Diljit Singh <[email protected]>
Runtime code in the window comes in whole 64 KiB blocks, and a free rounds its end up to a block, so freeing the start of an allocation frees its whole first block. Replace the text that described the table the previous commit reverted. Signed-off-by: Diljit Singh <[email protected]>
13 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #32, which merged at
7e540a04d0. These two commits landed onfeat/ctxr-exec-windowafter the merge, so they aren't inaurora-wipyet.29ce27cfdfrevertsfaafafd67a, the 16-entry runtime-code allocation table. Nothing in the tree frees part of a runtime-code allocation, so it was code for a case that doesn't occur.7791f7a1d6documents the limit indoc/board/apple/m1.rst: freeing the start of a runtime-code allocation in the window frees its whole first 64 KiB block.Tested:
f6b1cbf1bc1. The rt-free scenario now expects the documented limit.u-boot-nodtb.binis sha2566de1f52ad92077f3145e455d6a9ebc31734144fc1097a411b5a0c1c6006abab9, byte-identical across two builds.Hardware:
50d879acbooted on the Neo with a 128 MiB window through GRUB (Ryan, linux#985). Everything after it, including this, has only run in QEMU.🤖 Generated with Claude Code