File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 88 - type_name : EFI_SYSTEM_TABLE
99enums : []
1010functions : []
11- objects : []
11+ objects :
12+ - object_name : efi_system_table
13+ object_type : EFI_SYSTEM_TABLE *
14+ - object_name : efi_image_handle
15+ object_type : EFI_HANDLE
Original file line number Diff line number Diff line change 1212#include " include/llvm-libc-types/EFI_SYSTEM_TABLE.h"
1313#include " src/__support/macros/config.h"
1414
15+ EFI_HANDLE efi_image_handle;
16+ EFI_SYSTEM_TABLE *efi_system_table;
17+
1518extern " C" int main (int argc, char **argv, char **envp);
1619
1720extern " C" EFI_STATUS EfiMain (EFI_HANDLE ImageHandle,
1821 EFI_SYSTEM_TABLE *SystemTable) {
19- (void )ImageHandle;
20- (void )SystemTable;
22+ efi_image_handle = ImageHandle;
23+ efi_system_table = SystemTable;
24+
2125 main (0 , NULL , NULL );
2226 // TODO: convert the return value of main to EFI_STATUS
2327 return 0 ; // TODO: EFI_SUCCESS
You can’t perform that action at this time.
0 commit comments