Errors
Normative
The error and return codes a conformant memory driver reports. Development errors are only raised
when development error reporting is enabled (see enable_development_error_reporting in
Configuration Reference). Governed by CHI-MEM-MUST-05 and the per-service requirements in
Mem — Requirements.
Development errors
When development error reporting is enabled, each API detects the conditions below and raises the listed error via LogM_Report with development-error level.
API |
Condition |
Error id |
|---|---|---|
|
|
|
|
|
|
|
Driver not initialized |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A previous job is still being processed |
|
Development error type
Defines
Available via: MemIf_DriverTypes.h. Vendor-specific error definitions MUST be provided
via Mem.h instead.
Return values
In addition to E_OK / E_NOT_OK, the memory driver defines:
Value |
Meaning |
|---|---|
|
An optional service (suspend/resume, a hardware-specific service) is not implemented by the addressed instance. |
Job results
Job failures are reported through Mem_GetJobResult, not as development errors:
Result |
Meaning |
|---|---|
|
The operation failed. |
|
A blank check found the area not blank. |
|
A correctable ECC error occurred; the job still completed. |
|
An uncorrectable ECC error cancelled the job (set via |