If system date is completely out of sync with the reality, the resulting
offset might be too much for a signed long. For example, with a BIOS
date configured in 1921:
NTP 0xa068e6a8 sending request
NTP 0xa068e6a8 delta -1139207296 seconds
Co-authored-by: Sylvain Burette sylvain.burette@corp.ovh.com
Co-authored-by: Clement Sciascia clement.sciascia@corp.ovh.com
Provide a mechanism to allow an arbitrary adjustment to be applied to
all subsequent calls to time().
Note that the underlying clock source (e.g. the RTC clock) will not be
changed; only the time as reported within iPXE will be affected.
Signed-off-by: Michael Brown <mcb30@ipxe.org>