User`s manual

.DIAGFCN
5-82
5
The B status indicates a test has decided not to run, due to some
conÞguration limitation (an example would be when the MCECC
tests report bypassed on a CPU that only contains parity-type
RAM). The B status will overwrite the M, N, and E status.
The P status will only ever be saved, if the previous status for the
test was B, M, N, or E. A P status will never overwrite an F status. If
a test is aborted before completion, the previous status will remain,
even if the test was passing up to the point of the abort.
The F status will overwrite all other values, and will never be
changed without a reset.
These status strings are appended together in the buffer supplied
by the caller. The initial delimiter character of each test result string
should be read by the calling function, and used as the character to
search for, when looking for separation between ÔwordsÕ of the
result. Each single test result string could have a different delimiter.
The 0 following each result string indicates the start of the next
result.
A hex dump of report data might look like:
100 00000204 (‘count’)
104 5F 72 61 6D 5F 71 75 69 6B 5F 51 75 69 63 6B 20 _ram_quik_Quick
114 57 72 69 74 65 2F 52 65 61 64 5F 4E 00 5F 72 61 Write/Read_N._ra
124 6D 5F 61 6C 74 73 5F 41 6C 74 65 72 6E 61 74 69 m_alts_Alternati
134 6E 67 20 4F 6E 65 73 2F 5A 65 72 6F 65 73 5F 4E ng Ones/Zeroes_N
144 00 5F 72 61 6D 5F 70 61 74 73 5F 50 61 74 74 65 ._ram_pats_Patte
154 72 6E 73 5F 4E 00 5F 72 61 6D 5F 61 64 72 5F 41 rns_N._ram_adr_A
164 64 64 72 65 73 73 61 62 69 6C 69 74 79 5F 4E 00 ddressability_N.
174 5F 72 61 6D 5F 63 6F 64 65 5F 43 6F 64 65 20 45 _ram_code_Code E
. . .
This function will return an integer status. 0 (zero) is returned upon
success. A result of -1 is returned if an error in the system call
function occurred:
if ( 0 <= size < 4 )
return -1;
if ( size == 4 )
write ‘count’ to ‘bufptr’ location in RAM
return 0;