Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2726 | vana | 1 | /*++ |
2 | |||
3 | Copyright (c) 1998 Intel Corporation |
||
4 | |||
5 | Module Name: |
||
6 | |||
7 | data.c |
||
8 | |||
9 | Abstract: |
||
10 | |||
11 | EFI library global data |
||
12 | |||
13 | |||
14 | |||
15 | Revision 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 | #pragma BEGIN_RUNTIME_DATA() |
||
30 | |||
31 | // |
||
32 | // RT - pointer to the runtime table |
||
33 | // |
||
34 | |||
35 | EFI_RUNTIME_SERVICES *RT; |
||
36 | |||
37 | // |
||
38 | // LibStandalone - TRUE if lib is linked in as part of the firmware. |
||
39 | // N.B. The EFI fw sets this value directly |
||
40 | // |
||
41 | |||
42 | BOOLEAN LibFwInstance; |
||
43 | |||
44 | // |
||
45 | // EFIDebug - Debug mask |
||
46 | // |
||
47 | |||
48 | UINTN EFIDebug = EFI_DBUG_MASK; |
||
49 | |||
50 | // |
||
51 | // LibRuntimeDebugOut - Runtime Debug Output device |
||
52 | // |
||
53 | |||
54 | SIMPLE_TEXT_OUTPUT_INTERFACE *LibRuntimeDebugOut; |
||
55 | |||
56 | // |
||
57 | // LibRuntimeRaiseTPL, LibRuntimeRestoreTPL - pointers to Runtime functions from the |
||
58 | // Boot Services Table |
||
59 | // |
||
60 | |||
61 | EFI_RAISE_TPL LibRuntimeRaiseTPL = NULL; |
||
62 | EFI_RESTORE_TPL LibRuntimeRestoreTPL = NULL; |
||
63 |