bmarcot / vega

vega -- The Unix-like Operating System for micro-controllers (ARM Cortex-M4)
6 stars 1 forks source link

Reclaim physical memory used by the early stack #2

Closed bmarcot closed 8 years ago

bmarcot commented 8 years ago

What? An early stack is used after power-up and during bootstrap of the cpu and kernel. Physical memory for that stack is reserved in the linker script. This stack is not used after the system booted, because each thread in the system has it's own kernel stack. The physical memory that was reserved for that purpose could be reclaimed then.

Why? That's 1KiB of RAM.

bmarcot commented 8 years ago

Fixed in devel branch 4a3ce20.

bmarcot commented 8 years ago

See comment above.