TianoCore EDK2 master
Loading...
Searching...
No Matches
Smbase.h
Go to the documentation of this file.
1
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
19 OUT UINT32 *PenAddress,
20 IN CONST EFI_BOOT_SERVICES *BootServices
21 );
22
23VOID
25 IN UINT32 PenAddress
26 );
27
28VOID
30 IN UINT32 PenAddress,
31 IN CONST EFI_BOOT_SERVICES *BootServices
32 );
33
34VOID
36 VOID
37 );
38
41 IN APIC_ID ApicId,
42 IN UINTN Smbase,
43 IN UINT32 PenAddress
44 );
45
46#endif // SMBASE_H_
UINT64 UINTN
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS SmbaseAllocatePostSmmPen(OUT UINT32 *PenAddress, IN CONST EFI_BOOT_SERVICES *BootServices)
Definition: Smbase.c:48
VOID SmbaseInstallFirstSmiHandler(VOID)
Definition: Smbase.c:141
VOID SmbaseReinstallPostSmmPen(IN UINT32 PenAddress)
Definition: Smbase.c:101
VOID SmbaseReleasePostSmmPen(IN UINT32 PenAddress, IN CONST EFI_BOOT_SERVICES *BootServices)
Definition: Smbase.c:121
EFI_STATUS SmbaseRelocate(IN APIC_ID ApicId, IN UINTN Smbase, IN UINT32 PenAddress)
Definition: Smbase.c:198
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29