Title: RivieraWaves Kernel Document type: Functional Specifications
Reference: RW-BT-KERNEL-SW-FS Version: 1.1, Release Date: 2012-05-23
Confidential – © 2012 RivieraWaves Page 3 of 17
1 Table of contents
Revision History ......................................................................................................................................................... 2
1 Table of contents ............................................................................................................................................... 3
2 List of Tables ...................................................................................................................................................... 4
3 Overview ........................................................................................................................................................... 5
3.1 Feature List...........................................................................................................................................................5
3.2 Source File Structure ............................................................................................................................................5
3.3 Include Files .........................................................................................................................................................5
3.4 Kernel Environment .............................................................................................................................................6
4 Messages ........................................................................................................................................................... 7
4.1 Overview ..............................................................................................................................................................7
4.2 Message Object....................................................................................................................................................7
4.3 Message Identifier ...............................................................................................................................................7
4.4 Parameter Management ......................................................................................................................................8
4.5 Message Queue Object ........................................................................................................................................8
4.6 Message Queue Primitives...................................................................................................................................8
4.6.1 Message Allocation ........................................................................................................................................8
4.6.2 Message Send.................................................................................................................................................9
4.6.3 Message Send Basic .......................................................................................................................................9
4.6.4 Message Forward .........................................................................................................................................10
4.6.5 Message Free ...............................................................................................................................................10
5 Scheduler ......................................................................................................................................................... 11
5.1 Overview ............................................................................................................................................................11
5.2 Requirements.....................................................................................................................................................11
5.2.1 Priority Management ...................................................................................................................................11
5.2.2 Scheduling Algorithm ...................................................................................................................................12
5.2.3 Save Service..................................................................................................................................................12
6 Tasks ................................................................................................................................................................ 13
6.1 Definition ...........................................................................................................................................................13
7 Kernel Timer .................................................................................................................................................... 14
7.1 Overview ............................................................................................................................................................14
7.2 Time definition ...................................................................................................................................................14
7.3 Timer Object ......................................................................................................................................................14
7.4 Timer Setting ......................................................................................................................................................14
7.5 Timer Primitives .................................................................................................................................................15
7.5.1 Timer Set ......................................................................................................................................................15
7.5.2 Timer Clear ...................................................................................................................................................15
7.5.3 Timer Activity ...............................................................................................................................................16
7.5.4 Timer Expiry..................................................................................................................................................16
8 Effective Macros .............................................................................................................................................. 17
评论1
最新资源