HomeFreeBSD

cam: Assert we have a reference when freeing sim

Description

cam: Assert we have a reference when freeing sim

Before we decrement refcount to sleep on the sim, assert that the
refcount >= 1. If it were 0 here, we'd never wake up.

Details

Provenance
impAuthored on
Parents
rS366503: Remove unused function cpu_boot()
Branches
Unknown
Tags
Unknown