...
Anchor |
---|
1079591 | 1079591 | Differences in Source File Names and Contents Anchor |
---|
1081813 | 1081813 | Table C-2 he table below shows the source files used in both kernels. Note that a few of the files have the same or similar name.
anchor...
HTML Table |
---|
summary |
---|
class | Plain_Table |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081845 | 1081845title | µC/OS-II and µC/OS-III files |
---|
|
Table Cell (td) |
---|
Anchor |
---|
| 1081847 | 1081847td Anchor |
---|
1081849 | 1081849 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081851 | 1081851 | Table Cell (td) |
anchor1081853 | 1081853 | Table Cell (td) |
---|
Anchor |
---|
1081855 | 1081855 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081857 | 1081857 | Table Cell (td) |
---|
Anchor |
---|
1081859 | 1081859 Table Cell (td) |
---|
Anchor |
---|
1081861 | 1081861 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081863 | 1081863 | Table Cell (td) |
anchor1081865 | 1081865 | Table Cell (td) |
---|
Anchor |
10818671081867 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081869 | 1081869 Table Cell (td) |
---|
Anchor |
---|
1081871 | 1081871td Anchor |
---|
1081873 | 1081873 | Table Row (tr) |
---|
Table Cell (td) |
anchor1081875 | 1081875 | Table Cell (td) |
---|
Anchor |
10818771081877 | Table Cell (td) |
---|
Anchor |
---|
1081879 | 1081879 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081881 | 1081881 Table Cell (td) |
---|
Anchor |
---|
1081883 | 1081883 Table Cell (td) |
anchor1081885 | 1081885 | Table Row (tr) |
---|
Table Cell (td) |
anchor1081887 | 1081887 | Table Cell (td) |
---|
Anchor |
---|
1081889 | 1081889 Table Cell (td) |
---|
Anchor |
---|
1081891 | 1081891 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081893 | 1081893 Table Cell (td) |
anchor1081895 | 1081895 | Table Cell (td) |
---|
Anchor |
---|
1081897 | 1081897 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081899 | 1081899 Table Cell (td) |
---|
Anchor |
---|
1081901 | 1081901td Anchor |
---|
1081903 | 1081903 | Table Row (tr) |
---|
Table Cell (td) |
anchor1081905 | 1081905 | Table Cell (td) |
---|
Anchor |
10819071081907 | Table Cell (td) |
---|
Anchor |
---|
1081909 | 1081909 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081911 | 1081911 | Table Cell (td) |
---|
Anchor |
---|
1081913 | 1081913int Table Cell (td) |
---|
Anchor |
---|
1081915 | 1081915 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081917 | 1081917 | Table Cell (td) |
---|
Anchor |
---|
1081919 | 1081919pend_multi Table Cell (td) |
---|
Anchor |
---|
1081921 | 1081921) Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081923 | 1081923 | Table Cell (td) |
---|
Anchor |
---|
1081925 | 1081925 | os_prio.c Table Cell (td) |
---|
Anchor |
---|
1081927 | 1081927 | (9 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081929 | 1081929mbox.c Table Cell (td) |
---|
Anchor |
---|
1081931 | 1081931 | Table Cell (td) |
---|
Anchor |
---|
1081933 | 1081933 | (10) Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081935 | 1081935 | os_ Table Cell (td) |
---|
Anchor |
10819371081937 | Table Cell (td) |
---|
Anchor |
---|
1081939 | 1081939 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081941 | 1081941 | Table Cell (td) |
---|
Anchor |
---|
1081943 | 1081943 Table Cell (td) |
---|
Anchor |
---|
1081945 | 108194511tr Table Cell (td) |
---|
Anchor |
---|
1081947 | 1081947 | td Anchor |
---|
1081949 | 1081949 | Table Cell (td) |
---|
Anchor |
---|
1081951 | 1081951 | Table Row (tr) |
---|
Table Cell (td) |
anchor1081953 | 1081953 | Table Cell (td) |
---|
Anchor |
---|
1081955 | 1081955 Table Cell (td) |
---|
Anchor |
---|
1081957 | 1081957 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081959 | 1081959 | td Anchor |
---|
1081961 | 1081961 | Table Cell (td) |
---|
Anchor |
---|
1081963 | 1081963 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081965 | 1081965 | Table Cell (td) |
---|
Anchor |
---|
1081967 | 1081967 | Table Cell (td) |
---|
Anchor |
10819691081969 | 12) Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081971 | 1081971 | Table Cell (td) |
---|
Anchor |
---|
1081973 | 1081973 Table Cell (td) |
---|
Anchor |
---|
1081975 | 1081975 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081977 | 1081977td Anchor |
---|
1081979 | 1081979 | Table Cell (td) |
---|
Anchor |
---|
1081981 | 1081981 | Table Row (tr) |
---|
Table Cell (td) |
anchor1081983 | 1081983 | Table Cell (td) |
---|
Anchor |
---|
1081985 | 1081985 Table Cell (td) |
---|
Anchor |
---|
1081987 | 1081987 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1122963 | 1122963 | Table Cell (td) |
---|
Anchor |
---|
1122965 | 1122965td Anchor |
---|
1122967 | 1122967 | (13) Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081989 | 1081989 | Table Cell (td) |
---|
Anchor |
---|
1081991 | 1081991 | Table Cell (td) |
---|
Anchor |
10819931081993 | 14) Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1081995 | 1081995 | Table Cell (td) |
---|
Anchor |
---|
1081997 | 1081997 | tdanchor
...
1) µC/OS-II does not have this file, which is now provided for convenience so you can add application hooks. You should copy this file to the application directory and edit the contents of the file to satisfy your application requirements. |
...
...
did not exist in µC/OS-II. This file needs to be added to a project build for µC/OS-III. |
...
(3) In µC/OS-II, all configuration constants were placed |
...
in os_cfg.h . In µC/OS-III, some of the configuration constants are placed in this file, while others are |
...
in os_cfg_app.h . os_cfg_app.h |
...
contains application-specific configurations such as the size of the idle task stack, tick rate, and others. |
...
(4) In µC/OS-III, os_cfg.h |
...
is reserved for configuring certain features of the kernel. For example, are any of the semaphore services required, and will the application have fixed-sized memory partition management? |
...
(5) These are the port files and a few variables and functions will need to be changed when using a µC/OS-II port as a starting point for the µC/OS-III port. |
...
HTML Table |
---|
summary |
---|
class | Plain_Table |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor | 1082081 | 1082081 | µC/OS-II variable changes from … |
---|
Table Cell (td) |
---|
Anchor |
---|
1082083 | 1082083 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1082085 | 1082085td Anchor |
---|
1082087 | 1082087 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1082089 | 1082089 | Table Cell (td) |
---|
Anchor |
---|
1082091 | 1082091 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
10820931082093 | Table Cell (td) |
---|
Anchor |
---|
1082095 | 1082095 HTML Table |
---|
summary |
---|
class | Plain_Table |
---|
Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
| 1082140 | 1082140
µC/OS-II function changes from … |
---|
td Anchor |
---|
1082142 | 1082142 | Table Row (tr) |
---|
Table Cell (td) |
anchor1082144 | 1082144 | Table Cell (td) |
---|
Anchor |
10821461082146 | Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1082148 | 1082148 Table Cell (td) |
---|
Anchor |
---|
1082150 | 1082150 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1082152 | 1082152 Table Cell (td) |
anchor1082154 | 1082154 | Table Row (tr) |
---|
Table Cell (td) |
anchor1082156 | 1082156 | Table Cell (td) |
---|
Anchor |
---|
1082158 | 1082158 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1082160 | 1082160 Table Cell (td) |
---|
Anchor |
---|
1082162 | 1082162 Table Row (tr) |
---|
Table Cell (td) |
---|
Anchor |
---|
1082164 | 1082164 Table Cell (td) |
anchor1082166 | 1082166 |
...
The name of OSTaskStkInit() is the same but it is listed here since the code for it needs to be changed slightly as several arguments passed to this function are different. Specifically, instead of passing the top-of-stack as in µC/OS-II, OSTaskStkInit() is passed the base address and the size of the task stack. |
...
(6) In µC/OS-III, os_dbg.c should always be part of the build. In µC/OS-II, the equivalent file (os_dbg_r.c) was optional. |
...
...
(7) The code to determine the highest priority ready-to-run task is isolated in µC/OS-III and placed in os_prio.c . This allows the port developer to replace this file by an assembly language equivalent file, especially if the CPU used supports certain bit manipulation instructions and a count leading zeros (CLZ) instruction. |
...
(8) µC/OS-II provides message mailbox services. A message mailbox is identical to a message queue of size one. µC/OS-III does not have these services since they can be easily emulated by message queues. |
...
(9) Management of messages for message queues is encapsulated in os_msg.c in µC/OS-III. |
...
(10) The statistics task and its support functions have been extracted out of os_core.c and placed in os_stat.c for µC/OS-III. |
...
(11) All the µC/OS-III variables are instantiated in a file called os_var.c . |
...
(12) In µC/OS-III, the size of most data types is better adapted to the CPU architecture used. In µC/OS-II, the size of a number of these data types was assumed. |
...
(13) In µC/OS-II, the main header file is called ucos_ii.h. In µC/OS-III, it is renamed to os.h .
|