87 lines
3.5 KiB
Plaintext
87 lines
3.5 KiB
Plaintext
// Copyright (c) 2007-2010, Intel Corporation. All rights reserved.
|
|
[Version ( "3.0.0" ),
|
|
Description (
|
|
"Exposes Intel(R) AMT time synchronization services to "
|
|
"management clients." )]
|
|
class AMT_TimeSynchronizationService : CIM_Service {
|
|
|
|
|
|
[Description (
|
|
"This method is used for reading the Intel(R) AMT "
|
|
"device\'s internal clock." ),
|
|
ValueMap { "0", "1" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR" }]
|
|
uint32 GetLowAccuracyTimeSynch(
|
|
[OUT, Description (
|
|
"An unsigned 32-bit value representing the local "
|
|
"time as the number of seconds from 00:00:00, "
|
|
"January 1, 1970 UTC. This format is sufficient to "
|
|
"maintain time stamps with one-second resolution "
|
|
"past the year 2100. This is based on a "
|
|
"longstanding UNIX-based standard for timekeeping, "
|
|
"which represents time as the number of seconds "
|
|
"from 00:00:00, January 1, 1970 UTC. Similar time "
|
|
"formats are used in ANSI C.")]
|
|
uint32 Ta0);
|
|
|
|
[Description (
|
|
"This method is used to synchronize the Intel(R) AMT "
|
|
"device\'s internal clock with an external clock. Intel(R) AMT Release "
|
|
"2.0 constrains this value to be greater than "
|
|
"January 1 2004."),
|
|
ValueMap { "0", "1", "36", "38" },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR",
|
|
"PT_STATUS_INVALID_PARAMETER",
|
|
"PT_STATUS_FLASH_WRITE_LIMIT_EXCEEDED" }]
|
|
uint32 SetHighAccuracyTimeSynch(
|
|
[Required, IN, Description (
|
|
"The time value received from invoking "
|
|
"GetLowAccuracyTimeSynch()." )]
|
|
uint32 Ta0,
|
|
[Required, IN, Description (
|
|
"The remote client timestamp after getting a "
|
|
"response from GetLowAccuracyTimeSynch(). should be greater than "
|
|
"January 1 2004." )]
|
|
uint32 Tm1,
|
|
[Required, IN, Description (
|
|
"The remote client timestamp obtained immediately "
|
|
"prior to invoking this method. should be greater than "
|
|
"January 1 2004." )]
|
|
uint32 Tm2);
|
|
|
|
[Description (
|
|
"Determines if user with LOCAL_SYSTEM_REALM permission can set the time."
|
|
"The values are: DEFAULT_TRUE - Time sync is enabled by default. Was not "
|
|
"configured to enabled or disabled by the configuration SW."
|
|
"CONFIGURED_TRUE - Time Sync is enabled and configured by configuration SW "
|
|
"to TRUE. This option is required in order to differentiate between legacy "
|
|
"configuration SW that do not support this setting and new SW that can configure "
|
|
"it to TRUE."
|
|
"FALSE - Time Sync is disabled."
|
|
),
|
|
ValueMap { "0", "1", "2", "3.." },
|
|
Values { "DEFAULT_TRUE", "CONFIGURED_TRUE", "FALSE", "RESERVED" }]
|
|
uint32 LocalTimeSyncEnabled;
|
|
|
|
[Description (
|
|
"Determines if RTC was set to UTC by any configuration SW."
|
|
),
|
|
ValueMap { "0", "1", "2.." },
|
|
Values { "BIOS_RTC", "CONFIGURED", "RESERVED" }]
|
|
uint32 TimeSource;
|
|
|
|
[Description (
|
|
"This method sets the LocalTimeSyncEnabled property."),
|
|
ValueMap { "0", "1", "2.." },
|
|
Values { "PT_STATUS_SUCCESS", "PT_STATUS_INTERNAL_ERROR", "RESERVED" }]
|
|
uint32 EnableLocalTimeSync(
|
|
[Required, IN, Description (
|
|
"Determines if user with LOCAL_SYSTEM_REALM permission can set the time.")]
|
|
boolean Enable);
|
|
|
|
|
|
|
|
|
|
|
|
};
|