]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/Dxe/Include/SmmRuntimeLib.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Dxe / Include / SmmRuntimeLib.h
CommitLineData
3eb9473e 1/*++\r
2\r
4ea9375a
HT
3Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 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 SmmRuntimeLib.h\r
15\r
16Abstract:\r
17\r
18 SMM Related prototypes that can be referenced for Preboot Configuration only.\r
19\r
20--*/\r
21\r
22#ifndef _SMM_RUNTIME_LIB_H_\r
23#define _SMM_RUNTIME_LIB_H_\r
24\r
25#include "Tiano.h"\r
26#include "EfiRuntimeLib.h"\r
27\r
28BOOLEAN\r
29EfiInSmm (\r
30 VOID\r
31 )\r
32/*++\r
33\r
34Routine Description:\r
35\r
36 Test whether in Smm mode currently.\r
37\r
38Arguments:\r
39\r
40 None\r
41\r
42Returns:\r
43\r
44 TRUE - In Smm mode\r
45 FALSE - Not in Smm mode\r
46\r
47--*/\r
48;\r
49\r
50EFI_STATUS\r
51RegisterSmmRuntimeDriver (\r
52 IN EFI_HANDLE ImageHandle,\r
53 IN EFI_SYSTEM_TABLE *SystemTable,\r
54 OUT EFI_HANDLE *SmmImageHandle\r
55 )\r
56/*++\r
57\r
58Routine Description:\r
59\r
60 Registers a Driver with the SMM.\r
61\r
62Arguments:\r
63\r
64 ImageHandle - The firmware allocated handle for the EFI image. \r
65 SystemTable - A pointer to the EFI System Table.\r
66 SmmImageHandle - Image handle returned by the SMM driver.\r
67\r
68Returns:\r
69\r
70 Status code\r
71\r
72--*/\r
73;\r
74\r
75#endif\r