]> code.delx.au - refind/blobdiff - EfiLib/gnuefi-helper.h
Move details of refind-install documentation from installing.html to a
[refind] / EfiLib / gnuefi-helper.h
index 1a1749785890f8c7a361f9a617d0b45c6e93038f..694988a675ba8bd2b838e52793ac5752c9f370e8 100644 (file)
@@ -1,12 +1,17 @@
 /*
- * EfiLib/gnuefi.h
+ * EfiLib/gnuefi-helper.h
  * Header file for GNU-EFI support in legacy boot code
  *
- * Copyright (c) 2014 Roderick W. Smith
- * With extensive borrowing from other sources (mostly Tianocore)
+ * Borrowed from the TianoCore EDK II, with modifications by Rod Smith
  *
- * This software is licensed under the terms of the GNU GPLv3,
- * a copy of which should come with this file.
+ * Copyright (c) 2004 - 2011, 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.
  *
  */
 /*
@@ -23,7 +28,9 @@
 #define UnicodeSPrint SPrint
 #define gRT RT
 #define gBS BS
+#ifndef CONST
 #define CONST
+#endif
 #define ASSERT_EFI_ERROR(status)  ASSERT(!EFI_ERROR(status))
 
 CHAR8 *
@@ -50,4 +57,4 @@ GetNextDevicePathInstance (
    OUT UINTN                          *Size
 );
 
-#endif
\ No newline at end of file
+#endif