> -----Original Message----- > From: zhoucheng <zhouch...@phytium.com.cn> > Sent: Thursday, August 19, 2021 3:31 PM > To: devel@edk2.groups.io > Cc: Ni, Ray <ray...@intel.com>; Wu, Hao A <hao.a...@intel.com>; Liming > Gao <gaolim...@byosoft.com.cn> > Subject: [PATCH v1 2/2] MdeModulePkg:Increase Nvme capacity display > > Displays the Nvme total capacity. > > Signed-off-by: Cheng Zhou <zhouch...@phytium.com.cn> > Reviewed-by: Hao A Wu <hao.a...@intel.com> > > Cc: Ray Ni <ray...@intel.com> > Cc: Hao A Wu <hao.a...@intel.com> > Cc: Liming Gao <gaolim...@byosoft.com.cn> > --- > MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > index 95f8b18bc4f8..450d372b2faa 100644 > --- a/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > +++ b/MdeModulePkg/Bus/Pci/NvmExpressDxe/NvmExpressHci.c > @@ -931,6 +931,8 @@ NvmeControllerInit ( > DEBUG ((EFI_D_INFO, " SN : %a\n", Sn)); > DEBUG ((EFI_D_INFO, " MN : %a\n", Mn)); > DEBUG ((EFI_D_INFO, " FR : 0x%x\n", *((UINT64*)Private- > >ControllerData->Fr))); > + DEBUG ((DEBUG_INFO, " TNVMCAP (high 8-byte) : 0x%lx\n", > *((UINT64*)(Private->ControllerData->Tnvmcap + 8)))); > + DEBUG ((DEBUG_INFO, " TNVMCAP (low 8-byte) : 0x%lx\n", > *((UINT64*)Private->ControllerData->Tnvmcap)));
Reviewed-by: Hao A Wu <hao.a...@intel.com> Best Regards, Hao Wu > DEBUG ((EFI_D_INFO, " RAB : 0x%x\n", > Private->ControllerData->Rab)); > DEBUG ((EFI_D_INFO, " IEEE : 0x%x\n", *(UINT32*)Private- > >ControllerData->Ieee_oui)); > DEBUG ((EFI_D_INFO, " AERL : 0x%x\n", Private->ControllerData- > >Aerl)); > -- > 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#79622): https://edk2.groups.io/g/devel/message/79622 Mute This Topic: https://groups.io/mt/84992872/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-