EBC-C413/Power-on Self-Test (POST) Codes
v1.2
www.winsystems.com
Page 77
Appendix C. Power-on Self-Test (POST) Codes
If the system hangs before the BIOS can process the error, the value
displayed at the I/O port address
80h
is the code of the last successful
operation. In this case, the screen does not display an error code.
POST_CODE()
Use the
POST_CODE()
macro to output a number (Data) to the configured
I/O port or status code.
Prototype
#include "InsydeModulePkg/Include/PostCode.h" POST_CODE(Data)
Parameters
Data: Unsigned integer that specifies the POST Code value. Must be
between
0x00
and
0xff
.
POST Codes
POST codes are 8-bit unsigned integer values that are sent to a specific I/O
port (where hardware can decode and display the value) or to the DDT
debugger.
8-Bit POST Code Ranges
This table shows the overview of the 8-Bit POST code ranges used by
InsydeH2O.
Phase
POST Code Value Ranges
SEC
0x01 - 0x0F
PEI
0x70 - 0x9F
DXE
0x40 - 0x6F
BDS
0x10 - 0x3F
SMM
0xA0 - 0xBF
S3
0xC0 - 0xCF
ASL
0x51 - 0x55
0xE1 - 0xE4
PostBDS
0xF9 - 0xFE
Insyde H2ODDT Reserved
0xD0 - 0xD7