Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.3 KiB

  1. //
  2. // Symmbols.h - predefined GUID symbols (for partition types)
  3. //
  4. // Since symbols names are likely to be localized, the actual strings
  5. // are in msg.h. So, to add a new partition type, you add STR_ and MSG_
  6. // entries for it in msg.h, add it's EFI_GUID var name and value here.
  7. // You then add all of these to SymbolList below. Also add an extern
  8. // for each variable to msg.h.
  9. //
  10. // Internal code (like Make procedures) use the globals.
  11. //
  12. typedef struct {
  13. CHAR16 *SymName;
  14. CHAR16 *Comment;
  15. EFI_GUID *Value;
  16. } SYMBOL_DEF;
  17. EFI_GUID GuidNull =
  18. { 0x00000000L, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; // Null guid => unused entries
  19. EFI_GUID GuidMsReserved =
  20. { 0xE3C9E316L, 0x0B5C, 0x4DB8, 0x81, 0x7D, 0xF9, 0x2D, 0xF0, 0x02, 0x15, 0xAE }; // Microsoft Reserved Space
  21. EFI_GUID GuidEfiSystem =
  22. { 0xC12A7328L, 0xF81F, 0x11D2, 0xBA, 0x4B, 0x00, 0xA0, 0xC9, 0x3E, 0xC9, 0x3B }; // Efi System Partition (esp)
  23. EFI_GUID GuidMsData =
  24. { 0xEBD0A0A2L, 0xB9E5, 0x4433, 0x87, 0xC0, 0x68, 0xB6, 0xB7, 0x26, 0x99, 0xC7 }; // MS Basic Data Parition
  25. SYMBOL_DEF SymbolList[] = {
  26. { STR_MSRES, MSG_MSRES, &GuidMsReserved },
  27. { STR_ESP, MSG_ESP, &GuidEfiSystem },
  28. { STR_MSDATA, MSG_MSDATA, &GuidMsData },
  29. { NULL, NULL, NULL }
  30. };