![Sun Oracle Storage Tek T10000 Скачать руководство пользователя страница 265](http://html1.mh-extra.com/html/sun-oracle/storage-tek-t10000/storage-tek-t10000_reference-manual_1393179265.webp)
E20425-01 •
Appendix A Data Integrity Validation
247
Vendor Unique SB-2 CRC
#define NAME
"CRC-32"
#define WIDTH
32
#define POLY
0x04C11DB7
#define INIT
0xFFFFFFFF
#define INIT_REFLECTED
0xFFFFFFFF
#define REFIN
FALSE
#define REFOUT
FALSE
#define XOROUT
0XFFFFFFFF
#define CHECK
0xFC891918
/* NOTE: The CHECK is for the standard 9 byte test data of
* ASCII string "123456789"
*/
#define FICON
/***************************************************************************
*
* Function:
Main
* Purpose: Calculate the FICON (Single Byte) CRC32
* Args: none
* Return Value: none
* Remarks:
* CRC32 Generator Polinomial:
* 0x104C11DB7
*
* x^0+x^1+x^2+x^4+x^5+x^7+x^8+x^10+x^11+x^12+x^16+x^22+x^23+x^26+x^32
*
* The CRC 32 polinomial is a linear feedback shift register that will
* generate a Maximal Length Sequence, implemented here using a lookup
* table, to reduce the number of shift and XOR operations.
*
*************************************************************************/
int main(void)
{
uint32_t crc;
uint32_t cnt;
uint32_t blk_len;
uint8_t *blk_adr;
uint8_t test_data[]=
{
Figure 2. SB-2 CRC Program Example (Sheet 5 of 6)
Содержание Storage Tek T10000
Страница 14: ...Tables xiv T10000 Interface Reference Manual January 2011 E20425 01...
Страница 18: ...What s New xx T10000 Interface Reference Manual January 2011 E20425 01...
Страница 30: ...Considerations 12 T10000 Interface Reference Manual January 2011 E20425 01 Figure 5 Cascading Hubs...
Страница 82: ...Private Loop SCSI Target Discovery 64 T10000 Interface Reference Manual January 2011 E20425 01...
Страница 286: ...Glossary 268 T10000 Interface Reference Manual January 2011 E20425 01...