]> code.delx.au - refind/blobdiff - libeg/libegint.h
Added OS check to mkrlconf.sh. Bypass checks for BIOS-mode boot
[refind] / libeg / libegint.h
index 1b2cff82f5ae9c08f55f1fc148cb2835196d8ec4..400a65c5f41f9702b2f6178f2e6a27c3f7538a35 100644 (file)
 #ifndef __LIBEG_LIBEGINT_H__
 #define __LIBEG_LIBEGINT_H__
 
-
+#ifdef __MAKEWITH_GNUEFI
 #include <efi.h>
 #include <efilib.h>
+#else
+#include "../include/tiano_includes.h"
+#endif
 
 #include "libeg.h"
 
@@ -49,7 +52,7 @@ typedef EG_IMAGE * (*EG_DECODE_FUNC)(IN UINT8 *FileData, IN UINTN FileDataLength
 
 /* functions */
 
-BOOLEAN egSetScreenSize(IN UINTN ScreenWidth, IN UINTN ScreenHeight);
+BOOLEAN egSetScreenSize(IN OUT UINTN *ScreenWidth, IN OUT UINTN *ScreenHeight);
 
 VOID egRestrictImageArea(IN EG_IMAGE *Image,
                          IN UINTN AreaPosX, IN UINTN AreaPosY,