/*++\r
-Copyright (c) 2006, Intel Corporation \r
-All rights reserved. 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
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006, Intel Corporation\r
+All rights reserved. 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
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
\r
Module name:\r
callback.c\r
// created at a lower level (TPL_CALLBACK) it gives an assert!\r
//\r
if (mInitializeLock) {\r
- EfiInitializeLock (&mLock, EFI_TPL_NOTIFY);\r
+ EfiInitializeLock (&mLock, TPL_NOTIFY);\r
mInitializeLock = FALSE;\r
}\r
\r
}\r
\r
if (Index >= MAX_MAP_LENGTH) {\r
- SNP_PRINT (L"SNP maplist is FULL\n");\r
+ DEBUG ((EFI_D_INFO, "SNP maplist is FULL\n"));\r
*DevAddrPtr = 0;\r
return ;\r
}\r
\r
if (Index >= MAX_MAP_LENGTH)\r
{\r
-#if SNP_DEBUG\r
- Print (L"SNP could not find a mapping, failed to unmap.\n");\r
-#endif\r
+ DEBUG ((EFI_D_ERROR, "SNP could not find a mapping, failed to unmap.\n"));\r
return ;\r
}\r
\r