VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Library/DpcLib.h@ 48674

最後變更 在這個檔案從48674是 48674,由 vboxsync 提交於 12 年 前

EFI: Export newly imported tinaocore UEFI sources to OSE.

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.8 KB
 
1/** @file
2 DpcLib.h.
3
4Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>
5This program and the accompanying materials are licensed and made available under
6the terms and conditions of the BSD License that accompanies this distribution.
7The full text of the license may be found at
8http://opensource.org/licenses/bsd-license.php.
9
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13**/
14
15#ifndef _DPC_LIB_H_
16#define _DPC_LIB_H_
17
18#include <Protocol/Dpc.h>
19
20/**
21 Add a Deferred Procedure Call to the end of the DPC queue.
22
23 @param[in] DpcTpl The EFI_TPL that the DPC should invoke.
24 @param[in] DpcProcedure The pointer to the DPC's function.
25 @param[in] DpcContext The pointer to the DPC's context. Passed to DpcProcedure
26 when DpcProcedure is invoked.
27
28 @retval EFI_SUCCESS The DPC was queued.
29 @retval EFI_INVALID_PARAMETER DpcTpl is not a valid EFI_TPL.
30 @retval EFI_INVALID_PARAMETER DpcProcedure is NULL.
31 @retval EFI_OUT_OF_RESOURCES There are not enough resources available to
32 add the DPC to the queue.
33
34**/
35EFI_STATUS
36EFIAPI
37QueueDpc (
38 IN EFI_TPL DpcTpl,
39 IN EFI_DPC_PROCEDURE DpcProcedure,
40 IN VOID *DpcContext OPTIONAL
41 );
42
43/**
44 Dispatch the queue of DPCs. All DPCs that have been queued with a DpcTpl
45 value greater than or equal to the current TPL are invoked in the order that
46 they were queued. DPCs with higher DpcTpl values are invoked before DPCs with
47 lower DpcTpl values.
48
49 @retval EFI_SUCCESS One or more DPCs were invoked.
50 @retval EFI_NOT_FOUND No DPCs were invoked.
51
52**/
53EFI_STATUS
54EFIAPI
55DispatchDpc (
56 VOID
57 );
58
59#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette