diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2011-08-11 08:52:25 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2011-09-06 12:31:55 -0500 |
commit | 11ea7375f50c8e426e85ebdb4c2d9b67b8ecbb27 (patch) | |
tree | c26b58eee2d836827e2371d2f8a4ab2ff2299159 /src/include/usr/fsi | |
parent | f093b902e49a0ee46d232cd196ec48f88f801735 (diff) | |
download | talos-hostboot-11ea7375f50c8e426e85ebdb4c2d9b67b8ecbb27.tar.gz talos-hostboot-11ea7375f50c8e426e85ebdb4c2d9b67b8ecbb27.zip |
Implementing FSI driver
-Initial work for FSI Device Driver (Story 3334)
-Read/Write interface (Story 3550)
Code is capable of basic read and write operations provided that the
Simics models are updated
Note: contains early work for FSI Initialization that should be ignored for now
Change-Id: I08e795422de127b62c2d1629d7a4e0f12b21e348
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/287
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/fsi')
-rw-r--r-- | src/include/usr/fsi/fsi_reasoncodes.H | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/src/include/usr/fsi/fsi_reasoncodes.H b/src/include/usr/fsi/fsi_reasoncodes.H new file mode 100644 index 000000000..a82da1133 --- /dev/null +++ b/src/include/usr/fsi/fsi_reasoncodes.H @@ -0,0 +1,51 @@ +// IBM_PROLOG_BEGIN_TAG +// This is an automatically generated prolog. +// +// $Source: src/include/usr/fsi/fsi_reasoncodes.H $ +// +// IBM CONFIDENTIAL +// +// COPYRIGHT International Business Machines Corp. 2011 +// +// p1 +// +// Object Code Only (OCO) source materials +// Licensed Internal Code Source Materials +// IBM HostBoot Licensed Internal Code +// +// The source code for this program is not published or other- +// wise divested of its trade secrets, irrespective of what has +// been deposited with the U.S. Copyright Office. +// +// Origin: 30 +// +// IBM_PROLOG_END +#ifndef __FSI_REASONCODES_H +#define __FSI_REASONCODES_H + +#include <hbotcompid.H> + +namespace FSI +{ + enum FSIModuleId + { + MOD_FSIDD_INVALID = 0x00, /**< Zero is an invalid module id */ + MOD_FSIDD_WRITE = 0x01, /**< fsidd.C : FsiDD::write */ + MOD_FSIDD_READ = 0x02, /**< fsidd.C : FsiDD::read */ + MOD_FSIDD_VERIFYADDRESSRANGE = 0x03, /**< fsidd.C : verifyAddressRange */ + MOD_FSIDD_HANDLEOPBERRORS = 0x04, /**< fsidd.C : handleOpbErrors */ + MOD_FSIDD_DDREAD = 0x05, /**< fsidd.C : ddRead */ + MOD_FSIDD_DDWRITE = 0x06, /**< fsidd.C : ddWrite */ + }; + + enum FSIReasonCode + { + RC_INVALID_LENGTH = FSI_COMP_ID | 0x01, + RC_INVALID_ADDRESS = FSI_COMP_ID | 0x02, + RC_OPB_TIMEOUT = FSI_COMP_ID | 0x03, + RC_OPB_ERROR = FSI_COMP_ID | 0x04, + RC_INVALID_TARGET = FSI_COMP_ID | 0x05, + }; +}; + +#endif |