diff options
author | Toomas Soome <tsoome@me.com> | 2020-04-21 17:03:24 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2021-05-10 17:54:41 +0300 |
commit | 1ba081ee9f36cc673e86a7218c97c558c5b193e1 (patch) | |
tree | 0ee31538f554709c92b560b550b6da20e2b62353 /usr/src/common | |
parent | aec0cbfb50629fbd4e80cf64ed4d22f1bb36a1f0 (diff) | |
download | illumos-joyent-1ba081ee9f36cc673e86a7218c97c558c5b193e1.tar.gz |
13782 Add missing capabilities for SPARC T4
Reviewed by: Robert Mustacchi <rm@fingolfin.org>
Reviewed by: Igor Kozhukhov <igor@dilos.org>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/common')
-rw-r--r-- | usr/src/common/elfcap/elfcap.c | 65 | ||||
-rw-r--r-- | usr/src/common/elfcap/elfcap.h | 2 |
2 files changed, 66 insertions, 1 deletions
diff --git a/usr/src/common/elfcap/elfcap.c b/usr/src/common/elfcap/elfcap.c index 5a8a8cad67..ef9fb8d6b4 100644 --- a/usr/src/common/elfcap/elfcap.c +++ b/usr/src/common/elfcap/elfcap.c @@ -173,6 +173,71 @@ static const elfcap_desc_t hw1_sparc[ELFCAP_NUM_HW1_SPARC] = { AV_SPARC_ASI_CACHE_SPARING, STRDESC("AV_SPARC_ASI_CACHE_SPARING"), STRDESC("CSPARE"), STRDESC("cspare"), + }, + { /* 0x00020000 */ + AV_SPARC_PAUSE, + STRDESC("AV_SPARC_PAUSE"), + STRDESC("PAUSE"), STRDESC("pause"), + }, + { /* 0x00040000 */ + AV_SPARC_CBCOND, + STRDESC("AV_SPARC_CBCOND"), + STRDESC("CBCOND"), STRDESC("cbcond"), + }, + { /* 0x00080000 */ + AV_SPARC_AES, + STRDESC("AV_SPARC_AES"), + STRDESC("AES"), STRDESC("aes"), + }, + { /* 0x00100000 */ + AV_SPARC_DES, + STRDESC("AV_SPARC_DES"), + STRDESC("DES"), STRDESC("des"), + }, + { /* 0x00200000 */ + AV_SPARC_KASUMI, + STRDESC("AV_SPARC_KASUMI"), + STRDESC("KASUMI"), STRDESC("kasumi"), + }, + { /* 0x00400000 */ + AV_SPARC_CAMELLIA, + STRDESC("AV_SPARC_CAMELLIA"), + STRDESC("CAMELLIA"), STRDESC("camellia"), + }, + { /* 0x00800000 */ + AV_SPARC_MD5, + STRDESC("AV_SPARC_MD5"), + STRDESC("MD5"), STRDESC("md5"), + }, + { /* 0x01000000 */ + AV_SPARC_SHA1, + STRDESC("AV_SPARC_SHA1"), + STRDESC("SHA1"), STRDESC("sha1"), + }, + { /* 0x02000000 */ + AV_SPARC_SHA256, + STRDESC("AV_SPARC_SHA256"), + STRDESC("SHA256"), STRDESC("sha256"), + }, + { /* 0x04000000 */ + AV_SPARC_SHA512, + STRDESC("AV_SPARC_SHA512"), + STRDESC("SHA512"), STRDESC("sha512"), + }, + { /* 0x08000000 */ + AV_SPARC_MPMUL, + STRDESC("AV_SPARC_MPMUL"), + STRDESC("MPMUL"), STRDESC("mpmul"), + }, + { /* 0x10000000 */ + AV_SPARC_MONT, + STRDESC("AV_SPARC_MONT"), + STRDESC("MONT"), STRDESC("mont"), + }, + { /* 0x20000000 */ + AV_SPARC_CRC32C, + STRDESC("AV_SPARC_CRC32C"), + STRDESC("CRC32C"), STRDESC("crc32c"), } }; diff --git a/usr/src/common/elfcap/elfcap.h b/usr/src/common/elfcap/elfcap.h index 0dd442ee6b..0d508d02cc 100644 --- a/usr/src/common/elfcap/elfcap.h +++ b/usr/src/common/elfcap/elfcap.h @@ -113,7 +113,7 @@ typedef enum { * must be kept in sync with the arrays found in elfcap.c. */ #define ELFCAP_NUM_SF1 3 -#define ELFCAP_NUM_HW1_SPARC 17 +#define ELFCAP_NUM_HW1_SPARC 30 #define ELFCAP_NUM_HW1_386 32 #define ELFCAP_NUM_HW2_386 29 |