summaryrefslogtreecommitdiff
path: root/Include/Protocol/AmiNvmePassThru.h
blob: 074a3d2e7e1db62197933d9b53cc9eb80edcba80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2014, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**         5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093     **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************
//**********************************************************************
// $Header: /Alaska/SOURCE/Modules/NVMe/Nvme Protocol/AmiNvmePassThru.h 1     9/04/14 8:02a Anandakrishnanl $
//
// $Revision: 1 $
//
// $Date: 9/04/14 8:02a $
//**********************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/NVMe/Nvme Protocol/AmiNvmePassThru.h $
// 
// 1     9/04/14 8:02a Anandakrishnanl
// [TAG]  		EIP180861
// [Category]  	Improvement
// [Description]  	Legacy Boot support in Aptio 4.x Nvme driver
// [Files]  		AmiNvmeProtocol.cif
// AmiNvmeController.h
// AmiNvmePassThru.h
// AmiNvmeLegacy.h
// 
//**********************************************************************
//**********************************************************************
//<AMI_FHDR_START>
//
// Name:        AmiNvmePassThru.h
//
// Description: Protocol Header file for the Nvme PassThru Protocol 
//
//<AMI_FHDR_END>
//**********************************************************************

#ifndef _NVME_PASSTHRU_PROTOCOL_H_
#define _NVME_PASSTHRU_PROTOCOL_H_

#ifdef __cplusplus
extern "C" {
#endif

#include <Protocol/AmiNvmeController.h>

typedef struct _AMI_NVME_PASS_THRU_PROTOCOL AMI_NVME_PASS_THRU_PROTOCOL;

typedef EFI_STATUS
(EFIAPI *AMI_NVME_PASS_THRU_EXECUTECMD)(
    IN  AMI_NVME_CONTROLLER_PROTOCOL    *NvmeController,
    IN  NVME_COMMAND_WRAPPER            *NvmeCmdWrapper,
    OUT COMPLETION_QUEUE_ENTRY          *CmdCompletionData
);

typedef struct _AMI_NVME_PASS_THRU_PROTOCOL {
    AMI_NVME_PASS_THRU_EXECUTECMD       ExecuteNvmeCmd;
} AMI_NVME_PASS_THRU_PROTOCOL;

extern EFI_GUID gAmiNvmePassThruProtocolGuid;

/****** DO NOT WRITE BELOW THIS LINE *******/
#ifdef __cplusplus
}
#endif

#endif

//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2014, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**         5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093     **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************