2 ms·
The ISA spec does indeed have a sane, easy to understand method. The rest is a software problem. I know that e.g. Linux exposes the required information about
by snvzz 3y ago
The ISA spec does indeed have a sane, easy to understand method.
The rest is a software problem. I know that e.g. Linux exposes the required information about the CPU's ISA via a dedicated syscall.
I do not know whether there's some ELF header or the like.
- camel-cdr 3y agoIt does? Isn't it read the device tree isa string, the csr bits for the most common things, or catch the trap on illegal instruction?