MdeModulePkg/NvmExpressDxe: Fix MS toolchain /Od 32bit build failure

Note NVME_ACQ & NVME_ASQ internal data structure are changed to make
build pass.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19632 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Feng Tian
2016-01-11 02:47:21 +00:00
committed by erictian
parent faf0f16cef
commit c592181266
3 changed files with 10 additions and 19 deletions

View File

@@ -109,18 +109,11 @@ typedef struct {
//
// 3.1.9 Offset 28h: ASQ - Admin Submission Queue Base Address
//
typedef struct {
UINT64 Rsvd1:12;
UINT64 Asqb:52; // Admin Submission Queue Base Address
} NVME_ASQ;
#define NVME_ASQ UINT64
//
// 3.1.10 Offset 30h: ACQ - Admin Completion Queue Base Address
//
typedef struct {
UINT64 Rsvd1:12;
UINT64 Acqb:52; // Admin Completion Queue Base Address
} NVME_ACQ;
#define NVME_ACQ UINT64
//
// 3.1.11 Offset (1000h + ((2y) * (4 << CAP.DSTRD))): SQyTDBL - Submission Queue y Tail Doorbell