it may cause the table to be initaliized with the members at the end being\r
set to zero. This is bad as jumping to zero will crash.\r
\r
-Copyright (c) 2004 - 2009, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>\r
Portions copyright (c) 2008 - 2011, Apple Inc. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
Time->Minute = tm->tm_min;\r
Time->Second = tm->tm_sec;\r
Time->Nanosecond = 0;\r
- Time->TimeZone = timezone;\r
+ Time->TimeZone = timezone / 60;\r
Time->Daylight = (daylight ? EFI_TIME_ADJUST_DAYLIGHT : 0)\r
| (tm->tm_isdst > 0 ? EFI_TIME_IN_DAYLIGHT : 0);\r
\r
POSIX Pthreads to emulate APs and implement threads\r
\r
Copyright (c) 2011, Apple Inc. All rights reserved.\r
+Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>\r
SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
\r
Time->Second = tm->tm_sec;\r
Time->Nanosecond = 0;\r
\r
- Time->TimeZone = timezone;\r
+ Time->TimeZone = timezone / 60;\r
Time->Daylight = (daylight ? EFI_TIME_ADJUST_DAYLIGHT : 0) | (tm->tm_isdst > 0 ? EFI_TIME_IN_DAYLIGHT : 0);\r
}\r
\r