summaryrefslogtreecommitdiff
path: root/Include/Protocol/Emul6064Trap.h
blob: 011458a1395ef3a6a29d41a613e8d984f3f7664e (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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
//****************************************************************************
//****************************************************************************
//**                                                                        **
//**             (C)Copyright 1985-2010, American Megatrends, Inc.          **
//**                                                                        **
//**                          All Rights Reserved.                          **
//**                                                                        **
//**              5555 Oakbrook Pkwy, Suite 200 Norcross, GA 30093          **
//**                                                                        **
//**                          Phone (770)-246-8600                          **
//**                                                                        **
//****************************************************************************
//****************************************************************************

//****************************************************************************
// $Header: /Alaska/SOURCE/Modules/USB/ALASKA/Protocol/Emul6064Trap.h 5     4/04/11 5:34a Ryanchou $
//
// $Revision: 5 $
//
// $Date: 4/04/11 5:34a $
//
//****************************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/USB/ALASKA/Protocol/Emul6064Trap.h $
// 
// 5     4/04/11 5:34a Ryanchou
// [TAG]  		EIP57534
// [Category]  	Bug Fix
// [Severity]  	Minor
// [Symptom]  	BIOS rom image build process may stopped with error.
// [RootCause]  	Has unnecessary semi-colon (;).
// [Solution]  	Remove the unnecessary semi-colon.
// [Files]  		Emul6064Trap.h
// 
// 4     7/08/10 2:22a Rameshr
// Ohci Emulation support Added.
// EIP 39712
// 
// 3     6/28/10 5:24p Olegi
// EIP22197: Corrected headers/footers.
// 
// 2     2/04/09 12:48p Olegi
// Added NONSMMEMUL6064TRAP definitions.
// 
// 1     12/17/07 2:46p Olegi
//****************************************************************************

//<AMI_FHDR_START>
//----------------------------------------------------------------------------
//
//  Name:           Emul6064Trap.h
//
//  Description:    Protocol used for 6064 port trapping
//
//----------------------------------------------------------------------------
//<AMI_FHDR_END>


#ifndef _EMUL6064TRAP_PROTOCOL_H_
#define _EMUL6064TRAP_PROTOCOL_H_

EFI_FORWARD_DECLARATION (EFI_EMUL6064TRAP_PROTOCOL);

#define EFI_EMUL6064TRAP_PROTOCOL_GUID \
    { 0x6ea0f71c, 0x614a, 0x437e, 0x8f, 0x49, 0x24, 0x3a, 0xd4, 0xe8, 0x32, 0x68 }

#define EFI_NONSMMEMUL6064TRAP_PROTOCOL_GUID \
    { 0x68b81e51, 0x2583, 0x4582, 0x95, 0xdb, 0xc5, 0x72, 0x32, 0x36, 0xc4, 0xf1 }

#define IRQ_SUPPORTED       0x0001		

typedef
BOOLEAN
(EFIAPI *EFI_EMUL6064TRAP_PROTOCOL_ENABLE) (
  IN EFI_EMUL6064TRAP_PROTOCOL           * This
  );

typedef
BOOLEAN
(EFIAPI *EFI_EMUL6064TRAP_PROTOCOL_DISABLE) (
  IN EFI_EMUL6064TRAP_PROTOCOL           * This
  );

typedef
UINT32
(EFIAPI *EFI_EMUL6064TRAP_PROTOCOL_FEATURE) (
  IN EFI_EMUL6064TRAP_PROTOCOL           * This
  );


typedef struct _EFI_EMUL6064TRAP_PROTOCOL {
    EFI_EMUL6064TRAP_PROTOCOL_ENABLE TrapEnable;
    EFI_EMUL6064TRAP_PROTOCOL_DISABLE TrapDisable;
    EFI_EMUL6064TRAP_PROTOCOL_FEATURE FeatureSupported;
} EFI_EMUL6064TRAP_PROTOCOL;

extern EFI_GUID gEmul6064TrapProtocolGuid;
extern EFI_GUID gNonSmmEmul6064TrapProtocolGuid;

#endif

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