summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/NestedInterruptTplLib/Iret.h
blob: 278c1e22b3aeff6df910d08bfb2fc0a8020a246c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/** @file
  Force interrupt handler to return with interrupts still disabled.

  Copyright (C) 2022, Fen Systems Ltd.

  SPDX-License-Identifier: BSD-2-Clause-Patent
**/

#ifndef _IRET_H_
#define _IRET_H_

#include <Protocol/DebugSupport.h>

VOID
DisableInterruptsOnIret (
  IN OUT EFI_SYSTEM_CONTEXT  SystemContext
  );

#endif // _IRET_H_