TianoCore EDK2 master
|
Go to the source code of this file.
Macros | |
#define | STM_SUCCESS 0x00000000 |
#define | SMM_SUCCESS 0x00000000 |
#define | ERROR_STM_SECURITY_VIOLATION (BIT31 | BIT16 | 0x0001) |
#define | ERROR_STM_CACHE_TYPE_NOT_SUPPORTED (BIT31 | BIT16 | 0x0002) |
#define | ERROR_STM_PAGE_NOT_FOUND (BIT31 | BIT16 | 0x0003) |
#define | ERROR_STM_BAD_CR3 (BIT31 | BIT16 | 0x0004) |
#define | ERROR_STM_PHYSICAL_OVER_4G (BIT31 | BIT16 | 0x0005) |
#define | ERROR_STM_VIRTUAL_SPACE_TOO_SMALL (BIT31 | BIT16 | 0x0006) |
#define | ERROR_STM_UNPROTECTABLE_RESOURCE (BIT31 | BIT16 | 0x0007) |
#define | ERROR_STM_ALREADY_STARTED (BIT31 | BIT16 | 0x0008) |
#define | ERROR_STM_WITHOUT_SMX_UNSUPPORTED (BIT31 | BIT16 | 0x0009) |
#define | ERROR_STM_STOPPED (BIT31 | BIT16 | 0x000A) |
#define | ERROR_STM_BUFFER_TOO_SMALL (BIT31 | BIT16 | 0x000B) |
#define | ERROR_STM_INVALID_VMCS_DATABASE (BIT31 | BIT16 | 0x000C) |
#define | ERROR_STM_MALFORMED_RESOURCE_LIST (BIT31 | BIT16 | 0x000D) |
#define | ERROR_STM_INVALID_PAGECOUNT (BIT31 | BIT16 | 0x000E) |
#define | ERROR_STM_LOG_ALLOCATED (BIT31 | BIT16 | 0x000F) |
#define | ERROR_STM_LOG_NOT_ALLOCATED (BIT31 | BIT16 | 0x0010) |
#define | ERROR_STM_LOG_NOT_STOPPED (BIT31 | BIT16 | 0x0011) |
#define | ERROR_STM_LOG_NOT_STARTED (BIT31 | BIT16 | 0x0012) |
#define | ERROR_STM_RESERVED_BIT_SET (BIT31 | BIT16 | 0x0013) |
#define | ERROR_STM_NO_EVENTS_ENABLED (BIT31 | BIT16 | 0x0014) |
#define | ERROR_STM_OUT_OF_RESOURCES (BIT31 | BIT16 | 0x0015) |
#define | ERROR_STM_FUNCTION_NOT_SUPPORTED (BIT31 | BIT16 | 0x0016) |
#define | ERROR_STM_UNPROTECTABLE (BIT31 | BIT16 | 0x0017) |
#define | ERROR_STM_UNSUPPORTED_MSR_BIT (BIT31 | BIT16 | 0x0018) |
#define | ERROR_STM_UNSPECIFIED (BIT31 | BIT16 | 0xFFFF) |
#define | ERROR_SMM_BAD_BUFFER (BIT31 | BIT17 | 0x0001) |
#define | ERROR_SMM_INVALID_RSC (BIT31 | BIT17 | 0x0004) |
#define | ERROR_SMM_INVALID_BUFFER_SIZE (BIT31 | BIT17 | 0x0005) |
#define | ERROR_SMM_BUFFER_TOO_SHORT (BIT31 | BIT17 | 0x0006) |
#define | ERROR_SMM_INVALID_LIST (BIT31 | BIT17 | 0x0007) |
#define | ERROR_SMM_OUT_OF_MEMORY (BIT31 | BIT17 | 0x0008) |
#define | ERROR_SMM_AFTER_INIT (BIT31 | BIT17 | 0x0009) |
#define | ERROR_SMM_UNSPECIFIED (BIT31 | BIT17 | 0xFFFF) |
#define | ERROR_INVALID_API (BIT31 | BIT17 | BIT16 | BIT15 | 0x0001) |
#define | ERROR_INVALID_PARAMETER (BIT31 | BIT17 | BIT16 | BIT15 | 0x0002) |
#define | STM_CRASH_PROTECTION_EXCEPTION (BIT31 | BIT30 | 0xF001) |
#define | STM_CRASH_PROTECTION_EXCEPTION_FAILURE (BIT31 | BIT30 | 0xF002) |
#define | STM_CRASH_DOMAIN_DEGRADATION_FAILURE (BIT31 | BIT30 | 0xF003) |
#define | STM_CRASH_BIOS_PANIC (BIT31 | BIT30 | 0xE000) |
Typedefs | |
typedef UINT32 | STM_STATUS |
STM Status Codes
Copyright (c) 2015 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file StmStatusCode.h.
#define ERROR_INVALID_API (BIT31 | BIT17 | BIT16 | BIT15 | 0x0001) |
Definition at line 64 of file StmStatusCode.h.
#define ERROR_INVALID_PARAMETER (BIT31 | BIT17 | BIT16 | BIT15 | 0x0002) |
Definition at line 65 of file StmStatusCode.h.
#define ERROR_SMM_AFTER_INIT (BIT31 | BIT17 | 0x0009) |
Definition at line 62 of file StmStatusCode.h.
#define ERROR_SMM_BAD_BUFFER (BIT31 | BIT17 | 0x0001) |
Definition at line 56 of file StmStatusCode.h.
#define ERROR_SMM_BUFFER_TOO_SHORT (BIT31 | BIT17 | 0x0006) |
Definition at line 59 of file StmStatusCode.h.
#define ERROR_SMM_INVALID_BUFFER_SIZE (BIT31 | BIT17 | 0x0005) |
Definition at line 58 of file StmStatusCode.h.
#define ERROR_SMM_INVALID_LIST (BIT31 | BIT17 | 0x0007) |
Definition at line 60 of file StmStatusCode.h.
#define ERROR_SMM_INVALID_RSC (BIT31 | BIT17 | 0x0004) |
Definition at line 57 of file StmStatusCode.h.
#define ERROR_SMM_OUT_OF_MEMORY (BIT31 | BIT17 | 0x0008) |
Definition at line 61 of file StmStatusCode.h.
#define ERROR_SMM_UNSPECIFIED (BIT31 | BIT17 | 0xFFFF) |
Definition at line 63 of file StmStatusCode.h.
#define ERROR_STM_ALREADY_STARTED (BIT31 | BIT16 | 0x0008) |
Definition at line 38 of file StmStatusCode.h.
#define ERROR_STM_BAD_CR3 (BIT31 | BIT16 | 0x0004) |
Definition at line 34 of file StmStatusCode.h.
#define ERROR_STM_BUFFER_TOO_SMALL (BIT31 | BIT16 | 0x000B) |
Definition at line 41 of file StmStatusCode.h.
#define ERROR_STM_CACHE_TYPE_NOT_SUPPORTED (BIT31 | BIT16 | 0x0002) |
Definition at line 32 of file StmStatusCode.h.
#define ERROR_STM_FUNCTION_NOT_SUPPORTED (BIT31 | BIT16 | 0x0016) |
Definition at line 52 of file StmStatusCode.h.
#define ERROR_STM_INVALID_PAGECOUNT (BIT31 | BIT16 | 0x000E) |
Definition at line 44 of file StmStatusCode.h.
#define ERROR_STM_INVALID_VMCS_DATABASE (BIT31 | BIT16 | 0x000C) |
Definition at line 42 of file StmStatusCode.h.
#define ERROR_STM_LOG_ALLOCATED (BIT31 | BIT16 | 0x000F) |
Definition at line 45 of file StmStatusCode.h.
#define ERROR_STM_LOG_NOT_ALLOCATED (BIT31 | BIT16 | 0x0010) |
Definition at line 46 of file StmStatusCode.h.
#define ERROR_STM_LOG_NOT_STARTED (BIT31 | BIT16 | 0x0012) |
Definition at line 48 of file StmStatusCode.h.
#define ERROR_STM_LOG_NOT_STOPPED (BIT31 | BIT16 | 0x0011) |
Definition at line 47 of file StmStatusCode.h.
#define ERROR_STM_MALFORMED_RESOURCE_LIST (BIT31 | BIT16 | 0x000D) |
Definition at line 43 of file StmStatusCode.h.
#define ERROR_STM_NO_EVENTS_ENABLED (BIT31 | BIT16 | 0x0014) |
Definition at line 50 of file StmStatusCode.h.
#define ERROR_STM_OUT_OF_RESOURCES (BIT31 | BIT16 | 0x0015) |
Definition at line 51 of file StmStatusCode.h.
#define ERROR_STM_PAGE_NOT_FOUND (BIT31 | BIT16 | 0x0003) |
Definition at line 33 of file StmStatusCode.h.
#define ERROR_STM_PHYSICAL_OVER_4G (BIT31 | BIT16 | 0x0005) |
Definition at line 35 of file StmStatusCode.h.
#define ERROR_STM_RESERVED_BIT_SET (BIT31 | BIT16 | 0x0013) |
Definition at line 49 of file StmStatusCode.h.
#define ERROR_STM_SECURITY_VIOLATION (BIT31 | BIT16 | 0x0001) |
Definition at line 31 of file StmStatusCode.h.
#define ERROR_STM_STOPPED (BIT31 | BIT16 | 0x000A) |
Definition at line 40 of file StmStatusCode.h.
#define ERROR_STM_UNPROTECTABLE (BIT31 | BIT16 | 0x0017) |
Definition at line 53 of file StmStatusCode.h.
#define ERROR_STM_UNPROTECTABLE_RESOURCE (BIT31 | BIT16 | 0x0007) |
Definition at line 37 of file StmStatusCode.h.
#define ERROR_STM_UNSPECIFIED (BIT31 | BIT16 | 0xFFFF) |
Definition at line 55 of file StmStatusCode.h.
#define ERROR_STM_UNSUPPORTED_MSR_BIT (BIT31 | BIT16 | 0x0018) |
Definition at line 54 of file StmStatusCode.h.
#define ERROR_STM_VIRTUAL_SPACE_TOO_SMALL (BIT31 | BIT16 | 0x0006) |
Definition at line 36 of file StmStatusCode.h.
#define ERROR_STM_WITHOUT_SMX_UNSUPPORTED (BIT31 | BIT16 | 0x0009) |
Definition at line 39 of file StmStatusCode.h.
#define SMM_SUCCESS 0x00000000 |
Definition at line 30 of file StmStatusCode.h.
#define STM_CRASH_BIOS_PANIC (BIT31 | BIT30 | 0xE000) |
Definition at line 69 of file StmStatusCode.h.
#define STM_CRASH_DOMAIN_DEGRADATION_FAILURE (BIT31 | BIT30 | 0xF003) |
Definition at line 68 of file StmStatusCode.h.
#define STM_CRASH_PROTECTION_EXCEPTION (BIT31 | BIT30 | 0xF001) |
Definition at line 66 of file StmStatusCode.h.
#define STM_CRASH_PROTECTION_EXCEPTION_FAILURE (BIT31 | BIT30 | 0xF002) |
Definition at line 67 of file StmStatusCode.h.
#define STM_SUCCESS 0x00000000 |
Success code have BIT31 clear. All error codes have BIT31 set. STM errors have BIT16 set. SMM errors have BIT17 set Errors that apply to both STM and SMM have bits BIT15, BT16, and BIT17 set. STM TXT.ERRORCODE codes have BIT30 set.
Definition at line 29 of file StmStatusCode.h.
typedef UINT32 STM_STATUS |
STM Status Codes
Definition at line 18 of file StmStatusCode.h.