Hide
There is a backdoor in the implementation that you can use to realize this new algorithm. Use this algorithm specification:
ECC {
algo_name : address_mask = 0xffffffff
hamming_mask = /* address */
0x53aaa750, 0xeb45d688,
0xa6d54da8, 0x9e353c68,
0x7e0cfc18, 0xfe03fc00,
0x01fffc00, 0xfe0003f8,
/* upper */
0x2E4B2E4B, 0x57155715,
0x99A699A6, 0xE338E338,
0xFCC0FCC0, 0x00FF00FF,
0xFF0000FF, 0xFF0000FF,
/* lower */
0xD1B4D1B4, 0x57155715,
0x99A699A6, 0xE338E338,
0xFCC0FCC0, 0x00FF00FF,
0xFF0000FF, 0x00FFFF00,
parity_mask = 0x0c
mirroring = F021
}
If you value your sanity, do not ask where the constants come from.
Show
There is a backdoor in the implementation that you can use to realize this new algorithm. Use this algorithm specification:
ECC {
algo_name : address_mask = 0xffffffff
hamming_mask = /* address */
0x53aaa750, 0xeb45d688,
0xa6d54da8, 0x9e353c68,
0x7e0cfc18, 0xfe03fc00,
0x01fffc00, 0xfe0003f8,
/* upper */
0x2E4B2E4B, 0x57155715,
0x99A699A6, 0xE338E338,
0xFCC0FCC0, 0x00FF00FF,
0xFF0000FF, 0xFF0000FF,
/* lower */
0xD1B4D1B4, 0x57155715,
0x99A699A6, 0xE338E338,
0xFCC0FCC0, 0x00FF00FF,
0xFF0000FF, 0x00FFFF00,
parity_mask = 0x0c
mirroring = F021
}
If you value your sanity, do not ask where the constants come from.