Follow up tracker EDKT285.
[mirror_edk2.git] / EdkModulePkg / Library / EdkUefiRuntimeLib / Common / RuntimeService.c
Content-type: text/html git.proxmox.com Git - mirror_edk2.git/blame - EdkModulePkg/Library/EdkUefiRuntimeLib/Common/RuntimeService.c


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 8) line 1, <$fd> line 164.
CommitLineData
878ddf1f 1/*++\r
2\r
3Copyright (c) 2006, Intel Corporation \r
4All rights reserved. This program and the accompanying materials \r
5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 RuntimeService.c\r
15\r
878ddf1f 16--*/\r
17\r
18#include <RuntimeLibInternal.h>\r
19\r
20VOID\r
e8a3bee0 21EFIAPI\r
878ddf1f 22EfiResetSystem (\r
23 IN EFI_RESET_TYPE ResetType,\r
24 IN EFI_STATUS ResetStatus,\r
25 IN UINTN DataSize,\r
26 IN CHAR16 *ResetData\r
27 )\r
28/*++\r
29\r
30Routine Description:\r
31\r
32 Resets the entire platform.\r
33\r
34Arguments:\r
35\r
36 ResetType - The type of reset to perform.\r
37 ResetStatus - The status code for the reset.\r
38 DataSize - The size, in bytes, of ResetData.\r
39 ResetData - A data buffer that includes a Null-terminated Unicode string, optionally\r
40 followed by additional binary data.\r
41\r
42Returns:\r
43\r
44 None\r
45\r
46--*/\r
47{\r
48 mRT->ResetSystem (ResetType, ResetStatus, DataSize, ResetData);\r
49}\r
50\r
51//\r
52// The following functions hide the mRT local global from the call to\r
53// runtime service in the EFI system table.\r
54//\r
55EFI_STATUS\r
e8a3bee0 56EFIAPI\r
878ddf1f 57EfiGetTime (\r
58 OUT EFI_TIME *Time,\r
59 OUT EFI_TIME_CAPABILITIES *Capabilities\r
60 )\r
61/*++\r
62\r
63Routine Description:\r
64\r
65 Returns the current time and date information, and the time-keeping \r
66 capabilities of the hardware platform.\r
67\r
68Arguments:\r
69\r
70 Time - A pointer to storage to receive a snapshot of the current time.\r
71