On 11/29/24 12:44, Lloyd Parkes wrote:
Maybe make the _software_ interface between the kernel and the security co-processor look like virtio(4)? I'm going to guess that the virtio interface is designed to have a low overhead and high performance. It might even be machine independent meaning you only need to implement the ld(4) driver for the storage.
That is the current approach that the Nintendo 3DS fork of Linux uses. I could probably use their implementation of firm9 as a placeholder while porting the kernel.
https://github.com/linux-3ds/arm9linuxfw --- Paul W.