Re: [PATCH v2 1/1] x86/fred: Fix INT80 emulation for FRED

From: Xin Li
Date: Wed Apr 17 2024 - 02:52:09 EST


On 4/16/2024 11:33 AM, H. Peter Anvin wrote:
On 4/16/24 11:28, Borislav Petkov wrote:
On Tue, Apr 16, 2024 at 11:23:24AM -0700, H. Peter Anvin wrote:
(I think there is actually less than half the code left. This could be
further cleaned up by inlining the common code,

Yeah, was just thinking about that too. I'd say, though, let's let the
FRED code settle, we start using it and then we can always unify common
stuff later if it turns out that it won't diverge anymore.

Good plan.

This is a nice tip to me, because I did feel a bit of guilty that I didn't use an inline common function, although I didn't think that
is really necessary.

Thanks!
Xin