## @file\r
# This file is used to save global datas\r
#\r
-# Copyright (c) 2008 - 2010, Intel Corporation\r
-# All rights reserved. This program and the accompanying materials\r
+# Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
\r
-from Common.Misc import sdict\r
+from collections import OrderedDict\r
+from Common.LongFilePathSupport import OpenLongFilePath as open\r
\r
gEFI_SOURCE = ''\r
gEDK_SOURCE = ''\r
gOP_SOURCE_FILES = open(gSOURCE_FILES, 'w+')\r
\r
# Dict for GUID found in DEC files\r
-gGuidDict = sdict()\r
-\r
-# Dict for hard coded GUID Macros\r
-# {GuidName : [GuidMacro : GuidValue]}\r
-gGuidMacroDict = sdict()\r
+gGuidDict = dict()\r
\r
# Dict for PPI\r
gPpiList = {}\r
gProtocolList = {}\r
\r
# Dict for consumed PPI function calling\r
-gConsumedPpiLibrary = sdict()\r
+gConsumedPpiLibrary = OrderedDict()\r
gConsumedPpiLibrary['EfiCommonLocateInterface'] = 0\r
gConsumedPpiLibrary['PeiServicesLocatePpi'] = 0\r
\r
# Dict for produced PROTOCOL function calling\r
-gProducedProtocolLibrary = sdict()\r
+gProducedProtocolLibrary = OrderedDict()\r
gProducedProtocolLibrary['RegisterEsalClass'] = 0\r
gProducedProtocolLibrary['CoreInstallProtocolInterface'] = 1\r
gProducedProtocolLibrary['CoreInstallMultipleProtocolInterfaces'] = -1\r
gProducedProtocolLibrary['LibReinstallProtocolInterfaces'] = 1\r
\r
# Dict for consumed PROTOCOL function calling\r
-gConsumedProtocolLibrary = sdict()\r
+gConsumedProtocolLibrary = OrderedDict()\r
gConsumedProtocolLibrary['EfiHandleProtocol'] = 0\r
gConsumedProtocolLibrary['EfiLocateProtocolHandleBuffers'] = 0\r
gConsumedProtocolLibrary['EfiLocateProtocolInterface'] = 0\r
gConsumedProtocolLibrary['EfiHandleProtocol'] = 1\r
\r
# Dict for callback PROTOCOL function callling\r
-gCallbackProtocolLibrary = sdict()\r
+gCallbackProtocolLibrary = OrderedDict()\r
gCallbackProtocolLibrary['EfiRegisterProtocolCallback'] = 2\r
\r
# Dict for ARCH PROTOCOL\r