forked from len0rd/rockbox
Instead of verifying the CRC before every access of the boot data, verify the CRC once at startup and set a flag to indicate the boot data is valid. Also add a framework to support multiple boot protocol versions. Firmware declares the maximum supported protocol version using a version byte in the boot data header. The bootloader chooses the highest version supported by it and the firmware when deciding what boot protocol to use. Change-Id: I810194625dc0833f026d2a23b8d64ed467fa6aca |
||
|---|---|---|
| .. | ||
| _ansi.h | ||
| adler32.h | ||
| ap_int.h | ||
| assert.h | ||
| bitarray.h | ||
| buflib.h | ||
| buflib_malloc.h | ||
| buflib_mempool.h | ||
| checksum.h | ||
| chunk_alloc.h | ||
| core_alloc.h | ||
| crc32-rkw.h | ||
| crc32.h | ||
| dbgcheck.h | ||
| diacritic.h | ||
| dir.h | ||
| dircache.h | ||
| dircache_redirect.h | ||
| disk_cache.h | ||
| file.h | ||
| file_internal.h | ||
| fileobj_mgr.h | ||
| filesystem-native.h | ||
| font_cache.h | ||
| fs_attr.h | ||
| fs_defines.h | ||
| gcc_extensions.h | ||
| inflate.h | ||
| linked_list.h | ||
| loader_strerror.h | ||
| lru.h | ||
| memset16.h | ||
| rb-loader.h | ||
| rb_namespace.h | ||
| rbendian.h | ||
| rbunicode.h | ||
| strcasecmp.h | ||
| strcasestr.h | ||
| string-extra.h | ||
| strlcat.h | ||
| strlcpy.h | ||
| strmemccpy.h | ||
| strnatcmp.h | ||
| strptokspn_r.h | ||
| strtok_r.h | ||
| timefuncs.h | ||
| version.h | ||
| vuprintf.h | ||
| zip.h | ||