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

📄 psos.txt

📁 rtai-3.1-test3的源代码(Real-Time Application Interface )
💻 TXT
字号:
Overview========The pSOS+ emulation module on top of Xenomai currently mimicks thefollowing services:as_catch, as_send, as_returnev_receive, ev_sendpt_create, pt_delete, pt_getbuf, pt_ident, pt_retbufq_broadcast, q_create, q_delete, q_ident, q_receive, q_send, q_urgentq_vcreate, q_vdelete, q_vident, q_vreceive, q_vsend, q_vurgent, q_vbroadcastrn_create, rn_delete, rn_getseg, rn_ident, rn_retsegsm_create, sm_delete, sm_ident, sm_p, sm_vt_create, t_delete, t_getreg, t_ident, t_mode, t_restart,t_resume, t_setpri, t_setreg, t_start, t_suspend,tm_cancel, tm_evafter, tm_evevery, tm_evwhen, tm_get,tm_set, tm_tick, tm_wkafter, tm_wkwheni_return, k_fatalKnown variations from pSOS+===========================Generally speaking, control blocks are always obtained from Xenomai'sheap instead of region #0. However, region #0 is still initialized andmade available to the application code (See "Module parameters").* t_create() returns ERR_NOTCB upon memory allocation failurewhen trying to get a task control block from Xenomai's heap. There isno control block limit for tasks.* as_return() is currently a macro-definition expanded as"return", so it must be called in the ASR's outer frame. TheERR_NOTINASR status is unused.* i_return() is a macro-definition expanded as "return", so it must becalled in the ISR's outer frame.* sm_create() returns ERR_NOSCB upon dynamic allocation error fromXenomai's heap. There is no control block limit for semaphores.* q_create() returns ERR_NOQCB upon dynamic allocation error fromXenomai's heap. There is no control block limit for queues.* The use of private buffers is forced for variable-size messagequeues when the message size exceeds sizeof(u_long[4]), otherwise, thefree buffers may be available from a local cache or obtained from aglobally shared buffer cache, whether the Q_PRIBUF flag is set forq(v)create() or not. As a special exception, message buffers areobtained from Xenomai's heap on a per-message basis if the queue hasno size limit and the maximum message length exceeds sizeof(u_long[4]).* The minimum size of a partition block passed to pt_create() isequal to the native size of a pointer, thus it's anarchitecture-dependent value. Any lower value begets the ERR_BUFSIZEerror status when given.* tm_evafter() may return ERR_NOSEG since dynamic memory is allocatedfor an internal timer from Xenomai's heap.* rn_retseg() does not check for the ERR_SEGFREE condition.Module parameters=================The following parameters can be passed at startup to the pSOS+API emulation module:- "rn0_size_arg", size of region #0 (in bytes). Defaults to 32k.- "tick_hz_arg", clock tick period. Defaults to 100 Hz.- "time_slice_arg", time slice period. Defaults to 10 clock ticks.Limitations===========- Not all the pSOS+ objects have a graphical dashboard associated yetwhen running on top of the MVM. As of now, only tasks and queues have.- The values displayed in the existing dashboards cannot be changedusing the Apply function in this release.

⌨️ 快捷键说明

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