public VirtualTimer(InjectContext InjectContext, string Name)
{
InjectContext.InjectDependencesTo(this);
this.Timer = PspRtc.CreateVirtualTimer(Handler);
this.Name = Name;
this.Timer.Enabled = false;
this.PspSharedInfoMemoryPartition = MemoryManager.GetPartition(MemoryPartitions.Kernel0).Allocate(
sizeof(PspSharedInfoStruct),
Name: "VTimer.PspSharedInfoStruct"
);
this.PspSharedInfo = (PspSharedInfoStruct*)CpuProcessor.Memory.PspAddressToPointerSafe(this.PspSharedInfoMemoryPartition.Low);
}