In preparation for adding the networking protocol definitions, add the service binding protocol.

This commit is contained in:
croxon 2013-05-02 13:16:30 -04:00
parent acea2e9ad8
commit 2aa8482961
2 changed files with 28 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-05-02 Nigel Croxon <nigel.croxon@hp.com>
* Chnage from Matt Fleming <matt.fleming@intel.com>
- Preparation for adding the networking protocol definitions.
Add the service binding protocol.
2013-02-21 Nigel Croxon <nigel.croxon@hp.com>
* Change from Peter Jones <pjones@redhat.com>
- Previously we were incorrectly passing 3 functions with

View File

@ -635,8 +635,7 @@ EFI_STATUS
(EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE) (
IN EFI_GRAPHICS_OUTPUT_PROTOCOL *This,
IN UINT32 ModeNumber
)
;
);
typedef struct {
UINT8 Blue;
@ -732,5 +731,27 @@ struct _EFI_GRAPHICS_OUTPUT_PROTOCOL {
EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT Blt;
EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE *Mode;
};
INTERFACE_DECL(_EFI_SERVICE_BINDING);
typedef
EFI_STATUS
(EFIAPI *EFI_SERVICE_BINDING_CREATE_CHILD) (
IN struct _EFI_SERVICE_BINDING *This,
IN EFI_HANDLE *ChildHandle
);
typedef
EFI_STATUS
(EFIAPI *EFI_SERVICE_BINDING_DESTROY_CHILD) (
IN struct _EFI_SERVICE_BINDING *This,
IN EFI_HANDLE ChildHandle
);
typedef struct _EFI_SERVICE_BINDING {
EFI_SERVICE_BINDING_CREATE_CHILD CreateChild;
EFI_SERVICE_BINDING_DESTROY_CHILD DestroyChild;
} EFI_SERVICE_BINDING;
#endif