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 /EDK/Foundation/Guid/FastBootExceptionInfo | |
download | zprj-master.tar.xz |
Diffstat (limited to 'EDK/Foundation/Guid/FastBootExceptionInfo')
-rw-r--r-- | EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.c | 27 | ||||
-rw-r--r-- | EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.h | 44 |
2 files changed, 71 insertions, 0 deletions
diff --git a/EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.c b/EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.c new file mode 100644 index 0000000..44347a6 --- /dev/null +++ b/EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.c @@ -0,0 +1,27 @@ +/*++ + +Copyright (c) 1999 - 2011 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. + +Module Name: + + FastBootExceptionInfo.c + +Abstract: + + +--*/ + +#include "Tiano.h" + +#include EFI_GUID_DEFINITION (FastBootExceptionInfo) + +EFI_GUID gFastBootExceptionInfoHobGuid = FAST_BOOT_EXCEPTION_INFO_HOB_GUID; + +EFI_GUID_STRING(&gFastBootExceptionInfoHobGuid, "FastBootExceptionInfoHob", "Fast Boot Exception Info HOB"); diff --git a/EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.h b/EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.h new file mode 100644 index 0000000..4d11816 --- /dev/null +++ b/EDK/Foundation/Guid/FastBootExceptionInfo/FastBootExceptionInfo.h @@ -0,0 +1,44 @@ +/*++ + +Copyright (c) 1999 - 2011 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. + +Module Name: + + FastBootExceptionInfo.h + +Abstract: + + This file defines the HOB data structure recording an Fast Boot exception + occurrence in PEI phase, which will be used/referenced by some DXE phase drivers. + +--*/ + +#ifndef _FAST_BOOT_EXCEPTION_INFO_HOB_GUID_H_ +#define _FAST_BOOT_EXCEPTION_INFO_HOB_GUID_H_ + +#include <PeiHob.h> +#include <FastBootDataDef.h> + +#define FAST_BOOT_EXCEPTION_INFO_HOB_GUID \ + { 0x4ed88276, 0xd4df, 0x4d03, 0x86, 0x61, 0x29, 0x58, 0x1, 0xb2, 0xda, 0x58 } + +EFI_FORWARD_DECLARATION (FAST_BOOT_EXCEPTION_INFO_HOB); + +typedef struct _FAST_BOOT_EXCEPTION_INFO_HOB { + EFI_HOB_GUID_TYPE Header; + EFI_GUID GuidName; + FAST_BOOT_EXCEPTION_TYPE FbExceptionType; + FAST_BOOT_EXCEPTION_CATEGORY FbExceptionCategory; +}; + +extern EFI_GUID gFastBootExceptionInfoHobGuid; + +#endif + |