SNIP_CLASSIC_OS_SECTION_8_4_24_StartCore
Wortlaut
8.4.24 StartCore
[SWS_Os_00676] Definition of API function StartCore
Upstream requirements: SRS_Os_80006
⌈
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
⌋
[SWS_Os_00677]
Upstream requirements: SRS_Os_80006
⌈The function StartCore shall start one core that shall run under the control of the
AUTOSAR OS.⌋
[SWS_Os_00678]
Upstream requirements: SRS_Os_80006
⌈Calls to the StartCore function after StartOS shall return with E_OS_ACCESS and
the core shall not be started.⌋
[SWS_Os_00679]
Upstream requirements: SRS_Os_80006
⌈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.⌋
[SWS_Os_00681]
Upstream requirements: SRS_Os_80006
⌈There is no call to the ErrorHook if an error occurs during StartCore.⌋
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 198 |
| Ziel-Modul | os (classic) |
| Ziel-Anforderung | SWS_Os_00790 |
| Semantische Rolle | constitutive |
| Automatisierungs-Konfidenz | 0.95 |