CLASSIC
Modul: ea
Rolle: constitutive
Konfidenz: 95%
SNIP_CLASSIC_EA_SECTION_8_3_6_Ea_GetJobResult
Wortlaut
8.3.6 Ea_GetJobResult
[SWS_Ea_00090] Definition of API function Ea_GetJobResult ⌈
Service Name
Ea_GetJobResult
Syntax
MemIf_JobResultType Ea_GetJobResult (
void
)
Service ID [hex]
0x06
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
None
Parameters (inout)
None
Parameters (out)
None
▽
△
Return value
MemIf_JobResultType
MEMIF_JOB_OK: The last job has been finished successfully.
MEMIF_JOB_PENDING: The last job is waiting for execution or
currently being executed.
MEMIF_JOB_CANCELED: The last job has been canceled (which
means it failed).
MEMIF_JOB_FAILED: The last job was not finished successfully
(it failed).
MEMIF_BLOCK_INCONSISTENT: The requested block is
inconsistent, it may contain corrupted data.
MEMIF_BLOCK_INVALID: The requested block has been
invalidated, the requested operation can not be performed.
Description
Service to return the JobResult.
Available via
Ea.h
⌋
[SWS_Ea_00134]
Upstream requirements: SRS_BSW_00406
⌈If development error detection for the module EA is enabled: the function Ea_Get
JobResult shall check if the module state is MEMIF_UNINIT. If this is the case, the
function Ea_GetJobResult shall raise the development error EA_E_UNINIT and return
with MEMIF_JOB_FAILED.⌋
[SWS_Ea_00035]
Upstream requirements: SRS_BSW_00406
⌈The function Ea_GetJobResult shall return the status of the last job requested by the
NVRAM manager.⌋
[SWS_Ea_00174] ⌈Only those jobs which have been requested directly by the upper
layer shall have influence on the job result returned by the function Ea_GetJobResult.
I.e. jobs which are issued by the EA module itself in the course of internal management
operations shall not alter the job result.⌋
Note: To facilitate this, the EA module may have to implement a second set of local
variables to store the data for internal jobs.
Note: Internal management operations (e.g. "garbage collection") will only be invoked
in the context of jobs requested from the NvM. Whether they have to be done before
or after the requested job is the decision of the modules implementor and shall not be
detailed in this specification.
Versionen & Provenienz · Zugeordnete Anforderungen
Diese Angaben zeigt der Versions-Explorer.
Begründung & Zuweisungs-Evidenz
Cited verbatim in the snippet (deterministic citation).
Dokumenten-Herkunft & Rückverfolgbarkeit
| Spezifikations-Dokument | SWS_EEPROMAbstraction.pdf |
|---|---|
| Dokumentseite | Seite 30 |
| Ziel-Modul | ea (classic) |
| Ziel-Anforderung | SWS_Ea_00174 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |