diff options
author | ian <ian@FreeBSD.org> | 2013-11-15 23:37:33 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-11-15 23:37:33 +0000 |
commit | 5e5ddd0a2aa743367740299ac4635ce8f201cff7 (patch) | |
tree | d366a01ea21acead28dfd720d36e99e03b2a475b /contrib/gcclibs/libcpp/mkdeps.c | |
parent | 783ea12c57c49af29e098546df1616a6fe7cbd1e (diff) | |
download | FreeBSD-src-5e5ddd0a2aa743367740299ac4635ce8f201cff7.zip FreeBSD-src-5e5ddd0a2aa743367740299ac4635ce8f201cff7.tar.gz |
Search for and validate the ONFI params as specified in the standard.
The ONFI spec states that at least two bytes of the signature ("ONFI")
must be present, and the CRC must be correct to have a valid parameter
page. If the page is not valid there are at least two backup pages where
the data can also be found.
Submitted by: Kristof Provost <kristof@sigsegv.be> (cleanup) and me (orig).
Diffstat (limited to 'contrib/gcclibs/libcpp/mkdeps.c')
0 files changed, 0 insertions, 0 deletions