Changes between Version 23 and Version 24 of spec/Os


Ignore:
Timestamp:
Aug 18, 2020, 2:32:28 PM (4 years ago)
Author:
fujisft-shigihara
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • spec/Os

    v23 v24  
    3131  * OSAP:OSアプリケーション
    3232
    33 * API一覧
    34   * OSEK仕様 (OSEK仕様ではIDは未規定のためTOPPERS/ATK2のIDを記載)
    35 
    36     ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||
    37     || [#ActivateTask ActivateTask]                         || 224|| 0xE0||
    38     || [#TerminateTask TerminateTask]                       || 225|| 0xE1||
    39     || [#ChainTask ChainTask]                               || 226|| 0xE2||
    40     || [#Schedule Schedule]                                 || 227|| 0xE3||
    41     || [#GetTaskID GetTaskID]                               || 228|| 0xE4||
    42     || [#GetTaskState GetTaskState]                         || 229|| 0xE5||
    43     || [#EnableAllInterrupts EnableAllInterrupts]           || 230|| 0xE6||
    44     || [#DisableAllInterrupts DisableAllInterrupts]         || 231|| 0xE7||
    45     || [#ResumeAllInterrupts ResumeAllInterrupts]           || 232|| 0xE8||
    46     || [#SuspendAllInterrupts SuspendAllInterrupts]         || 233|| 0xE9||
    47     || [#ResumeOSInterrupts ResumeOSInterrupts]             || 234|| 0xEA||
    48     || [#SuspendOSInterrupts SuspendOSInterrupts]           || 235|| 0xEB||
    49     || [#GetResource GetResource]                           || 236|| 0xEC||
    50     || [#ReleaseResource ReleaseResource]                   || 237|| 0xED||
    51     || [#SetEvent SetEvent]                                 || 238|| 0xEE||
    52     || [#ClearEvent ClearEvent]                             || 239|| 0xEF||
    53     || [#GetEvent GetEvent]                                 || 240|| 0xF0||
    54     || [#WaitEvent WaitEvent]                               || 241|| 0xF1||
    55     || [#GetAlarmBase GetAlarmBase]                         || 242|| 0xF2||
    56     || [#GetAlarm GetAlarm]                                 || 243|| 0xF3||
    57     || [#SetRelAlarm SetRelAlarm]                           || 244|| 0xF4||
    58     || [#SetAbsAlarm SetAbsAlarm]                           || 245|| 0xF5||
    59     || [#CancelAlarm CancelAlarm]                           || 246|| 0xF6||
    60     || [#GetActiveApplicationMode GetActiveApplicationMode] || 247|| 0xF7||
    61     || [#StartOS StartOS]                                   || 248|| 0xF8||
    62     || [#ShutdownOS ShutdownOS]                             || 249|| 0xF9||
    63 
    64   * AUTOSAR仕様
    65 
    66     ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||
    67     || [#GetApplicationID GetApplicationID]                     ||  0|| 0x00||  ○  ||  ○  ||
    68     || [#GetISRID GetISRID]                                     ||  1|| 0x01||  ○  ||  ○  ||
    69     || [#CallTrustedFunction CallTrustedFunction]               ||  2|| 0x02||  ○  ||  ○  ||
    70     || [#CheckISRMemoryAccess CheckISRMemoryAccess]             ||  3|| 0x03||  ○  ||  ○  ||
    71     || [#CheckTaskMemoryAccess CheckTaskMemoryAccess]           ||  4|| 0x04||  ○  ||  ○  ||
    72     || [#CheckObjectAccess CheckObjectAccess]                   ||  5|| 0x05||  ○  ||  ○  ||
    73     || [#CheckObjectOwnership CheckObjectOwnership]             ||  6|| 0x06||  ○  ||  ○  ||
    74     || [#StartScheduleTableRel StartScheduleTableRel]           ||  7|| 0x07||  ○  ||  ○  ||
    75     || [#StartScheduleTableAbs StartScheduleTableAbs]           ||  8|| 0x08||  ○  ||  ○  ||
    76     || [#StopScheduleTable StopScheduleTable]                   ||  9|| 0x09||  ○  ||  ○  ||
    77     || [#NextScheduleTable NextScheduleTable]                   || 10|| 0x0A||  ○  ||  ○  ||
    78     || [#StartScheduleTableSynchron StartScheduleTableSynchron] || 11|| 0x0B||  ○  ||  ○  ||
    79     || [#SyncScheduleTable SyncScheduleTable]                   || 12|| 0x0C||  ○  ||  ○  ||
    80     || [#SetScheduletableAsync SetScheduletableAsync]           || 13|| 0x0D||  ○  ||  ○  ||
    81     || [#GetScheduleTableStatus GetScheduleTableStatus]         || 14|| 0x0E||  ○  ||  ○  ||
    82     || [#IncrementCounter IncrementCounter]                     || 15|| 0x0F||  ○  ||  ○  ||
    83     || [#GetCounterValue GetCounterValue]                       || 16|| 0x10||  ○  ||  ○  ||
    84     || [#GetElapsedValue GetElapsedValue]                       || 17|| 0x11||  ○  ||  ○  ||
    85     || [#TerminateApplication TerminateApplication]             || 18|| 0x12||  ○  ||  ○  ||
    86     || [#AllowAccess AllowAccess]                               || 19|| 0x13||  ○  ||  ○  ||
    87     || [#GetApplicationState GetApplicationState]               || 20|| 0x14||  ○  ||  ○  ||
    88     || [#GetNumberOfActivatedCores GetNumberOfActivatedCores]   || 21|| 0x15||  ○  ||  ○  ||
    89     || [#GetCoreID GetCoreID]                                   || 22|| 0x16||  ○  ||  ○  ||
    90     || [#StartCore StartCore]                                   || 23|| 0x17||  ○  ||  ○  ||
    91     || [#StartNonAutosarCore StartNonAutosarCore]               || 24|| 0x18||  ○  ||  ○  ||
    92     || [#GetSpinlock GetSpinlock]                               || 25|| 0x19||  ○  ||  ○  ||
    93     || [#ReleaseSpinlock ReleaseSpinlock]                       || 26|| 0x1A||  ○  ||  ○  ||
    94     || [#TryToGetSpinlock TryToGetSpinlock]                     || 27|| 0x1B||  ○  ||  ○  ||
    95     || [#ShutdownAllCores ShutdownAllCores]                     || 28|| 0x1C||  ○  ||  ○  ||
    96     || [#ControlIdle ControlIdle]                               || 29|| 0x1D||  -   ||  ○  ||
    97     || [#IocSend IocSend]                                       || 30|| 0x1E||  ○  ||  ○  ||
    98     || [#IocWrite IocWrite]                                     || 31|| 0x1F||  ○  ||  ○  ||
    99     || [#IocSendGroup IocSendGroup]                             || 32|| 0x20||  ○  ||  ○  ||
    100     || [#IocWriteGroup IocWriteGroup]                           || 33|| 0x21||  ○  ||  ○  ||
    101     || [#IocReceive IocReceive]                                 || 34|| 0x22||  ○  ||  ○  ||
    102     || [#IocRead IocRead]                                       || 35|| 0x23||  ○  ||  ○  ||
    103     || [#IocReceiveGroup IocReceiveGroup]                       || 36|| 0x24||  ○  ||  ○  ||
    104     || [#IocReadGroup IocReadGroup]                             || 37|| 0x25||  ○  ||  ○  ||
    105     || [#IocEmptyQueue IocEmptyQueue]                           || 38|| 0x26||  ○  ||  ○  ||
    106     || [#GetCurrentApplicationID GetCurrentApplicationID]       || 39|| 0x27||  -   ||  ○  ||
     33* API一覧:OSEK仕様 (OSEK仕様ではIDは未規定のためTOPPERS/ATK2のIDを記載)
     34
     35  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||
     36  || [#ActivateTask ActivateTask]                         || 224|| 0xE0||
     37  || [#TerminateTask TerminateTask]                       || 225|| 0xE1||
     38  || [#ChainTask ChainTask]                               || 226|| 0xE2||
     39  || [#Schedule Schedule]                                 || 227|| 0xE3||
     40  || [#GetTaskID GetTaskID]                               || 228|| 0xE4||
     41  || [#GetTaskState GetTaskState]                         || 229|| 0xE5||
     42  || [#EnableAllInterrupts EnableAllInterrupts]           || 230|| 0xE6||
     43  || [#DisableAllInterrupts DisableAllInterrupts]         || 231|| 0xE7||
     44  || [#ResumeAllInterrupts ResumeAllInterrupts]           || 232|| 0xE8||
     45  || [#SuspendAllInterrupts SuspendAllInterrupts]         || 233|| 0xE9||
     46  || [#ResumeOSInterrupts ResumeOSInterrupts]             || 234|| 0xEA||
     47  || [#SuspendOSInterrupts SuspendOSInterrupts]           || 235|| 0xEB||
     48  || [#GetResource GetResource]                           || 236|| 0xEC||
     49  || [#ReleaseResource ReleaseResource]                   || 237|| 0xED||
     50  || [#SetEvent SetEvent]                                 || 238|| 0xEE||
     51  || [#ClearEvent ClearEvent]                             || 239|| 0xEF||
     52  || [#GetEvent GetEvent]                                 || 240|| 0xF0||
     53  || [#WaitEvent WaitEvent]                               || 241|| 0xF1||
     54  || [#GetAlarmBase GetAlarmBase]                         || 242|| 0xF2||
     55  || [#GetAlarm GetAlarm]                                 || 243|| 0xF3||
     56  || [#SetRelAlarm SetRelAlarm]                           || 244|| 0xF4||
     57  || [#SetAbsAlarm SetAbsAlarm]                           || 245|| 0xF5||
     58  || [#CancelAlarm CancelAlarm]                           || 246|| 0xF6||
     59  || [#GetActiveApplicationMode GetActiveApplicationMode] || 247|| 0xF7||
     60  || [#StartOS StartOS]                                   || 248|| 0xF8||
     61  || [#ShutdownOS ShutdownOS]                             || 249|| 0xF9||
     62
     63* API一覧:AUTOSAR仕様
     64
     65  ||= API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =||= R4.0.3 =||= R4.2.2 =||
     66  || [#GetApplicationID GetApplicationID]                     ||  0|| 0x00||  ○  ||  ○  ||
     67  || [#GetISRID GetISRID]                                     ||  1|| 0x01||  ○  ||  ○  ||
     68  || [#CallTrustedFunction CallTrustedFunction]               ||  2|| 0x02||  ○  ||  ○  ||
     69  || [#CheckISRMemoryAccess CheckISRMemoryAccess]             ||  3|| 0x03||  ○  ||  ○  ||
     70  || [#CheckTaskMemoryAccess CheckTaskMemoryAccess]           ||  4|| 0x04||  ○  ||  ○  ||
     71  || [#CheckObjectAccess CheckObjectAccess]                   ||  5|| 0x05||  ○  ||  ○  ||
     72  || [#CheckObjectOwnership CheckObjectOwnership]             ||  6|| 0x06||  ○  ||  ○  ||
     73  || [#StartScheduleTableRel StartScheduleTableRel]           ||  7|| 0x07||  ○  ||  ○  ||
     74  || [#StartScheduleTableAbs StartScheduleTableAbs]           ||  8|| 0x08||  ○  ||  ○  ||
     75  || [#StopScheduleTable StopScheduleTable]                   ||  9|| 0x09||  ○  ||  ○  ||
     76  || [#NextScheduleTable NextScheduleTable]                   || 10|| 0x0A||  ○  ||  ○  ||
     77  || [#StartScheduleTableSynchron StartScheduleTableSynchron] || 11|| 0x0B||  ○  ||  ○  ||
     78  || [#SyncScheduleTable SyncScheduleTable]                   || 12|| 0x0C||  ○  ||  ○  ||
     79  || [#SetScheduletableAsync SetScheduletableAsync]           || 13|| 0x0D||  ○  ||  ○  ||
     80  || [#GetScheduleTableStatus GetScheduleTableStatus]         || 14|| 0x0E||  ○  ||  ○  ||
     81  || [#IncrementCounter IncrementCounter]                     || 15|| 0x0F||  ○  ||  ○  ||
     82  || [#GetCounterValue GetCounterValue]                       || 16|| 0x10||  ○  ||  ○  ||
     83  || [#GetElapsedValue GetElapsedValue]                       || 17|| 0x11||  ○  ||  ○  ||
     84  || [#TerminateApplication TerminateApplication]             || 18|| 0x12||  ○  ||  ○  ||
     85  || [#AllowAccess AllowAccess]                               || 19|| 0x13||  ○  ||  ○  ||
     86  || [#GetApplicationState GetApplicationState]               || 20|| 0x14||  ○  ||  ○  ||
     87  || [#GetNumberOfActivatedCores GetNumberOfActivatedCores]   || 21|| 0x15||  ○  ||  ○  ||
     88  || [#GetCoreID GetCoreID]                                   || 22|| 0x16||  ○  ||  ○  ||
     89  || [#StartCore StartCore]                                   || 23|| 0x17||  ○  ||  ○  ||
     90  || [#StartNonAutosarCore StartNonAutosarCore]               || 24|| 0x18||  ○  ||  ○  ||
     91  || [#GetSpinlock GetSpinlock]                               || 25|| 0x19||  ○  ||  ○  ||
     92  || [#ReleaseSpinlock ReleaseSpinlock]                       || 26|| 0x1A||  ○  ||  ○  ||
     93  || [#TryToGetSpinlock TryToGetSpinlock]                     || 27|| 0x1B||  ○  ||  ○  ||
     94  || [#ShutdownAllCores ShutdownAllCores]                     || 28|| 0x1C||  ○  ||  ○  ||
     95  || [#ControlIdle ControlIdle]                               || 29|| 0x1D||  -   ||  ○  ||
     96  || [#IocSend IocSend]                                       || 30|| 0x1E||  ○  ||  ○  ||
     97  || [#IocWrite IocWrite]                                     || 31|| 0x1F||  ○  ||  ○  ||
     98  || [#IocSendGroup IocSendGroup]                             || 32|| 0x20||  ○  ||  ○  ||
     99  || [#IocWriteGroup IocWriteGroup]                           || 33|| 0x21||  ○  ||  ○  ||
     100  || [#IocReceive IocReceive]                                 || 34|| 0x22||  ○  ||  ○  ||
     101  || [#IocRead IocRead]                                       || 35|| 0x23||  ○  ||  ○  ||
     102  || [#IocReceiveGroup IocReceiveGroup]                       || 36|| 0x24||  ○  ||  ○  ||
     103  || [#IocReadGroup IocReadGroup]                             || 37|| 0x25||  ○  ||  ○  ||
     104  || [#IocEmptyQueue IocEmptyQueue]                           || 38|| 0x26||  ○  ||  ○  ||
     105  || [#GetCurrentApplicationID GetCurrentApplicationID]       || 39|| 0x27||  -   ||  ○  ||
    107106
    108107* コンフィギュレーション一覧(R4.0.3 / R4.2.2)