CloverBootloader/rEFIt_UEFI/Platform/Events.h

42 lines
850 B
C
Raw Permalink Normal View History

/*
* Console.h
*
* Created on: 16 Apr 2020
* Author: jief
*/
#ifndef PLATFORM_EVENTS_H_
#define PLATFORM_EVENTS_H_
extern EFI_EVENT mVirtualAddressChangeEvent;
extern EFI_EVENT OnReadyToBootEvent;
extern EFI_EVENT ExitBootServiceEvent;
extern EFI_EVENT mSimpleFileSystemChangeEvent;
EFI_STATUS
EventsInitialize (
IN LOADER_ENTRY *Entry
);
EFI_STATUS
2020-10-03 19:02:31 +02:00
GuiEventsInitialize (void);
2020-08-09 17:55:30 +02:00
// timeout will be in ms here, as small as 1ms and up
EFI_STATUS
WaitFor2EventWithTsc (
IN EFI_EVENT Event1,
IN EFI_EVENT Event2,
IN UINT64 Timeout OPTIONAL
);
EFI_STATUS
EjectVolume (
IN REFIT_VOLUME *Volume
);
#endif /* PLATFORM_EVENTS_H_ */