]> code.delx.au - refind/blobdiff - EfiLib/BdsHelper.h
Fixed uninitialized-pointer bug that manifested as a crash with
[refind] / EfiLib / BdsHelper.h
index 23240328934d16c80b42f95ff08b22bd4abd559a..20344a1bf2b8a42bae532b51b844087ed8f69408 100644 (file)
@@ -3,8 +3,25 @@
  * Functions to call legacy BIOS API.
  *
  */
+/**
+
+Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR>
+This program and the accompanying materials
+are licensed and made available under the terms and conditions of the BSD License
+which accompanies this distribution.  The full text of the license may be found at
+http://opensource.org/licenses/bsd-license.php
+
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
 
+#ifdef __MAKEWITH_TIANO
 #include "../include/tiano_includes.h"
+#else
+#include "gnuefi-helper.h"
+#include "GenericBdsLib.h"
+#endif
 
 #ifndef _BDS_HELPER_H_
 #define _BDS_HELPER_H_