Commit | Tree | Parents | Author | Summary | Date |
---|
4e4e601ab894 | 613e041be40b | 81225678e44a | Landon Fuller | Fix comment spelling errors. | Nov 26 2016, 12:41 AM |
81225678e44a | 7456f2fc9c0b | d180df082138 | Landon Fuller | Fix style(9) issue. | Nov 26 2016, 12:32 AM |
d180df082138 | 87c35bbe618b | b3fcd2898523 | Landon Fuller | Drop unused bhnd_nvram.c | Nov 25 2016, 11:48 PM |
b3fcd2898523 | d88377ae3a50 | a06b62161c43 | Landon Fuller | Drop unused bhnd_nvram_array_type(). | Nov 25 2016, 11:45 PM |
a06b62161c43 | 822dfc22d71d | d29a52ca61bc | Landon Fuller | Explicitly free the NVRAM value instance on error. | Nov 25 2016, 11:31 PM |
d29a52ca61bc | 79b7f08a4084 | 4bb21cbbe3f1 | Landon Fuller | Quiesce static analyzer warnings about a potential copy to a NULL buffer -- if… (Show More…) | Nov 25 2016, 11:27 PM |
4bb21cbbe3f1 | 2ca853ec1fd3 | 116f0786f266 | Landon Fuller | Quiesce static analyzer warnings regarding unused nbytes initialization value. | Nov 25 2016, 11:26 PM |
116f0786f266 | 4026f9be516e | 89ffc6f5d946 | Landon Fuller | Add missing assert message. | Nov 25 2016, 11:21 PM |
89ffc6f5d946 | 4630769e8ab7 | d00272f3673b 9d88d8c808ca | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Nov 25 2016, 11:18 PM |
d00272f3673b | 20458ab10a3a | 85b959d297ff | Landon Fuller | Sync with upstream. | Nov 25 2016, 10:06 PM |
85b959d297ff | 26d192b2f4ef | 72e28ed30304 | Landon Fuller | If a mirrored header variable is marked as stale, give the header value… (Show More…) | Nov 25 2016, 9:57 PM |
72e28ed30304 | a92c98b6a1f1 | ee10d7c47bf4 | Landon Fuller | Track the actual envp pointer of mirrored NVRAM header variables. | Nov 25 2016, 9:31 PM |
ee10d7c47bf4 | c83ed474f470 | ee8f4f02b46a | Landon Fuller | Rename bhnd_nvram_header -> bhnd_nvram_bcmhdr | Nov 25 2016, 9:04 PM |
ee8f4f02b46a | 507f4d78918f | 994445c767d3 | Landon Fuller | Track stale header-defined variables. | Nov 25 2016, 9:02 PM |
994445c767d3 | 68531df71302 | b6f26b9944ff | Landon Fuller | Rename bhnd_nvram_bcmdata -> bhnd_nvram_bcm_hvar. | Nov 25 2016, 8:41 PM |
b6f26b9944ff | f989add4c093 | 73161cbc72ee | Landon Fuller | When encoding hexadecimal values, revert to decimal string encoding for… (Show More…) | Nov 24 2016, 9:03 PM |
73161cbc72ee | 40cd315577e3 | 611e28e80169 | Landon Fuller | Use bhnd_nvram_val_bcm_string_fmt as the fallback format for all NVRAM string… (Show More…) | Nov 24 2016, 9:02 PM |
611e28e80169 | 79c68c188d7c | 2d566f49addb | Landon Fuller | Default to the bcm-string format for char[] arrays. | Nov 24 2016, 9:01 PM |
2d566f49addb | c7e0f2f74d65 | 461baaa058d9 | Landon Fuller | Convert all remaining uses of bhnd_nvram_sfmt over to bhnd_nvram_val_fmt_t. | Nov 24 2016, 8:21 PM |
461baaa058d9 | d1493ab63e49 | 825e3e440431 | Landon Fuller | Replace all non-hinted calls to bhnd_nvram_coerce_bytes() with… (Show More…) | Nov 24 2016, 7:05 PM |
825e3e440431 | 0f53e8fadd43 | 1c26bebfe017 | Landon Fuller | Define bhnd_nvram_value_coerce() as a replacement for bhnd_nvram_coerce_bytes(). | Nov 24 2016, 7:00 PM |
1c26bebfe017 | 0e7704bf5448 | 57f7aa74b3cd | Landon Fuller | Add missing vprintf() variant of bhnd_nvram_value_printf(). | Nov 24 2016, 6:55 PM |
57f7aa74b3cd | 1befa73fede2 | 5e923febe2d0 | Landon Fuller | Add handling of non-integer-string values to the bcm_leddc type. | Nov 24 2016, 6:50 PM |
5e923febe2d0 | 029343e6b17f | e9521d51186b | Landon Fuller | Add Broadcom-specific handling of non-octet-string values to the previously… (Show More…) | Nov 24 2016, 6:42 PM |
e9521d51186b | 93e712e84a09 | 83ae44136ec9 | Landon Fuller | Ensure that bcm_hex/bcm_int accepts arbitrary string values, preserving the… (Show More…) | Nov 24 2016, 6:36 PM |
83ae44136ec9 | 2efab581911a | 99ed7e08b4f5 | Landon Fuller | Pad bcm_int hexadecimal string values out to their native width (e.g. 2… (Show More…) | Nov 24 2016, 6:32 PM |
99ed7e08b4f5 | 0f5a9f6709ae | 5144d306068d | Landon Fuller | Add value printf support for specifying repeat count, width, and precision as… (Show More…) | Nov 24 2016, 6:13 PM |
5144d306068d | b56fe7bede91 | 34697f7ce155 | Landon Fuller | Fix out-of-sync value format declarations. | Nov 24 2016, 4:56 PM |
34697f7ce155 | dc1057f5b0d7 | b1bc0c1db819 | Landon Fuller | Unify the hex and decimal integer implementations. | Nov 24 2016, 3:30 AM |
b1bc0c1db819 | b376168a60e7 | c6f7e72d7ac6 | Landon Fuller | Expose the generic op_next, op_encode, and op_encode_elem implementations for… (Show More…) | Nov 24 2016, 3:14 AM |
c6f7e72d7ac6 | d84d38bdba09 | 25ea36fa91f4 | Landon Fuller | Move the LEDDC format documentation comment to its encode implementation… (Show More…) | Nov 24 2016, 2:54 AM |
25ea36fa91f4 | 53804887adf0 | 7fdb4c42d85a | Landon Fuller | Revert "Add support for overriding initialization data encoding in a value… (Show More…) | Nov 24 2016, 2:48 AM |
7fdb4c42d85a | 3c93fd57169f | cb45d8ddc9a1 | Landon Fuller | Allow use of bcm_string_csv_fmt with string array values. | Nov 24 2016, 12:52 AM |
cb45d8ddc9a1 | d290ce3932e1 | ec9392258a48 | Landon Fuller | Add support for overriding initialization data encoding in a value format. | Nov 24 2016, 12:48 AM |
ec9392258a48 | 9f49d71e4eff | 50f429826a47 | Landon Fuller | Add bhnd_nvram_string_array_next() API for iterating string array values. | Nov 24 2016, 12:31 AM |
50f429826a47 | f30e07caa3a3 | 431f795002bf | Landon Fuller | Fix handling of NULL outp in bhnd_nvram_parse_int() | Nov 23 2016, 11:10 PM |
431f795002bf | 736b7b13de15 | 08d14a85ff7c | Landon Fuller | Extend op_filter() to allow delegating to an existing NVRAM format, allowing us… (Show More…) | Nov 23 2016, 5:37 AM |
08d14a85ff7c | d2a5ad56e436 | 24b367f85521 | Landon Fuller | Rename bhnd_nvram_value_types.c to bhnd_nvram_value_fmts.c, matching the new… (Show More…) | Nov 23 2016, 4:48 AM |
24b367f85521 | 6cf8495c3a53 | 61a9cbbf55da | Landon Fuller | Rename bhnd_nvram_val_type to bhnd_nvram_val_fmt. | Nov 23 2016, 4:47 AM |
61a9cbbf55da | a663c950aae2 | 89822527ddc6 | Landon Fuller | Drop unused bhnd_nvram_val_repr typedef. | Nov 23 2016, 4:27 AM |
89822527ddc6 | c79bbb1c99ae | 3a97c6bf40a4 | Landon Fuller | Rename bhnd_nvram_val_fmt() to bhnd_nvram_val_printf() | Nov 23 2016, 4:26 AM |
3a97c6bf40a4 | 6f6f45e42290 | 588cd96b16cb | Landon Fuller | Replace bhnd_nvram_value_fmt() uses with the simpler bhnd_nvram_val_fmt(). | Nov 23 2016, 3:51 AM |
588cd96b16cb | a84f87502c72 | 828997646d7c | Landon Fuller | Implement a generic bhnd_nvram_value_fmt() function and use it to implement… (Show More…) | Nov 23 2016, 3:46 AM |
828997646d7c | 22b117e0474a | cf62f6761189 | Landon Fuller | Stub out a custom value type for Broadcom LED duty-cycle values. | Nov 23 2016, 2:42 AM |
cf62f6761189 | 45b908bb366c | 916fdc14dcf0 | Landon Fuller | Format integers as decimal strings by default. | Nov 23 2016, 1:29 AM |
916fdc14dcf0 | df4c422f3b3b | a00e1efe4e57 | Landon Fuller | Minor improvements to the bhnd_nvram_val_vfmt() format string documentation. | Nov 23 2016, 1:21 AM |
a00e1efe4e57 | efe01ffac080 | 82e4a0ab15d5 | Landon Fuller | Add custom hex and decimal integer types to support… (Show More…) | Nov 23 2016, 12:51 AM |
82e4a0ab15d5 | 92f661ad0a40 | 9121e1599f15 | Landon Fuller | Rename bcmstr -> bcm_string | Nov 23 2016, 12:16 AM |
9121e1599f15 | 6ccf7c2ac778 | 1da6093ac6f4 | Landon Fuller | Define an bhnd_nvram_val_op_filter callback to support value type definitions… (Show More…) | Nov 23 2016, 12:14 AM |
1da6093ac6f4 | 4e6747b13582 | 94d806626651 | Landon Fuller | Update MAC address NVRAM request to use the new array type. | Nov 22 2016, 11:43 PM |
94d806626651 | f0272b469b27 | 568fe009c82f | Landon Fuller | Integrate bhnd_nvram_val API to support custom NVRAM datasource-specific value… (Show More…) | Nov 22 2016, 11:39 PM |
568fe009c82f | 8519ba38b536 | 976ddaa650be 56c196dc250f | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Nov 22 2016, 11:08 PM |
976ddaa650be | 474f907f6f09 | 6ffe5b65accb 0513ff2788ed | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Nov 18 2016, 12:49 AM |
6ffe5b65accb | 03df98a48509 | a91c4fcf160e | Landon Fuller | Stub out a common bhnd_nvram_input_descriptor() function. | Nov 1 2016, 11:56 PM |
a91c4fcf160e | 381eddd2a957 | ff805571f834 | Landon Fuller | Stub out handling of array/appendable type validation. | Nov 1 2016, 11:17 PM |
ff805571f834 | b5b22fa9c6f8 | f2424f5dac33 | Landon Fuller | Add common function for computing array element count, and mapping a non-array… (Show More…) | Nov 1 2016, 9:57 PM |
f2424f5dac33 | 1c299125e94a | 3997eeee39b1 | Landon Fuller | | Nov 1 2016, 9:11 PM |
3997eeee39b1 | 25d3df930a94 | 9fba5961477a | Landon Fuller | Fix typo | Nov 1 2016, 8:34 PM |
9fba5961477a | eaa954f7a528 | bce352d10a07 | Landon Fuller | Switch bhnd_nvram_coerce_int() to bhnd_nvram_coerce_out_t/bhnd_nvram_coerce_in_t | Nov 1 2016, 1:58 AM |
bce352d10a07 | c9bffb01e2f1 | f45bd5abb442 | Landon Fuller | Define input/output descriptor data type for bhnd_nvram_coerce_value(), include… (Show More…) | Nov 1 2016, 1:46 AM |
f45bd5abb442 | f4103fd0fe21 | f02b45ebec4f | Landon Fuller | Add SPROM encoding support for the _ARRAY types. | Nov 1 2016, 12:36 AM |
f02b45ebec4f | 42fa280baf0a | 813809c5bede | Landon Fuller | Define the new _ARRAY type constants | Oct 31 2016, 11:53 PM |
813809c5bede | 10fb5978a546 | fedc65077b9c | Landon Fuller | Replace bhnd_nvram_type_width() with the array-type aware bhnd_nvram_value_size… (Show More…) | Oct 31 2016, 11:37 PM |
fedc65077b9c | 2235bed50c57 | 07e5c15a4b3f | Landon Fuller | | Oct 31 2016, 11:06 PM |
07e5c15a4b3f | 3ebe2e86e3fe | a9e65a3fa9de | Landon Fuller | Update for BHND_NVRAM_TYPE_CSTR -> BHND_NVRAM_TYPE_STRING rename | Oct 31 2016, 10:56 PM |
a9e65a3fa9de | 79f0b6e2260e | 3c098e188496 | Landon Fuller | Define explicit array variants of all data type constants. | Oct 31 2016, 9:35 PM |
3c098e188496 | e8e9faef0ea1 | b0c04fb691b7 | Landon Fuller | Rename BHND_NVRAM_TYPE_CSTR to BHND_NVRAM_TYPE_STRING | Oct 31 2016, 9:29 PM |
b0c04fb691b7 | fd2c04606855 | b63c48fdcc4b | Landon Fuller | Relying on POSIX's CHAR_BIT==8, Define BHND_NVRAM_TYPE_CHAR and… (Show More…) | Oct 31 2016, 9:24 PM |
b63c48fdcc4b | dfa8c031ebea | 672bd188e4e9 9aef7f0fb332 | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Oct 31 2016, 9:01 PM |
672bd188e4e9 | cded22698489 | 0941c7eaa5e7 | Landon Fuller | Fix memory leak | Oct 29 2016, 8:29 PM |
0941c7eaa5e7 | 9ef0e771216b | bab3c3295b5c | Landon Fuller | Fix merge issue. | Oct 29 2016, 8:29 PM |
bab3c3295b5c | 4493af9301a5 | d65dfe8b993d | Landon Fuller | Add formatting hint handling to bhnd_nvram_data_generic_rp_getvar(). | Oct 28 2016, 11:23 PM |
d65dfe8b993d | 0ca274fd8680 | 8bb7003596d8 | Landon Fuller | Define a common bhnd_nvram_data_getvar() implementation for classes supporting… (Show More…) | Oct 28 2016, 11:11 PM |
8bb7003596d8 | d0f81542e008 | 0bc84f557ebe | Landon Fuller | Drop hard-coded NVRAM key/value length limits. | Oct 28 2016, 10:51 PM |
0bc84f557ebe | e4bf699dac84 | 18e8fa1acff5 | Landon Fuller | Drop use of locale-dependent ctype functions where consistent C locale behavior… (Show More…) | Oct 28 2016, 10:38 PM |
18e8fa1acff5 | 623f84817505 | e12e86e7a05e | Landon Fuller | Add support for default input/output string field/array value delimiters when… (Show More…) | Oct 28 2016, 10:03 PM |
e12e86e7a05e | 24298979325a | 721d86fac6fc | Landon Fuller | Add missing adjustment of the total buffer size. | Oct 28 2016, 9:24 PM |
721d86fac6fc | 51fed7fd4f2e | 66e9155ee0df | Landon Fuller | Only overwrite the caller's result argument on success. | Oct 28 2016, 7:41 PM |
66e9155ee0df | c9d3af5c2788 | 2b805f4ed0c9 | Landon Fuller | Fix typo in comment. | Oct 28 2016, 7:36 PM |
2b805f4ed0c9 | b22505d1183b | ed63e6f9ad11 | Landon Fuller | Reject input data containing NUL in a non-terminating position. (Show More…) | Oct 28 2016, 7:32 PM |
ed63e6f9ad11 | 0288d8727ad3 | e6884d1130e4 | Landon Fuller | Reference count bhnd_nvram_data instances. | Oct 26 2016, 11:31 PM |
e6884d1130e4 | 38ad81fafb81 | 4d20bfd2081c | Landon Fuller | Stub out refcount initialization. | Oct 26 2016, 10:35 PM |
4d20bfd2081c | 6e9c7dc7cd0e | 177afbdc4e71 | Landon Fuller | Implement automatic identification of NVRAM data. | Oct 26 2016, 10:30 PM |
177afbdc4e71 | 8aaae8dc40cc | 6d3564fbb00c | Landon Fuller | Drop stale comment | Oct 26 2016, 10:29 PM |
6d3564fbb00c | 7bf70136f69d | c5ccb0bad2d7 | Landon Fuller | Use pthread mutexes for locking in the non-kernel build. | Oct 26 2016, 9:30 PM |
c5ccb0bad2d7 | 7993ee33867d | 96473311b497 | Landon Fuller | Fix incorrect calloc sizeof(). | Oct 26 2016, 9:30 PM |
96473311b497 | dbcc3ca6fac7 | 42b2d4441a31 | Landon Fuller | Allow representation of paths that do not have devpathXX aliases. | Oct 24 2016, 9:37 PM |
42b2d4441a31 | efc23402a4cd | f1f180d4481e | Landon Fuller | Index the cookiep values directly | Oct 24 2016, 8:28 PM |
f1f180d4481e | cd9a889ff7c1 | c1edf700d317 | Landon Fuller | Add locking to bhnd_nvram_store itself. | Oct 24 2016, 8:17 PM |
c1edf700d317 | e3ae8f9d25b7 | 1e2feb699c65 | Landon Fuller | Allocate the bhnd_nvram_store as an opaque struct type. | Oct 24 2016, 8:04 PM |
1e2feb699c65 | dc588162b89a | 96ab0a538e62 | Landon Fuller | Drop unused forward declarations | Oct 24 2016, 7:47 PM |
96ab0a538e62 | 3990aa38afe0 | 94f8fb94050c | Landon Fuller | Drop unused defines | Oct 24 2016, 7:46 PM |
94f8fb94050c | f006a15e0f5c | bc1aa879ab2e | Landon Fuller | Merge bhnd_nvram_impl.h into bhnd_nvram_private.h | Oct 24 2016, 7:45 PM |
bc1aa879ab2e | 094e3e0304c8 | c9418df0c3f2 | Landon Fuller | Drop redundant references to bhnd_nvram_impl.h | Oct 24 2016, 6:33 PM |
c9418df0c3f2 | 08bb00285b14 | 5cc9370b3753 | Landon Fuller | Adopt common BHND_NV_LOG() | Oct 24 2016, 6:25 PM |
5cc9370b3753 | f076c1d95524 | 0848aaff1c66 1f71b30c10c9 | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Oct 24 2016, 6:21 PM |
0848aaff1c66 | c6ba640acfbe | aa759dafed6d | Landon Fuller | Add '_data_' to all NVRAM data implementation file names. | Oct 24 2016, 6:20 PM |
aa759dafed6d | d0f12f014e04 | 292d40c5a2c7 | Landon Fuller | Merge CRC-8 code into bhnd_nvram_subr.c/bhnd_nvram_private.h | Oct 24 2016, 6:05 PM |
292d40c5a2c7 | add3ca09950b | ced86ad2185d | Landon Fuller | Merge bhnd_nvram_private_data.h into bhnd_nvram_private.h | Oct 24 2016, 5:59 PM |
ced86ad2185d | 4557168bf7c0 | bde7f6316fb0 | Landon Fuller | Fix userspace and OS X build | Oct 24 2016, 5:50 PM |
bde7f6316fb0 | d3ec0f9d6f64 | 0b0b2be033c2 | Landon Fuller | Unify bhnd_nvram_data_subr.c and bhnd_nvram_common.c as bhnd_nvram_subr.c. | Oct 23 2016, 11:59 PM |
0b0b2be033c2 | dff6bcd4806c | 039bdec43a26 | Landon Fuller | Initial unification of subr definition's headers. | Oct 23 2016, 11:44 PM |
039bdec43a26 | e0b2743b65d2 | fe439980d102 | Landon Fuller | Move CRC-8 table and definitions to standalone header/source files. | Oct 23 2016, 11:28 PM |
fe439980d102 | 4abec6183b6d | 955ded5cef66 | Landon Fuller | Zero-initialize the SPROM decode buffer; any output elements skipped during… (Show More…) | Oct 23 2016, 9:32 PM |
955ded5cef66 | e7d9c4e7a523 | 24ac7cba7293 | Landon Fuller | Drop unused spromreg header. | Oct 23 2016, 9:30 PM |
24ac7cba7293 | 2e2f39d685f5 | e86d261af8eb | Landon Fuller | Update to new bhnd_nvram_store API | Oct 23 2016, 9:13 PM |
e86d261af8eb | 1172f6688bac | 43c59eb0f3fc | Landon Fuller | Fix gcc cast warnings | Oct 23 2016, 9:11 PM |
43c59eb0f3fc | 546dee464259 | ada2225c7b29 | Landon Fuller | Rename bhnd_nvram_parser -> bhnd_nvram_store | Oct 23 2016, 9:09 PM |
ada2225c7b29 | 634ed73d732d | d08dacfcf427 | Landon Fuller | Unify the kernel/userspace bhnd_nvram_parser_init() | Oct 23 2016, 8:45 PM |
d08dacfcf427 | e2edfc0d8d6e | d51ceedba899 | Landon Fuller | Drop device_quiet() for SPROM/OTP devices. | Oct 21 2016, 10:53 PM |
d51ceedba899 | ef18e61266b6 | e4261c0ece22 | Landon Fuller | Rename bhnd_nvram_data_getcaps() to bhnd_nvram_data_caps() | Oct 21 2016, 10:47 PM |
e4261c0ece22 | 94149cd46e24 | 7af3f5653de0 | Landon Fuller | Add an NVRAM data class capability flag for device path handling. | Oct 21 2016, 10:44 PM |
7af3f5653de0 | ad653ba56d32 | 27e01d121f0e | Landon Fuller | Rename 'alen' to 'nelem' to match existing usage. | Oct 21 2016, 10:20 PM |
27e01d121f0e | 07a067e94781 | 2e55228615c8 | Landon Fuller | Adopt new nvram_map format and compact SPROM layout encoding. (Show More…) | Oct 21 2016, 10:04 PM |
2e55228615c8 | 6c327c607484 | 1e5ba75d9a13 50b1df2a7c44 | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Oct 21 2016, 6:22 PM |
1e5ba75d9a13 | 79c0d1996d5a | de7b6e87a121 | Landon Fuller | Fix ambiguity when parsing '-' delimited octet strings and signed integers. | Oct 10 2016, 10:37 PM |
de7b6e87a121 | f8d3d9b7c56e | 564aebc018fe | Landon Fuller | Fix sromrev reading and offset calculation when nr == 0 | Oct 10 2016, 10:19 PM |
564aebc018fe | 1b75e7dfa1ff | 1b1d62b9a0e3 | Landon Fuller | Try to log CRC errors when probing for the actual SPROM format. | Oct 10 2016, 9:36 PM |
1b1d62b9a0e3 | 07dbdaf51e0b | f8c19a5acb8e | Landon Fuller | Drop incorrect cctl definition | Oct 10 2016, 9:02 PM |
f8c19a5acb8e | 248d10758136 | af81add88fbe | Landon Fuller | Drop unused variables. | Oct 10 2016, 8:40 PM |
af81add88fbe | 66520b866db4 | fa599c665883 | Landon Fuller | <sys/bus.h> should only be included in the kernel build. | Oct 10 2016, 8:39 PM |
fa599c665883 | 33e215535aca | 61a18ee6a889 | Landon Fuller | Add assertion to quiesce static analyzer. | Oct 10 2016, 8:39 PM |
61a18ee6a889 | 3bd8103639c3 | 060e12d34bcd | Landon Fuller | Provide offsets assuming little-endian byte order. | Oct 10 2016, 4:09 AM |
060e12d34bcd | e107276d13c7 | 5073c4a023a4 | Landon Fuller | Extend bhnd_nvram_ident_octet_string() to support octets with less than two hex… (Show More…) | Oct 10 2016, 1:15 AM |
5073c4a023a4 | ec9a4eb6621f | 6b501142c5c0 | Landon Fuller | Fix widening of signed types parsed from C strings, and add missing code to… (Show More…) | Oct 10 2016, 12:43 AM |
6b501142c5c0 | 62dda61df1b1 | 4bc7bbb2673c | Landon Fuller | Fix incorrect variable signed-ness, (partially) adopt decimal formatting to… (Show More…) | Oct 9 2016, 11:55 PM |
4bc7bbb2673c | a2bd26328bc5 | 7b0938b18b4a | Landon Fuller | Break offset read+widening out into distinct function, fix broken widening of… (Show More…) | Oct 9 2016, 11:07 PM |
7b0938b18b4a | 342b8d3be7dd | 3e5141eb81ab | Landon Fuller | Drop unused parser code | Oct 8 2016, 11:01 PM |
3e5141eb81ab | c73c67fe8bc4 | b746e9ea1c5d | Landon Fuller | Add support for building the NVRAM outside the kernel. | Oct 8 2016, 10:59 PM |
b746e9ea1c5d | ead484bd257f | 54aec95e651a | Landon Fuller | Append generated header variables, rather than prepending. | Oct 8 2016, 9:28 PM |
54aec95e651a | 2b39ebc8648a | 4911f688cb1c | Landon Fuller | Give BCM-RAW a unique class description | Oct 8 2016, 4:02 AM |
4911f688cb1c | 5ad19cf354db | eb9b856aba70 | Landon Fuller | Add BCM-RAW support. | Oct 8 2016, 4:01 AM |
eb9b856aba70 | 42128488bb01 | 35469ad767fb | Landon Fuller | Drop unnecessary !isspace() check. | Oct 8 2016, 4:01 AM |
35469ad767fb | 2b515cb00681 | 3797adb53c46 | Landon Fuller | Fix alignment assertion error due to %/- operation ordering. | Oct 8 2016, 12:09 AM |
3797adb53c46 | ae1f0d889a9b | 5525a73614b4 | Landon Fuller | Fix underflow condition that occurs when the lower partition is empty. | Oct 7 2016, 11:46 PM |
5525a73614b4 | 05e7b8a38a85 | fdbe65de837e | Landon Fuller | Replace custom binary search implementation with bsearch(). | Oct 7 2016, 11:27 PM |
fdbe65de837e | 799e76428c4d | f11a12c925bc | Landon Fuller | Fix broken alignment assertion | Oct 7 2016, 11:09 PM |
f11a12c925bc | cacc9d12b97e | 6abfe9c1adf1 | Landon Fuller | Drop unused owidth variable. | Oct 7 2016, 11:06 PM |
6abfe9c1adf1 | e10ac463d365 | 3ea426ef163c | Landon Fuller | Switch to lowercase formatting of hex values to more closely match Broadcom's… (Show More…) | Oct 7 2016, 2:22 AM |
3ea426ef163c | 0caad0efc09a | b30fdcdd21b4 | Landon Fuller | Handle BHND_NVRAM_VF_IGNALL1 | Oct 7 2016, 2:14 AM |
b30fdcdd21b4 | cd4e021b6810 | 729af24f13d2 | Landon Fuller | Fix inverted mask/shift/swap operation ordering. | Oct 7 2016, 1:52 AM |
729af24f13d2 | 0635b6afc295 | 88ee162a2e78 | Landon Fuller | Fix incorrectly calculated il0macaddr offsets. | Oct 7 2016, 12:01 AM |
88ee162a2e78 | e54693ff643e | 1b58b3d8ef7e | Landon Fuller | Include the 'continue' flag on the segment that should be continued. | Oct 6 2016, 11:51 PM |
1b58b3d8ef7e | be2d6e3cde39 | 45e152902539 | Landon Fuller | Fix inverted NULL check | Oct 6 2016, 11:35 PM |
45e152902539 | e50556927e4f | 0ff964189e4c | Landon Fuller | Add support for defining variable description/help text | Oct 6 2016, 10:36 PM |
0ff964189e4c | 9d72a0ab801b | 7bab69f43e5f | Landon Fuller | Provide BHND_NVAR_<NAME>_MAXLEN constants for all array-typed variables | Oct 6 2016, 8:53 PM |
7bab69f43e5f | 4ef43d8d55c6 | 83b32247cbda | Landon Fuller | Switch to an OO-ish AST API to track parsed variable state. | Oct 6 2016, 7:51 PM |
83b32247cbda | 814c401055c1 | 246ae677a596 | Landon Fuller | Fix ccode offsets; read single char from each offset, not full char[2] array. | Oct 5 2016, 8:39 PM |
246ae677a596 | 65b74d4c9797 | 2d07e24072da | Landon Fuller | Validate the output width explicitly, rather than relying on owidth. | Oct 5 2016, 6:32 AM |
2d07e24072da | 7e91ee028e28 | 7aff46c6bdc5 | Landon Fuller | Simplify handling of missing terminating NUL. | Oct 5 2016, 6:22 AM |
7aff46c6bdc5 | fe5346c13df9 | 5e17fa5564f5 | Landon Fuller | Fix inverted NULL check. | Oct 5 2016, 6:10 AM |
5e17fa5564f5 | 7560704b04eb | efbe3abbebd0 | Landon Fuller | Avoid casting back and forth between p/env. | Oct 5 2016, 5:27 AM |
efbe3abbebd0 | a53623f570ce | b1611c0bdd91 | Landon Fuller | Fix record offset behavior. | Oct 5 2016, 5:14 AM |
b1611c0bdd91 | 3fc87b0a77fa | dc2e78d15f7a | Landon Fuller | Fix logic error in offset check. | Oct 5 2016, 5:04 AM |
dc2e78d15f7a | 9c70418fee3e | da9e864be368 | Landon Fuller | Fix incorrect use of iobuf-specific method implementation. | Oct 5 2016, 4:57 AM |
da9e864be368 | d6730bec762d | 4f3db080b039 | Landon Fuller | Add missing NUL char escape. | Oct 5 2016, 4:37 AM |
4f3db080b039 | 8965c65a5b28 | b7d77410c4ba | Landon Fuller | Implement TLV serialization | Oct 5 2016, 4:31 AM |
b7d77410c4ba | 967007890c43 | 7acf86745c37 | Landon Fuller | Clean up output buffer limit calculation. | Oct 5 2016, 4:05 AM |
7acf86745c37 | 070dc9db5cbc | a694969ce06f | Landon Fuller | Implement BCM serialization. | Oct 5 2016, 4:01 AM |
a694969ce06f | 41ded3516407 | ad7df78a8edd | Landon Fuller | Fix off-by-one error in output limit calculation. | Oct 5 2016, 4:01 AM |
ad7df78a8edd | 67e3422432a0 | fa450d5fa575 | Landon Fuller | Correctly handle NUL-terminated source data, and implement serialization… (Show More…) | Oct 5 2016, 1:32 AM |
fa450d5fa575 | 333a76dca36b | 46787f48b5ba | Landon Fuller | Clarify that the parsed SPROM image buffer will be sized exactly to the SPROM… (Show More…) | Oct 5 2016, 12:56 AM |
46787f48b5ba | d9040a4f0579 | 6c7d4955f16f | Landon Fuller | Stub out serialization support. | Oct 5 2016, 12:30 AM |
6c7d4955f16f | 7aa1540032c5 | a1f86915db76 | Landon Fuller | Fix advancement of hdrvar iteration, EOF detection, and fix incorrect parsing… (Show More…) | Oct 4 2016, 10:30 PM |
a1f86915db76 | bd7ba40aef3f | f4db9c9043c7 | Landon Fuller | Fix incorrect record parsing | Oct 4 2016, 10:16 PM |
f4db9c9043c7 | 62c56a9feba7 | 3c74dcf91c46 | Landon Fuller | Add support for vending header variables. | Oct 4 2016, 9:31 PM |
3c74dcf91c46 | 5de5805bb7dc | 0c5aeac32adb | Landon Fuller | Populate header variable data. | Oct 4 2016, 9:05 PM |
0c5aeac32adb | 6d3633357a7c | 5af49289b987 | Landon Fuller | Stub out header variable handling. | Oct 4 2016, 8:48 PM |
5af49289b987 | 24fde52ae1bb | 53290c418003 | Landon Fuller | Fix stale reference to BTXT in a comment. | Oct 4 2016, 8:47 PM |
53290c418003 | bd6bc4cd6207 | 98acb1b2dd64 | Landon Fuller | Implement baseline BCM NVRAM support. | Oct 4 2016, 7:38 PM |
98acb1b2dd64 | 02f5eeb281e0 | 8953bfbee5ec | Landon Fuller | Fix incorrect format string, and envp type. | Oct 4 2016, 7:37 PM |
8953bfbee5ec | eb37fe8c8947 | aa624bd4cb53 | Landon Fuller | Add a skeleton implementation of the BCM NVRAM data class. | Oct 4 2016, 6:37 AM |
aa624bd4cb53 | 1d3f209b6f7c | 87c93f863220 | Landon Fuller | Implement remaining methods for the TLV data class. | Oct 4 2016, 6:18 AM |
87c93f863220 | c2255728e08e | 3cfd2e783d45 | Landon Fuller | Minor whitespace cleanup | Oct 4 2016, 6:18 AM |
3cfd2e783d45 | 6eb44f1113db | 22118a2ea6d6 | Landon Fuller | Use the common bhnd_nvram_tlv_next_record() implementation during… (Show More…) | Oct 4 2016, 3:42 AM |
22118a2ea6d6 | e1a4b938a928 | db7ec5f4f23e | Landon Fuller | Determine the actual size of the TLV data prior to allocating our initial… (Show More…) | Oct 4 2016, 3:34 AM |
db7ec5f4f23e | 54ee8cffde8e | 4ec22859a9dd | Landon Fuller | Implement basic TLV parsing | Oct 4 2016, 2:02 AM |
4ec22859a9dd | fdd37412c4c1 | 69d1e33eb177 | Landon Fuller | Drop all remaining legacy use of bhnd_nvram_format | Oct 3 2016, 11:47 PM |
69d1e33eb177 | 5f4a8f72a1f1 | f19c86c89271 | Landon Fuller | Provide an NVRAM data class description string. | Oct 3 2016, 11:21 PM |
f19c86c89271 | a79de0efc35d | 1414cb3b929c | Landon Fuller | Drop unused bhnd_nvram_type_fmt() function. | Oct 3 2016, 10:57 PM |
1414cb3b929c | 81dd05a56574 | 728a46c43efa | Landon Fuller | Fix byte order when parsing ccode, add missing cctl definition. | Oct 3 2016, 10:42 PM |
728a46c43efa | 4594a0ccdb26 | 397c65239a20 | Landon Fuller | Replace legacy bhnd_sprom_parser implementation with the new common… (Show More…) | Oct 3 2016, 10:29 PM |
397c65239a20 | ce05c9ef8da3 | 6ba80fd4b5f3 | Landon Fuller | Add an NVRAM sprom data class. | Oct 3 2016, 10:20 PM |
6ba80fd4b5f3 | 0595ff781517 | f672bbefec8a | Landon Fuller | | Sep 23 2016, 2:15 AM |
f672bbefec8a | 1e34e445cc73 | 85d2bafd3d94 | Landon Fuller | Drop now unused bhnd_nvram_parse_octet_string() | Oct 1 2016, 11:52 PM |
85d2bafd3d94 | e2780c1553a2 | 7844b7f9c2c1 | Landon Fuller | s/bhnd_nvram_codec/bhnd_nvram_data/g | Oct 1 2016, 11:51 PM |
7844b7f9c2c1 | cf61e3afcec9 | bc9b591b16b8 | Landon Fuller | Initial migration of the bhnd_nvram_parser implementation over to the new… (Show More…) | Oct 1 2016, 11:01 PM |
bc9b591b16b8 | 53797171826a | 3445d04c9c83 | Landon Fuller | Fix (or quiesce) a number of issues discovered by the static analyzer. | Oct 1 2016, 6:32 AM |
3445d04c9c83 | b0441a971859 | 17d3d0d373c8 | Landon Fuller | Add missing include | Oct 1 2016, 5:20 AM |
17d3d0d373c8 | b18a462e9aa0 | aedfa9294e27 | Landon Fuller | Drop unused defines | Oct 1 2016, 5:12 AM |
aedfa9294e27 | 5b1e184fd628 | f37478ea7514 | Landon Fuller | Implement int -> string value coercion. | Oct 1 2016, 5:11 AM |
f37478ea7514 | 629f2884d73d | 646198b10694 | Landon Fuller | Implement int->int value coercion. | Oct 1 2016, 12:51 AM |
646198b10694 | 9f936579d6c7 | 36d777856c49 | Landon Fuller | Simplify the BHND_NVRAM_TYPE_* definitions. | Sep 30 2016, 11:57 PM |
36d777856c49 | c49e981ae0af | 307fbba436a3 | Landon Fuller | Add support for passing formatting hints to the bhnd_nvram_coerce APIs. | Sep 30 2016, 11:31 PM |
307fbba436a3 | 2bf6ce3e1ec5 | c79d0482ae2e | Landon Fuller | Stub out bhnd_nvram_coerce_int() | Sep 30 2016, 11:01 PM |
c79d0482ae2e | 3fd6942e4d56 | 6220982e09c4 | Landon Fuller | Implement generic BHND_NVRAM_TYPE_CSTR -> BHND_NVRAM_TYPE_<ANY> value coercion… (Show More…) | Sep 30 2016, 10:27 PM |
6220982e09c4 | 172f829e391f | f7ada5ab6217 | Landon Fuller | Stub out a type coercion API. | Sep 30 2016, 8:35 PM |
f7ada5ab6217 | 52bcf8339eb5 | 3462535d9d14 | Landon Fuller | Fix leak of iobuf instance in error path. | Sep 30 2016, 8:25 PM |
3462535d9d14 | 62bb1e129a9c | 8b296ae46ecb | Landon Fuller | Implement btxt getvar_ptr() support. | Sep 30 2016, 8:24 PM |
8b296ae46ecb | b5c8cadf8c90 | d5a3e300717e dba57f2e25f6 | Landon Fuller | Merge branch 'master' into user/landonf/bhnd/9005_nvram_handle | Sep 29 2016, 11:59 PM |
d5a3e300717e | 9e4ac823e9a5 | f4e13720b2b9 | Landon Fuller | Define getvar()/getvar_ptr() methods. | Sep 29 2016, 11:47 PM |
f4e13720b2b9 | 6b6e522534c9 | 0120dcaad381 | Landon Fuller | Document BHND_NVRAM_SIGNED_TYPE() | Sep 29 2016, 10:45 PM |
0120dcaad381 | 06eb5b973947 | acdb68037459 | Landon Fuller | Move broadcom/mips-specific CFE NVRAM driver to sys/mips/broadcom | Sep 29 2016, 10:42 PM |
acdb68037459 | 2cec4e12dda2 | 1c88c7b2104d | Landon Fuller | Unify the bhnd_nvram/bhnd_nvram_cfe driver. | Sep 29 2016, 10:36 PM |
1c88c7b2104d | 8f3489c4c90f | 4e15191a461b | Landon Fuller | Rename the new bhnd_nvram_parser API to bhnd_nvram_codec | Sep 29 2016, 9:43 PM |
4e15191a461b | 4e35d72218cc | 85076c49216e | Landon Fuller | Provide the data type and length during iteration. | Sep 29 2016, 12:43 AM |
85076c49216e | f80d16f4f23c | dafe58af83e0 | Landon Fuller | Define bhnd_nvram_parser_next(), and add a BTXT implementation. | Sep 28 2016, 11:44 PM |
dafe58af83e0 | e763c3766b3d | 06195c76cd97 | Landon Fuller | Implement basic Broadcom board text file parsing. | Sep 28 2016, 10:49 PM |
06195c76cd97 | d6ebb7293211 | a7454c62bfe9 | Landon Fuller | When operating on read/write pointers, allow specifying a minimum nbyte count. | Sep 28 2016, 10:46 PM |
a7454c62bfe9 | c60abb3188d9 | 5f7d4012a2a5 | Landon Fuller | Add bhnd_nvram_io_write() and bhnd_nvram_io_write_ptr(). | Sep 28 2016, 8:33 PM |
5f7d4012a2a5 | 1d0b73331cc8 | 065c07c08f99 | Landon Fuller | Stub out free() implementation. | Sep 28 2016, 7:48 PM |
065c07c08f99 | 724511b314e8 | 47e0ec64742f | Landon Fuller | Stub out TLV format probe. | Sep 28 2016, 7:36 PM |
47e0ec64742f | 4fc1983f04df | 886da495f9c5 | Landon Fuller | Stub out a Broadcom board text parser implementation. | Sep 28 2016, 7:22 PM |
886da495f9c5 | 20b0dd15b839 | d5c96133f8ca | Landon Fuller | Minor formatting / copyedit fixes | Sep 28 2016, 7:20 PM |
d5c96133f8ca | 0c9b886d08e3 | 2cae3e09d575 | Landon Fuller | Drop unused bhnd.h includes | Sep 28 2016, 7:16 PM |
2cae3e09d575 | 77d3795b8b1e | 32aca4f25281 | Landon Fuller | Clean up stray reference to bus_size_t. | Sep 28 2016, 7:15 PM |
32aca4f25281 | 394a0b01a6d1 | 66624254975d | Landon Fuller | Add missing include | Sep 28 2016, 7:15 PM |
66624254975d | 0283e4a4e5b6 | 861c50ec6df9 | Landon Fuller | Stub out new parser implementation, move legacy implementation to the side. | Sep 28 2016, 7:11 PM |
861c50ec6df9 | 61c2516bcec2 | a96bb2d017d0 | Landon Fuller | Add support for creating buffer-backed I/O context by copying an existing I/O… (Show More…) | Sep 28 2016, 12:16 AM |
a96bb2d017d0 | f0c9523983d4 | 7a8c22c94991 | Landon Fuller | Always copy bhnd_nvram_iobuf's source data. | Sep 27 2016, 11:57 PM |
7a8c22c94991 | 41a3515ce01a | fba54b7a141e | Landon Fuller | Stub out support for calculating the length of an indexed record. | Sep 27 2016, 9:57 PM |
fba54b7a141e | 7e5d900a6318 | bc5b85a5122f | Landon Fuller | Extend bhnd_nvram_keycmp() to support '='-terminated strings, eliminating the… (Show More…) | Sep 27 2016, 9:10 PM |
bc5b85a5122f | 1dc8b91190be | aff012628a30 | Landon Fuller | Drop unused varmap declarations. | Sep 27 2016, 9:09 PM |
aff012628a30 | c992c2d9aa50 | ed070a76fd5a | Landon Fuller | Fix comment typo. | Sep 27 2016, 8:39 PM |
ed070a76fd5a | aa5a90fe2850 | ec12ae90f6d0 | Landon Fuller | Expose the BHND nvram key/value string length limit constants. | Sep 24 2016, 12:40 AM |
ec12ae90f6d0 | e4d2ccbea4a7 | 2627a6d29d2a | Landon Fuller | Drop our varmap implementation in favor of libnv. | Sep 27 2016, 8:31 PM |
2627a6d29d2a | d40760f3c83a | aa1bcdd04b36 | Landon Fuller | Migrate bhnd_nvram_parser to the new bhnd_nvram_io API. | Sep 27 2016, 8:08 PM |
aa1bcdd04b36 | ea12ef5710a9 | d17da5b35b56 | Landon Fuller | Migrate bhnd_nvram_parser_identify() over to the bhnd_nvram_io API. | Sep 27 2016, 7:44 PM |
d17da5b35b56 | 820accd79b67 | 0d99b1da19a7 | Landon Fuller | Gaurantee that bhnd_nvram_io_read() will always return the requested number of… (Show More…) | Sep 27 2016, 6:56 PM |
0d99b1da19a7 | 11c8fa55b5aa | 4b0bc81b287c | Landon Fuller | Migrate bhnd_nvram_cfe driver to the new bhnd_nvram_io API. | Sep 27 2016, 6:28 PM |
4b0bc81b287c | 1ad182682da1 | 66e0b2d3dbc6 | Landon Fuller | Migrate the bhnd_io_nvram API size/offset datatype from bus_size_t to size_t. | Sep 27 2016, 5:51 PM |
66e0b2d3dbc6 | 3e5671d0e156 | 6a849d3895b8 | Landon Fuller | Migrate the bhnd_io_nvram API size/offset datatype from bus_size_t to size_t. | Sep 27 2016, 5:41 PM |
6a849d3895b8 | a719862bdc93 | 5d9fc9567a36 | Landon Fuller | Stub out CFE-based bhnd_nvram_io support. | Sep 27 2016, 6:51 AM |
5d9fc9567a36 | c6eee87a1582 | d228720b90d4 | Landon Fuller | Fix 32-bit format string issue. | Sep 27 2016, 3:35 AM |
d228720b90d4 | 229e5add87c5 | 260b5730cd99 | Landon Fuller | Migrate bhnd_sprom to the bhnd_nvram_io API. | Sep 27 2016, 12:18 AM |
260b5730cd99 | b2d445615c90 | ddd7b97a3f41 | Landon Fuller | Define an abstract NVRAM I/O API. | Sep 26 2016, 11:29 PM |
ddd7b97a3f41 | 77eead491058 | 2683014cf2e4 | Landon Fuller | Fix minor comment typos. | Sep 24 2016, 4:32 AM |