Page MenuHomeFreeBSD

amdiommu_create_dev_tbl(): eliminate magic '3'
AbandonedPublic

Authored by kib on Tue, Nov 26, 6:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 7:06 PM
Unknown Object (File)
Tue, Dec 3, 12:53 PM
Subscribers

Details

Reviewers
jah
Summary
in the calculation of the high dev table segment register index.
Use fixed array to translate index into the register number.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Oops, I didn't see this until after I wrote and tested my own version: https://reviews.freebsd.org/D47769

In D47768#1089266, @jah wrote:

Oops, I didn't see this until after I wrote and tested my own version: https://reviews.freebsd.org/D47769

Commit yours please, the actual fix is from you.