summaryrefslogtreecommitdiff
path: root/Core/EM/Runtime/Runtime.sdl
blob: 93f01d1506759e6a83082cd596d73cad0d593ccd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
TOKEN
	Name  = "Runtime_SUPPORT"
	Value  = "1"
	Help  = "Main switch to enable Runtime support in Project"
	TokenType = Boolean
	TargetEQU = Yes
	TargetMAK = Yes
	Master = Yes
End

TOKEN
	Name  = "RTC_RUNTIME_SERVICES_SUPPORT"
	Value  = "1"
	Help  = "If ON includes in project CORE implementation of RTC \services (from TimeAndReset.c). \Set to OFF to use stand alone RTC driver."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "RESET_RUNTIME_SERVICES_SUPPORT"
	Value  = "1"
	Help  = "If ON includes in project CORE implementation of reset \services (from TimeAndReset.c). \Set to OFF to use stand alone reset driver."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NVRAM_MONOTONIC_COUNTER_SUPPORT"
	Value  = "1"
	Help  = "If ON includes in project CORE NVRAM-based implementation of \the monotonic counter services.\Set to OFF to use stand alone monotonic counter driver."
	TokenType = Boolean
	TargetMAK = Yes
	TargetH = Yes
End

TOKEN
	Name  = "NVRAM_RECORD_CHECKSUM_SUPPORT"
	Value  = "0"
	Help  = "When this token is enabled, every NVRAM record is checksummed."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "NVRAM_RT_GARBAGE_COLLECTION_SUPPORT"
	Value  = "1"
	Help  = "This token enables/disables support of the NVRAM garbage collection at runtime."
	TokenType = Boolean
	TargetH = Yes
End

TOKEN
	Name  = "NO_MMIO_FLASH_ACCESS_DURING_UPDATE"
	Value  = "0"
	Help  = "This token should be set to 1 if flash part is not memory mapped while write enabled."
	TokenType = Boolean
	TargetH = Yes
End

PATH
	Name  = "RUNTIME_DIR"
End

MODULE
	Help  = "Includes Runtime.mak to Project"
	File  = "Runtime.mak"
End

ELINK
	Name  = "$(BUILD_DIR)\Runtime.ffs"
	Parent  = "FV_MAIN"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "RuntimeInitialize"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "Runtime_LIB"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "$(RUNTIME_DIR)\Runtime$(ARCH).lib"
	Parent  = "Runtime_LIB"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "CpuIoDxeInit,"
	Parent  = "RuntimeInitialize"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "RuntimeSmmInitialize"
	InvokeOrder = ReplaceParent
End

ELINK
	Name  = "FlashDriverEntry,"
	Parent  = "RuntimeSmmInitialize"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "TimeServInit,"
	Parent  = "RuntimeSmmInitialize"
	Token = "RTC_RUNTIME_SERVICES_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "ResetServInit,"
	Parent  = "RuntimeSmmInitialize"
	Token = "RESET_RUNTIME_SERVICES_SUPPORT" "=" "1"
	InvokeOrder = AfterParent
End

ELINK
	Name  = "NvRamSmmEntry,"
	Parent  = "FlashDriverEntry,"
	InvokeOrder = AfterParent
End