-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathEFIDroidUi.h
85 lines (69 loc) · 1.93 KB
/
EFIDroidUi.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#ifndef __EFIDROIDUI_H__
#define __EFIDROIDUI_H__
#include <PiDxe.h>
#include <LittleKernel.h>
#include <Protocol/BlockIo.h>
#include <Protocol/RamDisk.h>
#include <Protocol/PartitionName.h>
#include <Protocol/DevicePathFromText.h>
#include <Protocol/DevicePathToText.h>
#include <Protocol/LKDisplay.h>
#include <Library/PrintLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DevicePathLib.h>
#include <Library/UefiBootManagerLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/CacheMaintenanceLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Guid/FileSystemVolumeLabelInfo.h>
#include <Library/Cpio.h>
#include <Library/Decompress.h>
#include <Library/Fstab.h>
#include <Library/MakeDosFs.h>
#include <Library/Menu.h>
#include <Library/UEFIRamdisk.h>
#include <Library/Util.h>
#include <lib/boot.h>
#include <Internal/Fastboot.h>
#include <Internal/Loader.h>
#include <Internal/AndroidLocator.h>
extern EFI_GUID gEFIDroidVariableGuid;
extern EFI_GUID gEFIDroidVariableDataGuid;
extern MENU_OPTION *mBootMenuMain;
extern EFI_DEVICE_PATH_TO_TEXT_PROTOCOL *gEfiDevicePathToTextProtocol;
extern EFI_DEVICE_PATH_FROM_TEXT_PROTOCOL *gEfiDevicePathFromTextProtocol;
extern lkapi_t *mLKApi;
extern multiboot_handle_t *gFastbootMBHandle;
#define STRING_LIST_SIGNATURE SIGNATURE_32 ('s', 't', 'r', 'l')
typedef struct {
UINTN Signature;
LIST_ENTRY Link;
CHAR16 *VariableName;
} STRING_LIST_ITEM;
EFI_STATUS
MainMenuUpdateUi (
VOID
);
EFI_STATUS
FileExplorerCallback (
IN MENU_ENTRY* This
);
VOID
FileExplorerUpdate (
IN MENU_ENTRY* This
);
EFI_STATUS
SettingsMenuShow (
VOID
);
VOID
AddSystemToFastbootMenu (
MENU_ENTRY *Entry,
multiboot_handle_t *mbhandle
);
VOID
FastbootAddInternalROM (
VOID
);
#endif /* __EFIDROIDUI_H__ */