Page MenuHomeFreeBSD

Fix ARM64 stack calculation
ClosedPublic

Authored by wma_semihalf.com on Jul 16 2015, 8:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 8:49 PM
Unknown Object (File)
Thu, Nov 28, 8:06 PM
Unknown Object (File)
Sep 29 2024, 6:15 AM
Unknown Object (File)
Sep 29 2024, 6:15 AM
Unknown Object (File)
Sep 29 2024, 6:15 AM
Unknown Object (File)
Sep 29 2024, 6:15 AM
Unknown Object (File)
Sep 29 2024, 6:05 AM
Unknown Object (File)
Sep 24 2024, 8:49 PM

Details

Summary
Fixes in locore.s:
 - opt_kstack_pages.h include was added to ensure the proper
   KSTACK_PAGES value is used
 - secondary stack calculation is modified to provide
   stack_top = secondary_stacks + (cpu_id)*PAGE_SIZE*KSTACK_PAGES
   because on ARMv8 the stack grows into lower memory addresses

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wma_semihalf.com retitled this revision from to Fix ARM64 stack calculation.
wma_semihalf.com updated this object.
wma_semihalf.com edited the test plan for this revision. (Show Details)
wma_semihalf.com set the repository for this revision to rS FreeBSD src repository - subversion.
wma_semihalf.com added a subscriber: freebsd-arm-list.
zbb edited edge metadata.
This revision is now accepted and ready to land.Jul 17 2015, 9:52 AM
This revision was automatically updated to reflect the committed changes.