Changeset 65f3117 in mainline for kernel/generic/include/config.h


Ignore:
Timestamp:
2023-02-25T13:16:38Z (14 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6188fee
Parents:
4f84ee42
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-14 13:38:14)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-02-25 13:16:38)
Message:

Make bootstrap stack statically, rather than dynamically allocated

With aligment requirements being part of the language now, it is
simple to allocate the extra stack area in kernel data, and we
don't need to go to so much trouble with manual allocation.
It also makes it slightly more straightforward to use the stack
from assembly, without having to dig through a saved context
structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/config.h

    r4f84ee42 r65f3117  
    8787        size_t kernel_size;
    8888
    89         /** Base adddress of initial stack. */
    90         uintptr_t stack_base;
    91         /** Size of initial stack. */
    92         size_t stack_size;
    93 
    9489        bool identity_configured;
    9590        /** Base address of the kernel identity mapped memory. */
Note: See TracChangeset for help on using the changeset viewer.