10#ifndef __EFI_TLS_DRIVER_H__
11#define __EFI_TLS_DRIVER_H__
23#define TLS_VERSION 0x00000000
25#define TLS_SERVICE_SIGNATURE SIGNATURE_32 ('T', 'L', 'S', 'S')
27#define TLS_INSTANCE_SIGNATURE SIGNATURE_32 ('T', 'L', 'S', 'I')
43 UINT16 TlsChildrenNum;
81#define TLS_SERVICE_FROM_THIS(a) \
82 CR (a, TLS_SERVICE, ServiceBinding, TLS_SERVICE_SIGNATURE)
84#define TLS_INSTANCE_FROM_PROTOCOL(a) \
85 CR (a, TLS_INSTANCE, Tls, TLS_INSTANCE_SIGNATURE)
87#define TLS_INSTANCE_FROM_CONFIGURATION(a) \
88 CR (a, TLS_INSTANCE, TlsConfig, TLS_INSTANCE_SIGNATURE)
VOID TlsCleanService(IN TLS_SERVICE *Service)
EFI_STATUS EFIAPI TlsServiceBindingCreateChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE *ChildHandle)
EFI_STATUS EFIAPI TlsServiceBindingDestroyChild(IN EFI_SERVICE_BINDING_PROTOCOL *This, IN EFI_HANDLE ChildHandle)
VOID TlsCleanInstance(IN TLS_INSTANCE *Instance)
EFI_STATUS TlsCreateService(IN EFI_HANDLE Image, OUT TLS_SERVICE **Service)
EFI_STATUS TlsCreateInstance(IN TLS_SERVICE *Service, OUT TLS_INSTANCE **Instance)
EFI_STATUS EFIAPI TlsUnload(IN EFI_HANDLE ImageHandle)
EFI_STATUS EFIAPI TlsDriverEntryPoint(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)