34 | | |
35 | | ||= OSEK仕様API =||||= TOPPERS/ATK2 =|| ||= AUTOSAR仕様API =||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| |
36 | | || OSEK仕様ではIDは未規定 ||= ID[[BR]][Dec] =||= ID[[BR]][Hex] =|| || || || || |
37 | | || [#ActivateTask ActivateTask] || 224|| 0xE0|| || [#GetApplicationID GetApplicationID] || 0|| 0x00|| |
38 | | || [#TerminateTask TerminateTask] || 225|| 0xE1|| || [#GetISRID GetISRID] || 1|| 0x01|| |
39 | | || [#ChainTask ChainTask] || 226|| 0xE2|| || [#CallTrustedFunction CallTrustedFunction] || 2|| 0x02|| |
40 | | || [#Schedule Schedule] || 227|| 0xE3|| || [#CheckISRMemoryAccess CheckISRMemoryAccess] || 3|| 0x03|| |
41 | | || [#GetTaskID GetTaskID] || 228|| 0xE4|| || [#CheckTaskMemoryAccess CheckTaskMemoryAccess] || 4|| 0x04|| |
42 | | || [#GetTaskState GetTaskState] || 229|| 0xE5|| || [#CheckObjectAccess CheckObjectAccess] || 5|| 0x05|| |
43 | | || [#EnableAllInterrupts EnableAllInterrupts] || 230|| 0xE6|| || [#CheckObjectOwnership CheckObjectOwnership] || 6|| 0x06|| |
44 | | || [#DisableAllInterrupts DisableAllInterrupts] || 231|| 0xE7|| || [#StartScheduleTableRel StartScheduleTableRel] || 7|| 0x07|| |
45 | | || [#ResumeAllInterrupts ResumeAllInterrupts] || 232|| 0xE8|| || [#StartScheduleTableAbs StartScheduleTableAbs] || 8|| 0x08|| |
46 | | || [#SuspendAllInterrupts SuspendAllInterrupts] || 233|| 0xE9|| || [#StopScheduleTable StopScheduleTable] || 9|| 0x09|| |
47 | | || [#ResumeOSInterrupts ResumeOSInterrupts] || 234|| 0xEA|| || [#NextScheduleTable NextScheduleTable] || 10|| 0x0A|| |
48 | | || [#SuspendOSInterrupts SuspendOSInterrupts] || 235|| 0xEB|| || [#StartScheduleTableSynchron StartScheduleTableSynchron] || 11|| 0x0B|| |
49 | | || [#GetResource GetResource] || 236|| 0xEC|| || [#SyncScheduleTable SyncScheduleTable] || 12|| 0x0C|| |
50 | | || [#ReleaseResource ReleaseResource] || 237|| 0xED|| || [#SetScheduletableAsync SetScheduletableAsync] || 13|| 0x0D|| |
51 | | || [#SetEvent SetEvent] || 238|| 0xEE|| || [#GetScheduleTableStatus GetScheduleTableStatus] || 14|| 0x0E|| |
52 | | || [#ClearEvent ClearEvent] || 239|| 0xEF|| || [#IncrementCounter IncrementCounter] || 15|| 0x0F|| |
53 | | || [#GetEvent GetEvent] || 240|| 0xF0|| || [#GetCounterValue GetCounterValue] || 16|| 0x10|| |
54 | | || [#WaitEvent WaitEvent] || 241|| 0xF1|| || [#GetElapsedValue GetElapsedValue] || 17|| 0x11|| |
55 | | || [#GetAlarmBase GetAlarmBase] || 242|| 0xF2|| || [#TerminateApplication TerminateApplication] || 18|| 0x12|| |
56 | | || [#GetAlarm GetAlarm] || 243|| 0xF3|| || [#AllowAccess AllowAccess] || 19|| 0x13|| |
57 | | || [#SetRelAlarm SetRelAlarm] || 244|| 0xF4|| || [#GetApplicationState GetApplicationState] || 20|| 0x14|| |
58 | | || [#SetAbsAlarm SetAbsAlarm] || 245|| 0xF5|| || [#GetNumberOfActivatedCores GetNumberOfActivatedCores] || 21|| 0x15|| |
59 | | || [#CancelAlarm CancelAlarm] || 246|| 0xF6|| || [#GetCoreID GetCoreID] || 22|| 0x16|| |
60 | | || [#GetActiveApplicationMode GetActiveApplicationMode] || 247|| 0xF7|| || [#StartCore StartCore] || 23|| 0x17|| |
61 | | || [#StartOS StartOS] || 248|| 0xF8|| || [#StartNonAutosarCore StartNonAutosarCore] || 24|| 0x18|| |
62 | | || [#ShutdownOS ShutdownOS] || 249|| 0xF9|| || [#GetSpinlock GetSpinlock] || 25|| 0x19|| |
63 | | || || || || || [#ReleaseSpinlock ReleaseSpinlock] || 26|| 0x1A|| |
64 | | || || || || || [#TryToGetSpinlock TryToGetSpinlock] || 27|| 0x1B|| |
65 | | || || || || || [#ShutdownAllCores ShutdownAllCores] || 28|| 0x1C|| |
66 | | || || || || || [#IocSend IocSend] || 30|| 0x1E|| |
67 | | || || || || || [#IocWrite IocWrite] || 31|| 0x1F|| |
68 | | || || || || || [#IocSendGroup IocSendGroup] || 32|| 0x20|| |
69 | | || || || || || [#IocWriteGroup IocWriteGroup] || 33|| 0x21|| |
70 | | || || || || || [#IocReceive IocReceive] || 34|| 0x22|| |
71 | | || || || || || [#IocRead IocRead] || 35|| 0x23|| |
72 | | || || || || || [#IocReceiveGroup IocReceiveGroup] || 36|| 0x24|| |
73 | | || || || || || [#IocReadGroup IocReadGroup] || 37|| 0x25|| |
74 | | || || || || || [#IocEmptyQueue IocEmptyQueue] || 38|| 0x26|| |
| 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] =|| |
| 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 | || [#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|| |