summaryrefslogtreecommitdiff
path: root/Protocol/PcmciaRequest/PcmciaRequest.h
blob: fbead3e128cc1d6b4509cddc51fe90cc49eeebb7 (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
//
// This file contains 'Framework Code' and is licensed as such 
// under the terms of your license agreement with Intel or your
// vendor.  This file may not be modified, except as allowed by
// additional terms of your license agreement.                 
//
/*++

Copyright (c)  1999 - 2002 Intel Corporation. All rights reserved
This software and associated documentation (if any) is furnished
under a license and may only be used or copied in accordance
with the terms of the license. Except as permitted by such
license, no part of this software or documentation may be
reproduced, stored in a retrieval system, or transmitted in any
form or by any means without the express written consent of
Intel Corporation.


Module Name:

    PcmciaRequest.h
    
Abstract:

    EFI PCMCIA Request Protocol

Revision History

--*/

#ifndef _EFI_PCMCIA_REQUEST_H
#define _EFI_PCMCIA_REQUEST_H

//
// Global GUID for PCMCIA Request Protocol
//
#define EFI_PCMCIA_REQUEST_PROTOCOL_GUID \
  { \
    0xf238f47c, 0x1de9, 0x4e8b, 0x81, 0xb9, 0xcc, 0x92, 0x4e, 0x6b, 0x5b, 0xe5 \
  }

EFI_FORWARD_DECLARATION (EFI_PCMCIA_REQUEST_PROTOCOL);

//
// Prototypes for PCMCIA Request Protocol
//
typedef enum {
  EfiPCMCIARequestStart,
  EfiPCMCIARequestStop,
  EfiPCMCIARequestStatusChange
} EFI_PCMCIA_OPERATION;

typedef
EFI_STATUS
(EFIAPI *EFI_PCMCIA_REQUEST_NOTIFY) (
  IN EFI_PCMCIA_REQUEST_PROTOCOL                * This,
  IN     EFI_PCMCIA_OPERATION                   Operation,
  IN     EFI_HANDLE                             SocketHandle,
  IN     EFI_DEVICE_PATH_PROTOCOL               * RemainingDevicePath OPTIONAL,
  IN OUT UINT8                                  *NumberOfChildren,
  IN OUT EFI_HANDLE                             * ChildHandleBuffer
  );

typedef struct _EFI_PCMCIA_REQUEST_PROTOCOL {

  EFI_PCMCIA_REQUEST_NOTIFY Notify;

} EFI_PCMCIA_REQUEST_PROTOCOL;

extern EFI_GUID gEfiPcmciaRequestProtocolGuid;

#endif