Skip to content

Commit 2e38e91

Browse files
committed
Fix warnings, while compiling in renegade
1 parent 098be94 commit 2e38e91

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

libc-hack/uefi/stdio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include <stdarg.h>
1010
#include <Library/DebugLib.h>
11+
#include <stdio.h>
1112

1213

1314
int printf(const char *format, ...)

uefi/common/droidboot_uefi_common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,6 @@ int droidboot_internal_get_disp_buffer_height(void);
4343
bool droidboot_internal_use_double_buffering(void);
4444

4545
void droidboot_internal_platform_tasks();
46+
47+
// Function to set efi system table, to be called by code outside of droidboot part.
48+
void droidboot_internal_setgST(EFI_SYSTEM_TABLE*st1);

uefi/common/uefi-wrapper/uefi-wrapper.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include<Library/ReportStatusCodeLib.h>
55
#include<droidboot_main.h>
66
#include <droidboot_logging.h>
7+
#include<droidboot_uefi_common.h>
78

89
EFI_SYSTEM_TABLE *gST2;
910

0 commit comments

Comments
 (0)