-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel/task: Make sure stack frames are 16-byte-aligned
The x86-64 ABI requires 16b-aligned stack frames. Make sure every kernel/user task has a 16b-aligned kernel stack frame when control is transferred to its function entry point. Make sure user stack frames are always 16b-aligned as well. No functional change intended. The intent of this commit is to make clear that stack alignment is enforced and actively checked in debug builds. Signed-off-by: Peter Fang <[email protected]>
- Loading branch information
Showing
1 changed file
with
37 additions
and
17 deletions.
There are no files selected for viewing
This file contains 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