]> code.delx.au - refind/blobdiff - refind/global.h
CRC32 functions
[refind] / refind / global.h
index 947ba3474e778301f34f5c586d7bb1a4e99e7dee..739519201dd251237ae597304ffda17eec4d748c 100644 (file)
@@ -34,7 +34,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 /*
- * Modifications copyright (c) 2012-2013 Roderick W. Smith
+ * Modifications copyright (c) 2012-2014 Roderick W. Smith
  *
  * Modifications distributed under the terms of the GNU General Public
  * License (GPL) version 3 (GPLv3), a copy of which must be distributed
@@ -73,7 +73,8 @@
 #define TAG_MOK_TOOL         (13)
 #define TAG_FIRMWARE         (14)
 #define TAG_MEMTEST          (15)
-#define NUM_TOOLS            (16)
+#define TAG_GDISK            (16)
+#define NUM_TOOLS            (17)
 
 #define NUM_SCAN_OPTIONS 10
 
 // Files that may be Windows recovery files
 #define WINDOWS_RECOVERY_FILES  L"EFI\\Microsoft\\Boot\\LrsBootmgr.efi"
 
+#define NULL_GUID_VALUE { 00000000, 0000, 0000, {0000, 0000, 0000, 0000} };
+
 //
 // global definitions
 //
@@ -171,7 +174,9 @@ typedef struct {
    EFI_HANDLE          DeviceHandle;
    EFI_FILE            *RootDir;
    CHAR16              *VolName;
+   CHAR16              *PartName;
    EFI_GUID            VolUuid;
+   EFI_GUID            PartGuid;
    UINTN               VolNumber;
    EG_IMAGE            *VolIconImage;
    EG_IMAGE            *VolBadgeImage;