|
| 1 | +/* IBM_PROLOG_BEGIN_TAG */ |
| 2 | +/* This is an automatically generated prolog. */ |
| 3 | +/* */ |
| 4 | +/* $Source: src/include/usr/lpc/lpc_reasoncodes.H $ */ |
| 5 | +/* */ |
| 6 | +/* OpenPOWER HostBoot Project */ |
| 7 | +/* */ |
| 8 | +/* Contributors Listed Below - COPYRIGHT 2014 */ |
| 9 | +/* [+] Google Inc. */ |
| 10 | +/* [+] International Business Machines Corp. */ |
| 11 | +/* */ |
| 12 | +/* */ |
| 13 | +/* Licensed under the Apache License, Version 2.0 (the "License"); */ |
| 14 | +/* you may not use this file except in compliance with the License. */ |
| 15 | +/* You may obtain a copy of the License at */ |
| 16 | +/* */ |
| 17 | +/* http://www.apache.org/licenses/LICENSE-2.0 */ |
| 18 | +/* */ |
| 19 | +/* Unless required by applicable law or agreed to in writing, software */ |
| 20 | +/* distributed under the License is distributed on an "AS IS" BASIS, */ |
| 21 | +/* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or */ |
| 22 | +/* implied. See the License for the specific language governing */ |
| 23 | +/* permissions and limitations under the License. */ |
| 24 | +/* */ |
| 25 | +/* IBM_PROLOG_END_TAG */ |
| 26 | +#ifndef __LPC_REASONCODES_H |
| 27 | +#define __LPC_REASONCODES_H |
| 28 | + |
| 29 | +#include <hbotcompid.H> |
| 30 | + |
| 31 | +namespace LPC |
| 32 | +{ |
| 33 | + enum LPCModuleId |
| 34 | + { |
| 35 | + MOD_LPCDD_INVALID_MODULE = 0x00, |
| 36 | + MOD_LPCDD_CHECKADDR = 0x01, |
| 37 | + MOD_LPCDD_READLPC = 0x02, |
| 38 | + MOD_LPCDD_WRITELPC = 0x03, |
| 39 | + MOD_LPCDD_CHECKFOROPBERRORS = 0x04, |
| 40 | + MOD_LPCDD_HWRESET = 0x05, |
| 41 | + MOD_CREATE_ALTMASTER = 0x06, |
| 42 | + MOD_READLPC = 0x07, |
| 43 | + MOD_WRITELPC = 0x08, |
| 44 | + }; |
| 45 | + |
| 46 | + enum LPCReasonCode |
| 47 | + { |
| 48 | + RC_INVALID_ADDR = LPC_COMP_ID | 0x01, |
| 49 | + RC_ECCB_ERROR = LPC_COMP_ID | 0x02, |
| 50 | + RC_BAD_ARG = LPC_COMP_ID | 0x03, |
| 51 | + RC_OPB_ERROR = LPC_COMP_ID | 0x04, |
| 52 | + RC_UNSUPPORTED_OPERATION = LPC_COMP_ID | 0x05, |
| 53 | + RC_ALTMASTER_EXISTS = LPC_COMP_ID | 0x06, |
| 54 | + RC_CANT_USE_MASTER = LPC_COMP_ID | 0x07, |
| 55 | + RC_CANT_USE_SENTINEL = LPC_COMP_ID | 0x08, |
| 56 | + RC_BAD_TARGET = LPC_COMP_ID | 0x09, |
| 57 | + }; |
| 58 | +}; |
| 59 | + |
| 60 | +#endif |
0 commit comments