搜尋此網誌

2012年9月6日 星期四

EFI Shell2.0 commands -- GETMTC(從開機服務中取得MTC與顯示它)

Gets the MTC from BootServices and displays it.

GetMtc

Description:
This command displays the current monotonic counter value. The lower 32 bits increment every time this command is executed. Every time the system is reset, the upper 32 bits will be incremented, and the lower 32 bits will be reset to 0. The following example is typical output from help for this command.

Return Value: 
  • SHELL_SUCCESS             The action was completed as requested.
  • SHELL_DEVICE_ERROR        The underlying device was not working correctly.
  • SHELL_SECURITY_VIOLATION  This function was not performed due to a security violation.

Examples:

fs0:\> getmtc
100000000
fs0:\> getmtc
100000001

沒有留言:

張貼留言