HomeFreeBSD

When fiddling with options of which registers to copy out for

Description

When fiddling with options of which registers to copy out for
a mailbox command and which registers to copy back in when
the command completes, the bits being set need to not only
specify what bits you want to add from the default from the
table but also what bits you want *subtract* (mask) from the
default from the table.

A failing ISP2200 command pointed this out.

Much appreciation to: marius, who persisted and narrowed down what
the failure delta was, and shamed me into actually fixing it.
MFC after: 1 week

Details

Provenance
Matt Jacob <mjacob@FreeBSD.org>Authored on Jul 13 2013, 9:24 PM
Parents
rG3c901a9040af: Create a proper stack frame for i386 version of bcopy(), despite the
Branches
Unknown
Tags
Unknown

Event Timeline