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)
Nov 28 2024, 9:39 PM
Unknown Object (File)
Nov 22 2024, 5:30 PM
Unknown Object (File)
Nov 16 2024, 8:49 AM
Unknown Object (File)
Sep 30 2024, 8:12 PM
Unknown Object (File)
Sep 29 2024, 9:47 PM
Unknown Object (File)
Sep 12 2024, 1:19 AM
Unknown Object (File)
Sep 7 2024, 12:11 PM
Unknown Object (File)
Aug 31 2024, 1:31 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