Add in the 1st version of ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2832 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
38
EdkCompatibilityPkg/Foundation/Efi/Guid/Gpt/Gpt.c
Normal file
38
EdkCompatibilityPkg/Foundation/Efi/Guid/Gpt/Gpt.c
Normal file
@@ -0,0 +1,38 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004, Intel Corporation
|
||||
All rights reserved. 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.
|
||||
|
||||
Module Name:
|
||||
|
||||
Gpt.c
|
||||
|
||||
Abstract:
|
||||
|
||||
Guids used for the GPT as defined in EFI 1.0
|
||||
|
||||
GPT defines a new disk partitioning scheme and also describes
|
||||
usage of the legacy Master Boot Record (MBR) partitioning scheme.
|
||||
|
||||
--*/
|
||||
|
||||
#include "EfiSpec.h"
|
||||
#include EFI_GUID_DEFINITION (Gpt)
|
||||
|
||||
EFI_GUID gEfiPartTypeUnusedGuid = EFI_PART_TYPE_UNUSED_GUID;
|
||||
|
||||
EFI_GUID_STRING(&gEfiPartTypeUnusedGuid, "G0", "Null Partition Type GUID");
|
||||
|
||||
EFI_GUID gEfiPartTypeSystemPartGuid = EFI_PART_TYPE_EFI_SYSTEM_PART_GUID;
|
||||
|
||||
EFI_GUID_STRING(&gEfiPartTypeSystemPartGuid, "ESP", "EFI System Partition GUID");
|
||||
|
||||
EFI_GUID gEfiPartTypeLegacyMbrGuid = EFI_PART_TYPE_LEGACY_MBR_GUID;
|
||||
|
||||
EFI_GUID_STRING(&gEfiPartTypeLegacyMbrGuid, "Legacy MBR", "Legacy Master Boot Record Partition GUID");
|
47
EdkCompatibilityPkg/Foundation/Efi/Guid/Gpt/Gpt.h
Normal file
47
EdkCompatibilityPkg/Foundation/Efi/Guid/Gpt/Gpt.h
Normal file
@@ -0,0 +1,47 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004, Intel Corporation
|
||||
All rights reserved. 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.
|
||||
|
||||
Module Name:
|
||||
|
||||
Gpt.h
|
||||
|
||||
Abstract:
|
||||
|
||||
Guids used for the GPT as defined in EFI 1.0
|
||||
|
||||
GPT defines a new disk partitioning scheme and also describes
|
||||
usage of the legacy Master Boot Record (MBR) partitioning scheme.
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _GPT_GUID_H_
|
||||
#define _GPT_GUID_H_
|
||||
|
||||
#define EFI_PART_TYPE_UNUSED_GUID \
|
||||
{ \
|
||||
0x00000000, 0x0000, 0x0000, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 \
|
||||
}
|
||||
|
||||
#define EFI_PART_TYPE_EFI_SYSTEM_PART_GUID \
|
||||
{ \
|
||||
0xc12a7328, 0xf81f, 0x11d2, 0xba, 0x4b, 0x00, 0xa0, 0xc9, 0x3e, 0xc9, 0x3b \
|
||||
}
|
||||
|
||||
#define EFI_PART_TYPE_LEGACY_MBR_GUID \
|
||||
{ \
|
||||
0x024dee41, 0x33e7, 0x11d3, 0x9d, 0x69, 0x00, 0x08, 0xc7, 0x81, 0xf3, 0x9f \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiPartTypeUnusedGuid;
|
||||
extern EFI_GUID gEfiPartTypeSystemPartGuid;
|
||||
extern EFI_GUID gEfiPartTypeLegacyMbrGuid;
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user