Chameleon

Chameleon Commit Details

Date:2015-03-15 10:46:45 (5 years 8 months ago)
Author:ErmaC
Commit:2636
Parents: 2635
Message:Move and rename GUID Tables into efi header.
Changes:
M/trunk/i386/libsaio/smbios.h
M/trunk/i386/libsaio/efi.h
M/trunk/i386/libsaio/fake_efi.c

File differences

trunk/i386/libsaio/efi.h
145145
146146
147147
148
149
150
151
152
153
154
155
156
148157
149158
150159
#define EFI_GLOBAL_VARIABLE_GUID \
{0x8BE4DF61, 0x93CA, 0x11D2, {0xAA, 0x0D, 0x00, 0xE0, 0x98, 0x03, 0x2B, 0x8C} }
#define SMBIOS_TABLE_GUID \
{0xEB9D2D31, 0x2D88, 0x11D3, {0x9A, 0x16, 0x0, 0x90, 0x27, 0x3F, 0xC1, 0x4D} }
#define ACPI_TABLE_GUID \
{0xEB9D2D30, 0x2D88, 0x11D3, {0x9A, 0x16, 0x0, 0x90, 0x27, 0x3F, 0xC1, 0x4D} }
#define ACPI_20_TABLE_GUID \
{0x8868E871, 0xE4f1, 0x11D3, {0xBC, 0x22, 0x0, 0x80, 0xC7, 0x3C, 0x88, 0x81} }
typedef union {
EFI_GUID Guid;
EFI_UINT8 Raw[16];
trunk/i386/libsaio/smbios.h
849849
850850
851851
852
853
854
855
856852
857853
858854
//----------------------------------------------------------------------------------------------------------
/* From Foundation/Efi/Guid/Smbios/SmBios.h */
/* Modified to wrap Data4 array init with {} */
#define EFI_SMBIOS_TABLE_GUID {0xeb9d2d31, 0x2d88, 0x11d3, {0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d}}
#define SMBIOS_ORIGINAL0
#define SMBIOS_PATCHED1
trunk/i386/libsaio/fake_efi.c
421421
422422
423423
424
424
425425
426426
427427
......
429429
430430
431431
432
433
434
435
432
433
436434
437
438
439
440
441435
442
443
444
445
446436
447437
448438
*/
/* From Foundation/Efi/Guid/Smbios/SmBios.c */
EFI_GUID constgEfiSmbiosTableGuid = EFI_SMBIOS_TABLE_GUID;
EFI_GUID constgEfiSmbiosTableGuid = SMBIOS_TABLE_GUID;
#define SMBIOS_RANGE_START0x000F0000
#define SMBIOS_RANGE_END0x000FFFFF
/* '_SM_' in little endian: */
#define SMBIOS_ANCHOR_UINT32_LE 0x5f4d535f
#define EFI_ACPI_TABLE_GUID \
{ \
0xeb9d2d30, 0x2d88, 0x11d3, { 0x9a, 0x16, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } \
}
EFI_GUID gEfiAcpiTableGuid = ACPI_TABLE_GUID;
EFI_GUID gEfiAcpi20TableGuid = ACPI_20_TABLE_GUID;
#define EFI_ACPI_20_TABLE_GUID \
{ \
0x8868e871, 0xe4f1, 0x11d3, { 0xbc, 0x22, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 } \
}
EFI_GUID gEfiAcpiTableGuid = EFI_ACPI_TABLE_GUID;
EFI_GUID gEfiAcpi20TableGuid = EFI_ACPI_20_TABLE_GUID;
/*==========================================================================
* Fake EFI implementation
*/

Archive Download the corresponding diff file

Revision: 2636