summaryrefslogtreecommitdiff
path: root/Include/PPI/PeiGetUCtrl.h
blob: ce143abc73e9e462d2ee6793f12aaabead33f81a (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
//**********************************************************************
//**********************************************************************
//**                                                                  **
//**        (C)Copyright 1985-2006, American Megatrends, Inc.         **
//**                                                                  **
//**                       All Rights Reserved.                       **
//**                                                                  **
//**         5555 Oakbrook Pkwy, Suite 200, Norcross, GA 30093        **
//**                                                                  **
//**                       Phone: (770)-246-8600                      **
//**                                                                  **
//**********************************************************************
//**********************************************************************
//**********************************************************************
//
// $Header: /Alaska/SOURCE/Modules/USBRecovery/PeiGetUCtrl.h 3     7/10/08 6:34p Michaela $
//
// $Revision: 3 $
//
// $Date: 7/10/08 6:34p $
//
//**********************************************************************
// Revision History
// ----------------
// $Log: /Alaska/SOURCE/Modules/USBRecovery/PeiGetUCtrl.h $
// 
// 3     7/10/08 6:34p Michaela
// Updated to support OHCI controllers
//
// 2     9/22/06 12:25p Sivagarn
// - Included appropriate headers for flies and functions
// - Updated copyright messages
//
//*****************************************************************************

//<AMI_FHDR_START>
//----------------------------------------------------------------------------
//
// Name:        PeiGetUCtrl.H
//
// Description: This header file contains PPI information for the Get UHCI
//              controller PPI
//
//----------------------------------------------------------------------------
//<AMI_FHDR_END>

#ifndef __PEIGETUCTRL__H__
#define __PEIGETUCTRL__H__
#ifdef __cplusplus
extern "C" {
#endif

// {C12DAA49-A061-47fc-955E-EAE34513511D}
#define EFI_PEI_GET_UHCI_CTRLER_GUID \
    {0x3bc1f6de, 0x693e, 0x4547, 0xa3, 0x0, 0x21, 0x82, 0x3c, 0xa4, 0x20,\
     0xb2}


typedef struct _EFI_PEI_USB_CONTROLLER_PPI EFI_PEI_USB_CONTROLLER_PPI;

#define PEI_UHCI_CONTROLLER  0x01
#define PEI_OHCI_CONTROLLER  0x02

typedef EFI_STATUS (EFIAPI * EFI_PEI_GET_UHCI_CTRLER)(
    IN EFI_PEI_SERVICES           **PeiServices,
    IN EFI_PEI_USB_CONTROLLER_PPI *This,
    IN UINT8                      UsbControllerId,
    IN UINTN                      *ControllerType,
    IN UINTN                      *IoBaseAddress
);

struct _EFI_PEI_USB_CONTROLLER_PPI
{
    EFI_PEI_GET_UHCI_CTRLER GetUhciControllerPpi;
};

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

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