HomeFreeBSD

Fix thread0 kernel stack initialization on riscv.

Description

Fix thread0 kernel stack initialization on riscv.

  • td_kstack_pages was not being initialized.
  • td_kstack is supposed to be the base address of the stack region, not the top.

The arm ports seem to have similar problems and will be fixed next.

Reported by: Jenkins via lwhsu
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Oct 22 2019, 4:52 PM
Parents
rG5b87ecc64389: Assert that vnode_pager_setsize() is called with the vnode exclusively locked
Branches
Unknown
Tags
Unknown