Repository navigation
Conversation
- avoids linker errors by building C applications
stlankes
requested review from
jbreitbart and
jounathaen
and removed request for
jounathaen
November 8, 2020 08:34
jbreitbart
approved these changes
Nov 9, 2020
jbreitbart
left a comment
Contributor
There was a problem hiding this comment.
The changes themselves look fine for me, but I think comments that explain the memory layout would be helpful to understand what you are actually doing in the init function 😉
This is more of a general question, but why do you use 10% as a fixed value for the amount of memory that is reserved for the stack? Is 10% guaranteed to be big enough to allocate the stacks required for at least 1 task?
Contributor
Author
|
I revise my changes and create smaller PR |
artyomevgrafov
pushed a commit
to artyomevgrafov/kernel
that referenced
this pull request
Nov 19, 2026
115: Bump x86 from 0.48.0 to 0.49.0 r=mkroening a=dependabot[bot] Bumps [x86](https://github.com/gz/rust-x86) from 0.48.0 to 0.49.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/gz/rust-x86/blob/master/CHANGELOG.md">x86's changelog</a>.</em></p> <blockquote> <h2>[0.49.0] - 2022-06-03</h2> <ul> <li>Removed <code>x86::its64::segmentation::fs_deref()</code>: Users should replace calls to <code>fs_deref</code> with the more general <code>x86::bits64::segmentation::fs_deref!</code> macro. <code>fs_deref!(0)</code> is equivalent to <code>fs_deref()</code>.</li> <li>Removed <code>x86::bits64::segmentation::gs_deref()</code>: Users should replace calls to <code>gs_deref</code> with the more general <code>x86::bits64::segmentation::gs_deref!</code> macro. <code>fs_deref!(0)</code> is equivalent to <code>fs_deref()</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/gz/rust-x86/commit/d8cbc9e028bb90f86814bae82275e81104e9d167"><code>d8cbc9e</code></a> Macros for fs/gs deref.</li> <li>See full diff in <a href="https://github.com/gz/rust-x86/compare/0.48.0...0.49.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> 116: Bump goblin from 0.5.1 to 0.5.2 r=mkroening a=dependabot[bot] Bumps [goblin](https://github.com/m4b/goblin) from 0.5.1 to 0.5.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/m4b/goblin/blob/master/CHANGELOG.md">goblin's changelog</a>.</em></p> <blockquote> <h2>[0.5.2] - 2022-6-5</h2> <h3>Fixed</h3> <p>elf: fix arithmetic overflows in <code>file_range()</code> and <code>vm_range()</code>, thanks <a href="https://github.com/alessandron"><code>`@alessandron</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/306">m4b/goblin#306</a> pe: fix string table containing empty strings, thanks <a href="https://github.com/track-5"><code>`@track-5</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/310">m4b/goblin#310</a> pe: remove check on debug directory size, thanks <a href="https://github.com/lzybkr"><code>`@lzybkr</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/313">m4b/goblin#313</a></p> <h3>Added</h3> <p>elf: expose more of programheader impl regardless of alloc feature flag, thanks <a href="https://github.com/dancrossnyc"><code>`@dancrossnyc</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/308">m4b/goblin#308</a> mach.parse: Handle DyldExportsTrie, thanks <a href="https://github.com/apalm"><code>`@apalm</code></a>:` <a href="https://github-redirect.dependabot.com/m4b/goblin/pull/303">m4b/goblin#303</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/m4b/goblin/commits/0.5.2">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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.
Uh oh!
There was an error while loading. Please reload this page.