SNIP_CLASSIC_OS_SECTION_8_4_25_StartCore
Wortlaut
8.4.25 StartCore
[SWS_Os_00676] Definition of API function StartCore ⌈
Service Name
StartCore
Syntax
void StartCore (
CoreIdType CoreID,
StatusType* Status
)
Service ID [hex]
0x17
Sync/Async
Synchronous
Reentrancy
Non Reentrant
Parameters (in)
CoreID
Core identifier
Parameters (inout)
None
Parameters (out)
Status
Return value of the function in extended status: E_OK: No Error
E_OS_ID: Core ID is invalid. E_OS_ACCESS: The function was
called after starting the OS. E_OS_STATE: The Core is already
activated.
Return value of the function in standard status E_OK: No Error
Return value
None
Description
It is not supported to call this function after StartOS(). The function starts the core specified by
the parameter CoreID. The OUT parameter allows the caller to check whether the operation
was successful or not. If a core is started by means of this function StartOS shall be called on
the core.
Available via
Os.h
⌋(SRS_Os_80006)
[SWS_Os_00677] ⌈The function StartCore shall start one core that shall run under
the control of the AUTOSAR OS.⌋(SRS_Os_80006)
[SWS_Os_00678] ⌈Calls to the StartCore function after StartOS shall return with
E_OS_ACCESS and the core shall not be started.⌋(SRS_Os_80006)
[SWS_Os_00679] ⌈If the parameter CoreIDs refers to a core that was already started
by the function StartCore the related core is ignored and E_OS_STATE shall be
returned.⌋(SRS_Os_80006)
[SWS_Os_00681] ⌈There is no call to the ErrorHook if an error occurs during
StartCore.⌋(SRS_Os_80006)
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_OS.pdf |
|---|---|
| Dokumentseite | Seite 166 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_00790 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |