TianoCore EDK2 master
Loading...
Searching...
No Matches
Timer.h
Go to the documentation of this file.
1
11#ifndef __ARCH_PROTOCOL_TIMER_H__
12#define __ARCH_PROTOCOL_TIMER_H__
13
17#define EFI_TIMER_ARCH_PROTOCOL_GUID \
18 { 0x26baccb3, 0x6f42, 0x11d4, {0xbc, 0xe7, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } }
19
24
39typedef
40VOID
41(EFIAPI *EFI_TIMER_NOTIFY)(
42 IN UINT64 Time
43 );
44
74typedef
79 );
80
107typedef
111 IN UINT64 TimerPeriod
112 );
113
128typedef
132 OUT UINT64 *TimerPeriod
133 );
134
150typedef
154 );
155
165 EFI_TIMER_REGISTER_HANDLER RegisterHandler;
166 EFI_TIMER_SET_TIMER_PERIOD SetTimerPeriod;
167 EFI_TIMER_GET_TIMER_PERIOD GetTimerPeriod;
168 EFI_TIMER_GENERATE_SOFT_INTERRUPT GenerateSoftInterrupt;
169};
170
171extern EFI_GUID gEfiTimerArchProtocolGuid;
172
173#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_TIMER_GET_TIMER_PERIOD)(IN EFI_TIMER_ARCH_PROTOCOL *This, OUT UINT64 *TimerPeriod)
Definition: Timer.h:130
EFI_STATUS(EFIAPI * EFI_TIMER_REGISTER_HANDLER)(IN EFI_TIMER_ARCH_PROTOCOL *This, IN EFI_TIMER_NOTIFY NotifyFunction)
Definition: Timer.h:76
EFI_STATUS(EFIAPI * EFI_TIMER_GENERATE_SOFT_INTERRUPT)(IN EFI_TIMER_ARCH_PROTOCOL *This)
Definition: Timer.h:152
VOID(EFIAPI * EFI_TIMER_NOTIFY)(IN UINT64 Time)
Definition: Timer.h:41
EFI_STATUS(EFIAPI * EFI_TIMER_SET_TIMER_PERIOD)(IN EFI_TIMER_ARCH_PROTOCOL *This, IN UINT64 TimerPeriod)
Definition: Timer.h:109
VOID EFIAPI NotifyFunction(IN EFI_EVENT Event, IN VOID *Context)
Definition: ScsiBus.c:1492
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213