Implement more wrappers and refactoring
This commit is contained in:
@@ -94,6 +94,31 @@ BlSleepExecution(IN ULONG_PTR Milliseconds)
|
||||
EfiSystemTable->BootServices->Stall(Milliseconds * 1000);
|
||||
}
|
||||
|
||||
/**
|
||||
* Waits for one or more EFI events.
|
||||
*
|
||||
* @param NumberOfEvents
|
||||
* Supplies the number of events to wait for.
|
||||
*
|
||||
* @param Event
|
||||
* Supplies the array of events to wait for.
|
||||
*
|
||||
* @param Index
|
||||
* Receives the index of the event that was signaled.
|
||||
*
|
||||
* @return This routine returns status code.
|
||||
*
|
||||
* @since XT 1.0
|
||||
*/
|
||||
XTCDECL
|
||||
EFI_STATUS
|
||||
BlWaitForEfiEvent(IN UINT_PTR NumberOfEvents,
|
||||
IN PEFI_EVENT Event,
|
||||
OUT PUINT_PTR Index)
|
||||
{
|
||||
return EfiSystemTable->BootServices->WaitForEvent(NumberOfEvents, Event, Index);
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes EFI Boot Loader (XTLDR).
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user