Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

50 lines
926 B

/*++
Module Name:
protocol.c
Abstract:
Author:
Mudit Vats (v-muditv) 12-13-99
Revision History:
--*/
#include <precomp.h>
void
InitializeProtocols(
IN struct _EFI_SYSTEM_TABLE *SystemTable
)
{
EFI_BOOT_SERVICES *bootServices;
EFI_RUNTIME_SERVICES *runtimeServices;
//
// Stash some of the handle protocol pointers
//
bootServices = SystemTable->BootServices;
HandleProtocol = bootServices->HandleProtocol;
LocateHandle = bootServices->LocateHandle;
LocateDevicePath = bootServices->LocateDevicePath;
LoadImage = bootServices->LoadImage;
StartImage = bootServices->StartImage;
//
// Stash some of the Runtime services pointers
//
runtimeServices = SystemTable->RuntimeServices;
SetVariable = runtimeServices->SetVariable;
}