VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/OvmfPkg/CpuHotplugSmm/Smbase.h@ 106129

Last change on this file since 106129 was 99404, checked in by vboxsync, 23 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 811 bytes
Line 
1/** @file
2 SMBASE relocation for hot-plugged CPUs.
3
4 Copyright (c) 2020, Red Hat, Inc.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7**/
8
9#ifndef SMBASE_H_
10#define SMBASE_H_
11
12#include <Uefi/UefiBaseType.h> // EFI_STATUS
13#include <Uefi/UefiSpec.h> // EFI_BOOT_SERVICES
14
15#include "ApicId.h" // APIC_ID
16
17EFI_STATUS
18SmbaseAllocatePostSmmPen (
19 OUT UINT32 *PenAddress,
20 IN CONST EFI_BOOT_SERVICES *BootServices
21 );
22
23VOID
24SmbaseReinstallPostSmmPen (
25 IN UINT32 PenAddress
26 );
27
28VOID
29SmbaseReleasePostSmmPen (
30 IN UINT32 PenAddress,
31 IN CONST EFI_BOOT_SERVICES *BootServices
32 );
33
34VOID
35SmbaseInstallFirstSmiHandler (
36 VOID
37 );
38
39EFI_STATUS
40SmbaseRelocate (
41 IN APIC_ID ApicId,
42 IN UINTN Smbase,
43 IN UINT32 PenAddress
44 );
45
46#endif // SMBASE_H_
Note: See TracBrowser for help on using the repository browser.

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