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

  Copyright (C) 2022, Fen Systems Ltd.

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

#pragma once

#include <Protocol/DebugSupport.h>

VOID
DisableInterruptsOnIret (
  IN OUT EFI_SYSTEM_CONTEXT  SystemContext
  );