Page MenuHomeFreeBSD

Add 0xb OR opcode support to bhyve's instruction emulation
ClosedPublic

Authored by grehan on Oct 30 2017, 7:17 AM.

Details

Summary

The FreeBSD HDA code uses the 0xb variant of OR when accessing
device registers. Add this emulation, using the pattern of
existing OR code.

Test Plan

Run the HDA emulation patch with a FreeBSD 11.1 guest, and cat a .wav
file to /dev/dsp.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

grehan created this revision.Oct 30 2017, 7:17 AM
araujo accepted this revision as: araujo.Oct 30 2017, 7:28 AM
araujo added a subscriber: araujo.

LGTM!

This revision is now accepted and ready to land.Oct 30 2017, 7:28 AM
This revision was automatically updated to reflect the committed changes.