Page MenuHomeFreeBSD

Implement "special mask mode" in vatpic.
ClosedPublic

Authored by neel on Dec 27 2014, 4:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 12:02 AM
Unknown Object (File)
Nov 8 2023, 2:30 AM
Unknown Object (File)
Nov 5 2023, 2:12 PM
Unknown Object (File)
Oct 30 2023, 3:55 PM
Unknown Object (File)
Oct 7 2023, 1:27 AM
Unknown Object (File)
Oct 4 2023, 1:09 PM
Unknown Object (File)
Sep 30 2023, 1:11 PM
Unknown Object (File)
Sep 28 2023, 3:56 PM
Subscribers
None

Details

Reviewers
grehan
tychon
Summary

OpenBSD guests always enable "special mask mode" during boot. As a result of
r275952 this is flagged as an error and the guest cannot boot.

Fix this by implementing the 8259 "special mask mode".

Test Plan

Boot the OpenBSD/amd64 5.6 installer.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

neel retitled this revision from to Implement "special mask mode" in vatpic..
neel updated this object.
neel added reviewers: tychon, grehan.
neel edited the test plan for this revision. (Show Details)
sys/amd64/vmm/io/vatpic.c
166

, when a mask bit is set in OCW1 it

169

no bearing on the levels

397–400

Minor: should this just be 'atpic->smm = 1' to fit in with the bool-style usage of the variable ?

Address Peter's comments.

Addressed all issues raised in Peter's comments in the new diff.

Please review.

grehan edited edge metadata.
This revision is now accepted and ready to land.Dec 27 2014, 11:15 PM