OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
AppleEfiBootRtInfo.h
Go to the documentation of this file.
1
13#ifndef APPLE_EFI_BOOT_RT_INFO_H
14#define APPLE_EFI_BOOT_RT_INFO_H
15
19#define APPLE_EFI_BOOT_RT_STATE_NONE SIGNATURE_32 ('b', 'r', '\0', '\0')
20
24#define APPLE_EFI_BOOT_RT_STATE_LAUNCHED SIGNATURE_32 ('b', 'r', 'H', 'i')
25
29typedef struct {
37 UINTN Args;
39
40/*
41 The kernel call gate transfers control to the Apple XNU kernel.
42
43 @param[in] SystemTable A pointer to the EFI System Table.
44 @param[in] KcgArguments Arguments to the kernel call gate.
45
46 @retval EFI_ABORTED The kernel could not be started.
47 @retval other On success, this function does not return.
48*/
49typedef
50EFI_STATUS
51(EFIAPI *APPLE_EFI_BOOT_RT_KCG)(
52 IN EFI_SYSTEM_TABLE *SystemTable,
53 IN CONST APPLE_EFI_BOOT_RT_KCG_ARGS *KcgArguments
54 );
55
59typedef struct {
63 VOID *ImageBase;
71 CONST UINT32 *State;
79 CONST CHAR8 *BuildInfo;
83 CONST CHAR8 *VersionStr;
85
86#endif // APPLE_EFI_BOOT_RT_INFO_H
EFI_STATUS(EFIAPI * APPLE_EFI_BOOT_RT_KCG)(IN EFI_SYSTEM_TABLE *SystemTable, IN CONST APPLE_EFI_BOOT_RT_KCG_ARGS *KcgArguments)
APPLE_EFI_BOOT_RT_KCG KernelCallGate