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)
Fri, Apr 26, 6:38 AM
Unknown Object (File)
Fri, Apr 26, 6:24 AM
Unknown Object (File)
Dec 23 2023, 6:12 AM
Unknown Object (File)
Dec 23 2023, 5:42 AM
Unknown Object (File)
Dec 20 2023, 12:18 AM
Unknown Object (File)
Oct 9 2023, 1:26 PM
Unknown Object (File)
Aug 18 2023, 8:41 AM
Unknown Object (File)
Jul 25 2023, 8:58 AM

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.