⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vxworks.txt

📁 rtai-3.1-test3的源代码(Real-Time Application Interface )
💻 TXT
字号:
Overview========The VxWorks (R) emulation module on top of Xenomai currently mimicksthe following services:taskSpawn, taskInit, taskActivate, taskDelete, taskDeleteForce, taskSuspend, taskResume, taskPrioritySet, taskPriorityGet, taskLock, taskUnlock, taskIdSelf,taskSafe, taskUnsafe, taskDelay, taskIdVerify, taskTcb, taskRestarttaskCreateHookAdd, taskCreateHookDelete, taskSwitchHookAdd, taskSwitchHookDeletetaskDeleteHookAdd, taskDeleteHookDeletetaskName, taskNameToId, taskIdDefault, taskIsReady, taskIsSuspendedsemGive, semTake, semFlush, semDelete, semBCreate, semMCreate, semCCreatewdCreate, wdDelete, wdStart, wdCancelmsgQCreate, msgQDelete, msgQNumMsgs, msgQReceive, msgQSendintContext, intCount, intLevelSet, intLock, intUnlocksysClkConnect, sysClkDisable, sysClkEnable, sysClkRateGet, sysClkRateSettickAnnounce, tickGet, tickSetkernelTimeSlice, kernelVersionprintErrno, errnoSet, errnoGet, errnoOfTaskGet, errnoOfTaskSetKnown variations from VxWorks/WIND==================================You may observe some variations from VxWorks, if you find such a variation andyou think it would be easy to correct, please send a mail to the xenomai mailinglist. Here are the known variations:- taskInit ignores the pStackBase argument, and the flags VX_PRIVATE_ENV,  VX_NO_STACK_FILL, VX_UNBREAKABLE.- taskInit gives a default name if NULL was passed as argument.- For the moment, the status member of task control blocks is never updated to  reflect the status of a task.- The tcb of a task launched with taskSpawn is automatically reclaimed by the  system whereas the tcb of a task launched with taskInit (hence passed by the  user) is not. Which means that if you want to inspect your tcb post-mortem,  you have to use taskInit.- The errno returned by some functions may be different from those of the  genuine functions. The emulator functions may even return errors where the  genuine did not.- Some tasks management functions which accept 0 as argument in the genuine OS  may not accept it in the emulator.- The function taskIsReady may not have the correct behavior when the current  task is passed as argument.- the error S_taskLib_TASK_HOOK_TABLE_FULL has not the same value as in the  genuine OS.- the function 'exit' of VxWorks is now named 'taskExit' (exit was causing too  many compilation warnings).- functions taking function pointers as arguments do not use FUNCPTR, which mean  that the function pointer types are verified at compile time.Module parameters=================The following parameters can be passed at startup to the VxWorksAPI emulation module:- "tick_hz_arg", clock tick period. Defaults to 100 Hz.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -