diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /ReferenceCode/Haswell/Guid/SmramCpuDataHeader | |
download | zprj-master.tar.xz |
Diffstat (limited to 'ReferenceCode/Haswell/Guid/SmramCpuDataHeader')
-rw-r--r-- | ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.c | 24 | ||||
-rw-r--r-- | ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.h | 32 |
2 files changed, 56 insertions, 0 deletions
diff --git a/ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.c b/ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.c new file mode 100644 index 0000000..76f25fe --- /dev/null +++ b/ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.c @@ -0,0 +1,24 @@ +/** @file + GUIDs used for SMRAM CPU DATA Header as signature for search + +@copyright + Copyright (c) 2011 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains 'Framework Code' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may not be modified, except as allowed by + additional terms of your license agreement. +**/ +#include "Tiano.h" +#include EFI_GUID_DEFINITION (SmramCpuDataHeader) + +EFI_GUID gSmramCpuDataHeaderGuid = SMRAM_CPU_DATA_HEADER_GUID; + +EFI_GUID_STRING(&gSmramCpuDataHeaderGuid, "SMRAM CPU DATA Header", "SMRAM CPU DATA Header GUID"); diff --git a/ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.h b/ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.h new file mode 100644 index 0000000..fd8c4ea --- /dev/null +++ b/ReferenceCode/Haswell/Guid/SmramCpuDataHeader/SmramCpuDataHeader.h @@ -0,0 +1,32 @@ +/** @file + GUIDs used for SMRAM CPU DATA Header signature + +@copyright + Copyright (c) 2011 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains 'Framework Code' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may not be modified, except as allowed by + additional terms of your license agreement. +**/ +#ifndef _SMRAM_CPU_DATA_HEADER_H_ +#define _SMRAM_CPU_DATA_HEADER_H_ + +/// +/// SMRAM CPU DATA Header for search by CpuS3Peim +/// +#define SMRAM_CPU_DATA_HEADER_GUID \ + { \ + 0x5848fd2d, 0xd6af, 0x474b, 0x82, 0x75, 0x95, 0xdd, 0xe7, 0x0a, 0xe8, 0x23 \ + } + +extern EFI_GUID gSmramCpuDataHeaderGuid; + +#endif |