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


500 - Internal Server Error

Malformed UTF-8 character (fatal) at (eval 6) line 1, <$fd> line 84.
CommitLineData
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
16--*/\r
17\r
18#include <RuntimeLibInternal.h>\r
19\r
20VOID\r
21EFIAPI\r
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 EFI_GUID Guid = EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID;\r
49\r
50 EfiCallEsalService (\r
51 &Guid,\r
52 ResetSystem,\r
53 (UINT64) ResetType,\r
54 (UINT64) ResetStatus,\r
55 (UINT64) DataSize,\r
56 (UINT64) ResetData,\r
57 0,\r
58 0,\r
59 0\r
60 );\r
61}\r
62\r
63\r
64//\r
65// The following functions hide the mRT local global from the call to\r
66// runtime service in the EFI system table.\r
67//\r
68EFI_STATUS\r
69EFIAPI\r
70EfiGetTime (\r
71 OUT EFI_TIME *Time,\r
72 OUT EFI_TIME_CAPABILITIES *Capabilities\r
73 )\r
74/*++\r
75\r
76Routine Description:\r
77\r
78 Returns the current time and date information, and the time-keeping \r
79 capabilities of the hardware platform.\r
80\r
81Arguments:\r
82\r
83 Time - A pointer to storage to receive a snapshot of the current time.\r
84