ReactOS 0.4.15-dev-8393-g61b7fb9
arcemul.c File Reference
#include <freeldr.h>
Include dependency graph for arcemul.c:

Go to the source code of this file.

Functions

TIMEINFOArcGetTime (VOID)
 
ULONG ArcGetRelativeTime (VOID)
 

Variables

MACHVTBL MachVtbl
 

Function Documentation

◆ ArcGetRelativeTime()

ULONG ArcGetRelativeTime ( VOID  )

Definition at line 33 of file arcemul.c.

34{
35 TIMEINFO* TimeInfo;
36 ULONG ret;
37
38 TimeInfo = ArcGetTime();
39 ret = ((TimeInfo->Hour * 24) + TimeInfo->Minute) * 60 + TimeInfo->Second;
40 return ret;
41}
TIMEINFO * ArcGetTime(VOID)
Definition: arcemul.c:27
Definition: fw.h:10
USHORT Minute
Definition: fw.h:15
USHORT Hour
Definition: fw.h:14
USHORT Second
Definition: fw.h:16
uint32_t ULONG
Definition: typedefs.h:59
int ret

Referenced by PeLdrInitSecurityCookie().

◆ ArcGetTime()

TIMEINFO * ArcGetTime ( VOID  )

Definition at line 27 of file arcemul.c.

28{
29 return MachVtbl.GetTime();
30}
MACHVTBL MachVtbl
Definition: arcemul.c:21
TIMEINFO *(* GetTime)(VOID)
Definition: machine.h:72

Referenced by ArcGetRelativeTime(), EditCustomBootReactOS(), InitOperatingSystemList(), TuiDisplayMenu(), and TuiUpdateDateTime().

Variable Documentation

◆ MachVtbl

MACHVTBL MachVtbl

Definition at line 21 of file arcemul.c.

Referenced by ArcGetTime(), MachInit(), and MmInitializeMemoryManager().