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/Protocol/FastBootException | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'EDK/Foundation/Protocol/FastBootException')
-rw-r--r-- | EDK/Foundation/Protocol/FastBootException/FastBootException.c | 27 | ||||
-rw-r--r-- | EDK/Foundation/Protocol/FastBootException/FastBootException.h | 41 |
2 files changed, 68 insertions, 0 deletions
diff --git a/EDK/Foundation/Protocol/FastBootException/FastBootException.c b/EDK/Foundation/Protocol/FastBootException/FastBootException.c new file mode 100644 index 0000000..5c6bea1 --- /dev/null +++ b/EDK/Foundation/Protocol/FastBootException/FastBootException.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: + + FastBootException.c + +Abstract: + + +--*/ + +#include "Tiano.h" + +#include EFI_PROTOCOL_DEFINITION(FastBootException) + +EFI_GUID gFastBootExceptionProtocolGuid = FAST_BOOT_EXCEPTION_PROTOCOL_GUID; + +EFI_GUID_STRING(&gFastBootExceptionProtocolGuid, "FastBootException", "Fast Boot Exception Protocol"); diff --git a/EDK/Foundation/Protocol/FastBootException/FastBootException.h b/EDK/Foundation/Protocol/FastBootException/FastBootException.h new file mode 100644 index 0000000..4019ceb --- /dev/null +++ b/EDK/Foundation/Protocol/FastBootException/FastBootException.h @@ -0,0 +1,41 @@ +/*++ + +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: + + FastBootException.h + +Abstract: + + This file defines Fast Boot Exception abstraction protocol containing the + exception type and category, which is the indication of an exception occurrence. + +--*/ + +#ifndef _FAST_BOOT_EXCEPTION_H_ +#define _FAST_BOOT_EXCEPTION_H_ + +#include <FastBootDataDef.h> + +#define FAST_BOOT_EXCEPTION_PROTOCOL_GUID \ + {0x3da3f62e, 0x291e, 0x4224, 0x80, 0x5f, 0x2d, 0x5e, 0xb6, 0xb2, 0x9c, 0xe2} + +EFI_FORWARD_DECLARATION (FAST_BOOT_EXCEPTION_PROTOCOL); + +typedef struct _FAST_BOOT_EXCEPTION_PROTOCOL { + FAST_BOOT_EXCEPTION_TYPE FbExceptionType; + FAST_BOOT_EXCEPTION_CATEGORY FbExceptionCategory; +} FAST_BOOT_EXCEPTION_PROTOCOL; + +extern EFI_GUID gFastBootExceptionProtocolGuid; + +#endif |