sys/contrib/dev/acpica/source/compiler/aslmessages.c
/*******************************************************************************
 *
 * FUNCTION:    AeBuildFullExceptionCode
 *
 * PARAMETERS:  Level               - ASL error level
 *              MessageId           - ASL exception code to be formatted
 *
 * RETURN:      Fully encoded exception code
 *
 * DESCRIPTION: Build the full exception code from the error level and the
 *              actual message ID.
 *
 ******************************************************************************/
AeBuildFullExceptionCode
PARAMETERS:  Level               - ASL error level
MessageId           - ASL exception code to be formatted

Fully encoded exception code

Build the full exception code from the error level and the
actual message ID.
AeBuildFullExceptionCode PARAMETERS : Level - ASL error level MessageId - ASL exception code to be formatted Fully encoded exception code Build the full exception code from the error level and the actual message ID .
UINT16
AeBuildFullExceptionCode (
    UINT8                   Level,
    UINT16                  MessageId)
{
    return (((Level + 1) * 1000) + MessageId);
}
UINT16 AeBuildFullExceptionCode ( UINT8 Level , UINT16 MessageId ) { return ( ( ( Level + 1 ) * 1000 ) + MessageId ) ; }
FUNCTION:    AeBuildFullExceptionCode
 PARAMETERS:  Level               - ASL error level
              MessageId           - ASL exception code to be formatted
FUNCTION : AeBuildFullExceptionCode PARAMETERS : Level - ASL error level MessageId - ASL exception code to be formatted
/*
     * Error level is in the thousands slot (error/warning/remark, etc.)
     * Error codes are 0 - 999
     */