serenity icon indicating copy to clipboard operation
serenity copied to clipboard

Kernel: Move linker variables definition to a header file

Open mhermier opened this issue 3 years ago • 1 comments

The 'linker.ld' file has to define special external variable to map the memory layout so that memory management works properly.

Move every definitions (and remove the one that seems to be broken) to a single header in an effort to unify definitions.

mhermier avatar Sep 23 '22 10:09 mhermier

I see 3 advantages:

  • Put the definition in one place (Don't repeat yourself)
  • Remove the bogus definitions (Remove bogus and unused code)
  • Enforce/documents that these definitions must exits for all supported platforms linkers scripts.

mhermier avatar Oct 17 '22 09:10 mhermier

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

stale[bot] avatar Nov 08 '22 05:11 stale[bot]

This pull request has been closed because it has not had recent activity. Feel free to re-open if you wish to still contribute these changes. Thank you for your contributions!

stale[bot] avatar Nov 15 '22 09:11 stale[bot]