To implement proper extension discovery, we need to specify a mechanism to identify the availability of XThead* extension in a system. This mechanism already exists with the th.sxstatus register's THEADISAEE bit. Let's document this CSR.
Other bits than THEADISAEE are either 0 or defined as WPRI. This allows to define them in other extensions (e.g. UCME is defined as part of XTheadCmo and MAEE is defined as part of XTheadMaee).
The th.sxstatus CSR is defined to be available on all system's with a mvendorid or 0x5B7.
To implement proper extension discovery, we need to specify a mechanism to identify the availability of XThead* extension in a system. This mechanism already exists with the th.sxstatus register's THEADISAEE bit. Let's document this CSR.
Other bits than THEADISAEE are either 0 or defined as WPRI. This allows to define them in other extensions (e.g. UCME is defined as part of XTheadCmo and MAEE is defined as part of XTheadMaee).
The th.sxstatus CSR is defined to be available on all system's with a mvendorid or 0x5B7.