summaryrefslogtreecommitdiff
path: root/Core/CoreSrc.sdl
diff options
context:
space:
mode:
authorraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
committerraywu <raywu0301@gmail.com>2018-06-15 00:00:50 +0800
commitb7c51c9cf4864df6aabb99a1ae843becd577237c (patch)
treeeebe9b0d0ca03062955223097e57da84dd618b9a /Core/CoreSrc.sdl
downloadzprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz
init. 1AQQW051HEADmaster
Diffstat (limited to 'Core/CoreSrc.sdl')
-rw-r--r--Core/CoreSrc.sdl50
1 files changed, 50 insertions, 0 deletions
diff --git a/Core/CoreSrc.sdl b/Core/CoreSrc.sdl
new file mode 100644
index 0000000..5bb2984
--- /dev/null
+++ b/Core/CoreSrc.sdl
@@ -0,0 +1,50 @@
+TOKEN
+ Name = "CoreSrc_SUPPORT"
+ Value = "1"
+ Help = "Main switch to enable Core Sources support in Project"
+ TokenType = Boolean
+ TargetEQU = Yes
+ TargetMAK = Yes
+ Master = Yes
+End
+
+TOKEN
+ Name = "PEI_PERFORMANCE"
+ Value = "0"
+ Help = "Enables/Disables PEI performance measurement API"
+ TokenType = Boolean
+ TargetMAK = Yes
+End
+
+TOKEN
+ Name = "DXE_PERFORMANCE"
+ Value = "0"
+ Help = "Enables/Disables PEI performance measurement API"
+ TokenType = Boolean
+ TargetMAK = Yes
+End
+
+TOKEN
+ Name = "USE_DXE_STATUS_CODE_INSTANCE_IN_SMM"
+ Value = "0"
+ Help = "To use DXE status code instance from SMM set this token to On.\If this token is Off, SMM instance is used.\Setting this token to On is not safe (calls outside of SMM) and should only be done for debug purposes. "
+ TokenType = Boolean
+ TargetMAK = Yes
+ TargetH = Yes
+ Token = "DEBUG_CODE" "=" "1"
+End
+
+ELINK
+ Name = "/D EFI_DXE_PERFORMANCE"
+ Parent = "GLOBAL_DEFINES"
+ Token = "DXE_PERFORMANCE" "=" "1"
+ InvokeOrder = AfterParent
+End
+
+ELINK
+ Name = "/D EFI_PEI_PERFORMANCE"
+ Parent = "GLOBAL_DEFINES"
+ Token = "PEI_PERFORMANCE" "=" "1"
+ InvokeOrder = AfterParent
+End
+