+++ /dev/null
-/** @file\r
- Internal functions shared in DxeCore module.\r
-\r
-Copyright (c) 2006 - 2008, Intel Corporation. <BR>\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
-**/\r
-\r
-#ifndef _DXE_LIBRARY_H_\r
-#define _DXE_LIBRARY_H_\r
-\r
-\r
-/**\r
- Raising to the task priority level of the mutual exclusion\r
- lock, and then acquires ownership of the lock.\r
-\r
- @param Lock The lock to acquire\r
-\r
- @return Lock owned\r
-\r
-**/\r
-VOID\r
-CoreAcquireLock (\r
- IN EFI_LOCK *Lock\r
- );\r
-\r
-\r
-/**\r
- Initialize a basic mutual exclusion lock. Each lock\r
- provides mutual exclusion access at it's task priority\r
- level. Since there is no-premption (at any TPL) or\r
- multiprocessor support, acquiring the lock only consists\r
- of raising to the locks TPL.\r
-\r
- @param Lock The EFI_LOCK structure to initialize\r
-\r
- @retval EFI_SUCCESS Lock Owned.\r
- @retval EFI_ACCESS_DENIED Reentrant Lock Acquisition, Lock not Owned.\r
-\r
-**/\r
-EFI_STATUS\r
-CoreAcquireLockOrFail (\r
- IN EFI_LOCK *Lock\r
- );\r
-\r
-\r
-/**\r
- Releases ownership of the mutual exclusion lock, and\r
- restores the previous task priority level.\r
-\r
- @param Lock The lock to release\r
-\r
- @return Lock unowned\r
-\r
-**/\r
-VOID\r
-CoreReleaseLock (\r
- IN EFI_LOCK *Lock\r
- );\r
-\r
-\r
-#endif\r