Эх сурвалжийг харах

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

croxon 12 жил өмнө
parent
commit
2aa8482961

+ 5 - 0
gnu-efi-3.0/ChangeLog

@@ -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

+ 23 - 2
gnu-efi-3.0/inc/efiprot.h

@@ -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