source: bootcd/isolinux/syslinux-6.03/gnu-efi/gnu-efi-3.0/lib/runtime/rtdata.c

Last change on this file was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 1.0 KB
Line 
1/*++
2
3Copyright (c) 1998  Intel Corporation
4
5Module Name:
6
7    data.c
8
9Abstract:
10
11    EFI library global data
12
13
14
15Revision History
16
17--*/
18
19#include "lib.h"
20
21
22//
23// These globals are runtime globals
24//
25// N.B. The Microsoft C compiler will only put the data in the
26// right data section if it is explicitly initialized..
27//
28
29#ifndef __GNUC__
30#pragma BEGIN_RUNTIME_DATA()
31#endif
32
33//
34// RT - pointer to the runtime table
35//
36
37EFI_RUNTIME_SERVICES    *RT;
38
39//
40// LibStandalone - TRUE if lib is linked in as part of the firmware.
41// N.B. The EFI fw sets this value directly
42//
43
44BOOLEAN  LibFwInstance;
45
46//
47// EFIDebug - Debug mask
48//
49
50UINTN    EFIDebug    = EFI_DBUG_MASK;
51
52//
53// LibRuntimeDebugOut - Runtime Debug Output device
54//
55
56SIMPLE_TEXT_OUTPUT_INTERFACE    *LibRuntimeDebugOut;
57
58//
59// LibRuntimeRaiseTPL, LibRuntimeRestoreTPL - pointers to Runtime functions from the
60//                                            Boot Services Table
61//
62
63EFI_RAISE_TPL   LibRuntimeRaiseTPL   = NULL;
64EFI_RESTORE_TPL LibRuntimeRestoreTPL = NULL;
65
Note: See TracBrowser for help on using the repository browser.