XXX: Is the read from mfmsr required?
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
The mfmsr is required, because if you look at line 763/764 it's doing a mtmsr of (msr | PSL_POW). It *could* be replaced with the mfmsr() in each instance of the mtmsr (inline function and the asm), but that's redundant.
Comment Actions
I meant, is it required even in the non-AIM case (such that I would need to keep the mfmsr even for !AIM)? I'm assuming it isn't required for !AIM though based on your approval.
Comment Actions
It's not required in the !AIM case. This function won't even get called in the !AIM case. I think at some point we'll need to clean up that file and split the AIM and !AIM into their respective files.