HomeFreeBSD

Small fixes in locore.S

Description

Small fixes in locore.S

  • Properly set up the frame pointer
  • Hang if we return from mi_startup
  • Whitespace

Clearing the frame pointer marks the end of the backtrace. This fixes
"bt 0" in ddb, which previously would unwind one frame too far.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D26016

Details

Provenance
mhorneAuthored on
Reviewer
jhb
Differential Revision
D26016: Small fixes in locore.S
Parents
rS364191: Make bsd.linker.mk work with the MacOS linker
Branches
Unknown
Tags
Unknown