Re: [RFC PATCH 1/2] RISC-V: Mark existing SBI as legacy SBI.

From: hch@xxxxxxxxxxxxx
Date: Thu Aug 29 2019 - 06:56:21 EST


On Tue, Aug 27, 2019 at 08:37:27PM +0000, Atish Patra wrote:
> That would split the implementation between C file & assembly file for
> no good reason.
>
> How about moving everything in sbi.c and just write everything inline
> assembly there.

Well, if we implement it in pure assembly that would be the entire
implementation, wouldn't it?