George Liu | bbe408c | 2023-08-07 16:45:15 +0800 | [diff] [blame] | 1 | option('tests', type: 'feature', value: 'enabled', description: 'Build tests') |
Brandon Kim | 1a3dc60 | 2022-06-17 11:34:33 -0700 | [diff] [blame] | 2 | |
Michael Shen | 57af3ff | 2022-10-17 21:21:04 +0000 | [diff] [blame] | 3 | # Timer constant |
Patrick Williams | 57d0517 | 2025-03-03 11:09:12 -0500 | [diff] [blame] | 4 | option( |
| 5 | 'read-interval-ms', |
| 6 | type: 'integer', |
| 7 | value: 10, |
| 8 | description: 'Read loop interval in millisecond (ms)', |
| 9 | ) |
Brandon Kim | 1a3dc60 | 2022-06-17 11:34:33 -0700 | [diff] [blame] | 10 | |
| 11 | # Memory constants |
Patrick Williams | 57d0517 | 2025-03-03 11:09:12 -0500 | [diff] [blame] | 12 | option( |
| 13 | 'memory-region-size', |
| 14 | type: 'integer', |
| 15 | value: 16384, |
| 16 | description: 'Memory size allcated', |
| 17 | ) |
Brandon Kim | 1a3dc60 | 2022-06-17 11:34:33 -0700 | [diff] [blame] | 18 | # Default value 4035215360 is 0xF0848000 below |
Patrick Williams | 57d0517 | 2025-03-03 11:09:12 -0500 | [diff] [blame] | 19 | option( |
| 20 | 'memory-region-offset', |
| 21 | type: 'integer', |
| 22 | value: 4035215360, |
| 23 | description: 'Where the memory region is located', |
| 24 | ) |
Brandon Kim | 1a3dc60 | 2022-06-17 11:34:33 -0700 | [diff] [blame] | 25 | |
| 26 | # Circular Buffer header constants |
Patrick Williams | 57d0517 | 2025-03-03 11:09:12 -0500 | [diff] [blame] | 27 | option( |
| 28 | 'bmc-interface-version', |
| 29 | type: 'integer', |
| 30 | value: 0, |
| 31 | description: 'BMC interface version to easily see compatibility', |
| 32 | ) |
| 33 | option( |
| 34 | 'queue-region-size', |
| 35 | type: 'integer', |
| 36 | value: 512, |
| 37 | description: 'Normal error queue region size', |
| 38 | ) |
| 39 | option( |
| 40 | 'ue-region-size', |
| 41 | type: 'integer', |
| 42 | value: 80, |
| 43 | description: 'Uncorrectable error region size', |
| 44 | ) |
Brandon Kim | 1a3dc60 | 2022-06-17 11:34:33 -0700 | [diff] [blame] | 45 | # Magic Number Array Constants |
Patrick Williams | 57d0517 | 2025-03-03 11:09:12 -0500 | [diff] [blame] | 46 | option( |
| 47 | 'magic-number-byte1', |
| 48 | type: 'integer', |
| 49 | value: 1, |
| 50 | description: 'Magic Number array[0] for validity, consists of 4 * uint32_t', |
| 51 | ) |
| 52 | option( |
| 53 | 'magic-number-byte2', |
| 54 | type: 'integer', |
| 55 | value: 2, |
| 56 | description: 'Magic Number array[1] for validity, consists of 4 * uint32_t', |
| 57 | ) |
| 58 | option( |
| 59 | 'magic-number-byte3', |
| 60 | type: 'integer', |
| 61 | value: 3, |
| 62 | description: 'Magic Number array[2] for validity, consists of 4 * uint32_t', |
| 63 | ) |
| 64 | option( |
| 65 | 'magic-number-byte4', |
| 66 | type: 'integer', |
| 67 | value: 4, |
| 68 | description: 'Magic Number array[3] for validity, consists of 4 * uint32_t', |
| 69 | ) |