Skip to content

Commit 4846625

Browse files
ikegami-tigaw
authored andcommitted
test: add CSTS.ST, CAP.CPS and CAP.NSSS registers
Added by NVMe revision 2.0 changes. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent c7fd6fb commit 4846625

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

test/register.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,13 @@ void nvme_print_registers(void *regs)
7979
printf(" %-8s : %llx\n", "NSSRC", NVME_CAP_NSSRC(cap));
8080
printf(" %-8s : %llx\n", "CSS", NVME_CAP_CSS(cap));
8181
printf(" %-8s : %llx\n", "BPS", NVME_CAP_BPS(cap));
82+
printf(" %-8s : %llx\n", "CPS", NVME_CAP_CPS(cap));
8283
printf(" %-8s : %llx\n", "MPSMIN", NVME_CAP_MPSMIN(cap));
8384
printf(" %-8s : %llx\n", "MPSMAX", NVME_CAP_MPSMAX(cap));
84-
printf(" %-8s : %llx\n", "CMBS", NVME_CAP_CMBS(cap));
8585
printf(" %-8s : %llx\n", "PMRS", NVME_CAP_PMRS(cap));
86+
printf(" %-8s : %llx\n", "CMBS", NVME_CAP_CMBS(cap));
87+
printf(" %-8s : %llx\n", "NSSS", NVME_CAP_NSSS(cap));
88+
printf(" %-8s : %llx\n", "CRMS", NVME_CAP_CRMS(cap));
8689

8790
printf("%-10s : %x\n", "VS", vs);
8891
printf(" %-8s : %x\n", "MJR", NVME_VS_TER(vs));
@@ -107,6 +110,7 @@ void nvme_print_registers(void *regs)
107110
printf(" %-8s : %x\n", "SHST", NVME_CSTS_SHST(csts));
108111
printf(" %-8s : %x\n", "NSSRO", NVME_CSTS_NSSRO(csts));
109112
printf(" %-8s : %x\n", "PP", NVME_CSTS_PP(csts));
113+
printf(" %-8s : %x\n", "ST", NVME_CSTS_ST(csts));
110114

111115
printf("%-10s : %x\n", "NSSR", nssr);
112116

0 commit comments

Comments
 (0)