bertos.git
16 years agoproc_test: print process table during test
bernie [Sun, 31 Aug 2008 21:44:56 +0000 (21:44 +0000)]
proc_test: print process table during test

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1769 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agomonitor: set process priority to -10
bernie [Sun, 31 Aug 2008 11:31:17 +0000 (11:31 +0000)]
monitor: set process priority to -10

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1768 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agodemo: run monitor process
bernie [Sun, 31 Aug 2008 11:31:05 +0000 (11:31 +0000)]
demo: run monitor process

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1767 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd GDB support for debugging preemptive kernel
bernie [Sun, 31 Aug 2008 06:58:37 +0000 (06:58 +0000)]
Add GDB support for debugging preemptive kernel

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1766 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoReformat: use tabs.
batt [Fri, 29 Aug 2008 22:15:21 +0000 (22:15 +0000)]
Reformat: use tabs.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1765 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix ramp_test.
batt [Fri, 29 Aug 2008 22:11:21 +0000 (22:11 +0000)]
Fix ramp_test.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1764 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix sprintf_test.
batt [Fri, 29 Aug 2008 21:45:58 +0000 (21:45 +0000)]
Fix sprintf_test.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1763 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRename hw-related tests.
batt [Fri, 29 Aug 2008 20:47:37 +0000 (20:47 +0000)]
Rename hw-related tests.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1762 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agorename cpuXXX_t to cpu_XXX_t
bernie [Fri, 29 Aug 2008 20:37:03 +0000 (20:37 +0000)]
rename cpuXXX_t to cpu_XXX_t

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1761 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt_forbid_cnt: make it of type cpuatomic_t
bernie [Fri, 29 Aug 2008 20:36:39 +0000 (20:36 +0000)]
preempt_forbid_cnt: make it of type cpuatomic_t

This takes care of archs such as the AVR, where int is bigger than the
word size, and updating preempt_forbid_cnt might actually result in two
independent writes.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1760 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agocpu: introduce cpuatomic_t
bernie [Fri, 29 Aug 2008 20:36:21 +0000 (20:36 +0000)]
cpu: introduce cpuatomic_t

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1759 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix documentation.
batt [Fri, 29 Aug 2008 20:32:50 +0000 (20:32 +0000)]
Fix documentation.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1758 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoDrop the magical test macros.
batt [Fri, 29 Aug 2008 20:18:09 +0000 (20:18 +0000)]
Drop the magical test macros.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1757 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix UNITTEST ARCH declaration.
batt [Fri, 29 Aug 2008 20:16:34 +0000 (20:16 +0000)]
Fix UNITTEST ARCH declaration.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1756 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_forbid(): extensively document why we don't need locking
bernie [Fri, 29 Aug 2008 19:56:18 +0000 (19:56 +0000)]
proc_forbid(): extensively document why we don't need locking

Also change the ASSERT() in proc_permit() to check for != 0, as a
workaround for CPUs like the AVR which are unable to write an int to
memory atomically.

A better fix would be changing the type of preempt_forbid_cnt to
cpu_stack_t or a new type cpu_atomic_t.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1755 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRevert bad commit.
batt [Fri, 29 Aug 2008 16:09:03 +0000 (16:09 +0000)]
Revert bad commit.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1754 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix some warnings for printf arguments.
batt [Fri, 29 Aug 2008 16:08:11 +0000 (16:08 +0000)]
Fix some warnings for printf arguments.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1753 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoSilence a warning on 64bit platforms.
batt [Fri, 29 Aug 2008 15:48:11 +0000 (15:48 +0000)]
Silence a warning on 64bit platforms.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1752 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRestore preempt_forbid_cnt as private; supply an accessor macro.
batt [Fri, 29 Aug 2008 15:21:53 +0000 (15:21 +0000)]
Restore preempt_forbid_cnt as private; supply an accessor macro.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1751 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove unneeded cast.
batt [Fri, 29 Aug 2008 14:54:43 +0000 (14:54 +0000)]
Remove unneeded cast.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1750 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing brackets.
batt [Thu, 28 Aug 2008 16:18:33 +0000 (16:18 +0000)]
Add missing brackets.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1749 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoReformat.
batt [Thu, 28 Aug 2008 16:17:48 +0000 (16:17 +0000)]
Reformat.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1748 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix unit test check.
batt [Thu, 28 Aug 2008 15:47:37 +0000 (15:47 +0000)]
Fix unit test check.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1747 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing header.
batt [Thu, 28 Aug 2008 15:37:18 +0000 (15:37 +0000)]
Add missing header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1746 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUse new macro.
batt [Thu, 28 Aug 2008 15:36:11 +0000 (15:36 +0000)]
Use new macro.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1745 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRename _TEST to ARCH_UNITTEST.
batt [Thu, 28 Aug 2008 14:30:52 +0000 (14:30 +0000)]
Rename _TEST to ARCH_UNITTEST.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1744 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUse the new ARCH_NIGHTTEST.
batt [Thu, 28 Aug 2008 14:21:23 +0000 (14:21 +0000)]
Use the new ARCH_NIGHTTEST.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1743 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd test ARCH; remove macros.h dependency to allow to include this file also in prepr...
batt [Thu, 28 Aug 2008 14:20:27 +0000 (14:20 +0000)]
Add test ARCH; remove macros.h dependency to allow to include this file also in preprocessed assembly (.S).

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1742 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove timer_avr.c from nightly_test.
batt [Wed, 27 Aug 2008 21:54:31 +0000 (21:54 +0000)]
Remove timer_avr.c from nightly_test.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1741 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing prototypes.
batt [Wed, 27 Aug 2008 17:27:57 +0000 (17:27 +0000)]
Add missing prototypes.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1740 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove from nightly_test list.
batt [Wed, 27 Aug 2008 17:19:00 +0000 (17:19 +0000)]
Remove from nightly_test list.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1739 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new macro name.
batt [Wed, 27 Aug 2008 17:17:23 +0000 (17:17 +0000)]
Update to new macro name.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1738 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd item to list correctly.
batt [Wed, 27 Aug 2008 17:15:13 +0000 (17:15 +0000)]
Add item to list correctly.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1737 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix warning for no prototype.
batt [Wed, 27 Aug 2008 16:31:12 +0000 (16:31 +0000)]
Fix warning for no prototype.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1736 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoLower meaningless demo clock frequency to avoid overflows in AVR.
batt [Wed, 27 Aug 2008 16:24:31 +0000 (16:24 +0000)]
Lower meaningless demo clock frequency to avoid overflows in AVR.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1735 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing header.
batt [Wed, 27 Aug 2008 16:23:36 +0000 (16:23 +0000)]
Add missing header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1734 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoDisable kernel heap (needs to be refactored).
batt [Wed, 27 Aug 2008 16:23:20 +0000 (16:23 +0000)]
Disable kernel heap (needs to be refactored).

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1733 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd a way to easily exclude a file from nightly test.
batt [Wed, 27 Aug 2008 16:09:11 +0000 (16:09 +0000)]
Add a way to easily exclude a file from nightly test.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1732 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoSet a more conservative default.
batt [Wed, 27 Aug 2008 14:27:58 +0000 (14:27 +0000)]
Set a more conservative default.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1731 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing header.
batt [Wed, 27 Aug 2008 14:27:16 +0000 (14:27 +0000)]
Add missing header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1730 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new name.
batt [Wed, 27 Aug 2008 14:26:53 +0000 (14:26 +0000)]
Update to new name.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1729 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new macro.
batt [Wed, 27 Aug 2008 14:26:35 +0000 (14:26 +0000)]
Update to new macro.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1728 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove obsolete appconfig.h file.
batt [Wed, 27 Aug 2008 14:26:10 +0000 (14:26 +0000)]
Remove obsolete appconfig.h file.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1727 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new CONFIG_KERN.
batt [Wed, 27 Aug 2008 14:18:16 +0000 (14:18 +0000)]
Update to new CONFIG_KERN.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1726 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoInclude proper header.
batt [Wed, 27 Aug 2008 14:11:04 +0000 (14:11 +0000)]
Include proper header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1725 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove obsolete header.
batt [Wed, 27 Aug 2008 14:10:38 +0000 (14:10 +0000)]
Remove obsolete header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1724 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new cfg_kern.h
batt [Wed, 27 Aug 2008 14:10:01 +0000 (14:10 +0000)]
Update to new cfg_kern.h

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1723 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing header.
batt [Wed, 27 Aug 2008 13:56:31 +0000 (13:56 +0000)]
Add missing header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1722 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new name.
batt [Wed, 27 Aug 2008 13:54:42 +0000 (13:54 +0000)]
Update to new name.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1721 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUse correct type.
batt [Wed, 27 Aug 2008 13:53:50 +0000 (13:53 +0000)]
Use correct type.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1720 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new directory layout.
batt [Wed, 27 Aug 2008 13:53:03 +0000 (13:53 +0000)]
Update to new directory layout.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1719 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd cfg_kern.h to triface project.
batt [Wed, 27 Aug 2008 13:52:37 +0000 (13:52 +0000)]
Add cfg_kern.h to triface project.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1718 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoMove proc_testRun() out of loop.
batt [Wed, 27 Aug 2008 13:35:20 +0000 (13:35 +0000)]
Move proc_testRun() out of loop.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1717 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd cooperative scheduler to makefile.
batt [Wed, 27 Aug 2008 13:34:34 +0000 (13:34 +0000)]
Add cooperative scheduler to makefile.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1716 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoFix const position.
batt [Wed, 27 Aug 2008 13:34:11 +0000 (13:34 +0000)]
Fix const position.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1715 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove redundant prototypes; reformat.
batt [Tue, 26 Aug 2008 16:19:09 +0000 (16:19 +0000)]
Remove redundant prototypes; reformat.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1714 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUse correct macro name.
batt [Tue, 26 Aug 2008 15:29:45 +0000 (15:29 +0000)]
Use correct macro name.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1713 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoMove preempt_forbid_cnt to a more suitable place.
batt [Tue, 26 Aug 2008 15:28:54 +0000 (15:28 +0000)]
Move preempt_forbid_cnt to a more suitable place.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1712 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing header.
batt [Tue, 26 Aug 2008 14:02:04 +0000 (14:02 +0000)]
Add missing header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1711 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRefactor to new CONFIG_KERN.
batt [Tue, 26 Aug 2008 14:01:48 +0000 (14:01 +0000)]
Refactor to new CONFIG_KERN.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1710 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUse correct type.
batt [Tue, 26 Aug 2008 14:01:14 +0000 (14:01 +0000)]
Use correct type.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1709 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd missing parameter.
batt [Tue, 26 Aug 2008 14:00:48 +0000 (14:00 +0000)]
Add missing parameter.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1708 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new interface.
batt [Tue, 26 Aug 2008 14:00:15 +0000 (14:00 +0000)]
Update to new interface.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1707 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoAdd application specific config file.
batt [Tue, 26 Aug 2008 13:59:49 +0000 (13:59 +0000)]
Add application specific config file.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1706 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove obsolete appconfig file.
batt [Tue, 26 Aug 2008 13:55:04 +0000 (13:55 +0000)]
Remove obsolete appconfig file.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1705 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoTypo; proc_preempt_timer -> proc_preempt.
batt [Tue, 26 Aug 2008 09:44:50 +0000 (09:44 +0000)]
Typo; proc_preempt_timer -> proc_preempt.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1704 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoUpdate to new name.
batt [Tue, 26 Aug 2008 09:43:49 +0000 (09:43 +0000)]
Update to new name.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1703 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.
bernie [Mon, 25 Aug 2008 19:24:43 +0000 (19:24 +0000)]
proc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1702 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.
bernie [Mon, 25 Aug 2008 19:22:22 +0000 (19:22 +0000)]
proc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1701 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.
bernie [Mon, 25 Aug 2008 19:18:20 +0000 (19:18 +0000)]
proc_switch(): rename from proc_schedule(). Split out the real cooperative scheduler.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1700 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoCONFIG_KERN_PREEMPTIVE -> CONFIG_KERN_PREEMPT
bernie [Mon, 25 Aug 2008 19:14:03 +0000 (19:14 +0000)]
CONFIG_KERN_PREEMPTIVE -> CONFIG_KERN_PREEMPT

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1699 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoMore OBSOLETE removal
bernie [Mon, 25 Aug 2008 19:12:37 +0000 (19:12 +0000)]
More OBSOLETE removal

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1698 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt: document architecture
bernie [Mon, 25 Aug 2008 19:03:03 +0000 (19:03 +0000)]
preempt: document architecture

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1697 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoRemove plenty of legacy names marked as OBSOLETE
bernie [Mon, 25 Aug 2008 18:54:02 +0000 (18:54 +0000)]
Remove plenty of legacy names marked as OBSOLETE

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1696 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agokfile_size_t: kill and replace with kfile_off_t
bernie [Mon, 25 Aug 2008 18:34:44 +0000 (18:34 +0000)]
kfile_size_t: kill and replace with kfile_off_t

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1695 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoKill MOC and use QT_MOC instead
bernie [Mon, 25 Aug 2008 18:04:52 +0000 (18:04 +0000)]
Kill MOC and use QT_MOC instead

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1694 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoBREAKPOINT: x86 asm syntax fix: 'int 3' -> 'int3'
bernie [Mon, 25 Aug 2008 17:54:30 +0000 (17:54 +0000)]
BREAKPOINT: x86 asm syntax fix: 'int 3' -> 'int3'

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1693 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoCC, CXX: revert g++-4.3 to g++, it was a temporary fix committed by mistake
bernie [Mon, 25 Aug 2008 17:52:40 +0000 (17:52 +0000)]
CC, CXX: revert g++-4.3 to g++, it was a temporary fix committed by mistake

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1692 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agokern: move config dependency checking to proc.c
bernie [Mon, 25 Aug 2008 12:06:20 +0000 (12:06 +0000)]
kern: move config dependency checking to proc.c

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1691 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoemul: enforce timer to be stopped before destroying the emulator
bernie [Mon, 25 Aug 2008 12:05:22 +0000 (12:05 +0000)]
emul: enforce timer to be stopped before destroying the emulator

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1690 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agocfg/depend.h: New header
bernie [Mon, 25 Aug 2008 11:37:31 +0000 (11:37 +0000)]
cfg/depend.h: New header

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1689 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoidle: Use C-friendly syntax
bernie [Mon, 25 Aug 2008 11:37:01 +0000 (11:37 +0000)]
idle: Use C-friendly syntax

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1688 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_setPri(): nop fallback when priorities are disabled
bernie [Mon, 25 Aug 2008 11:36:03 +0000 (11:36 +0000)]
proc_setPri(): nop fallback when priorities are disabled

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1687 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agotimer: check for initialization of irq module when it is enabled
bernie [Mon, 25 Aug 2008 11:32:52 +0000 (11:32 +0000)]
timer: check for initialization of irq module when it is enabled

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1686 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_test: Convert to new test policy
bernie [Mon, 25 Aug 2008 11:30:26 +0000 (11:30 +0000)]
proc_test: Convert to new test policy

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1685 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt: add module initialization safety checks
bernie [Mon, 25 Aug 2008 11:29:28 +0000 (11:29 +0000)]
preempt: add module initialization safety checks

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1684 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoirq: suppress warning on !CONFIG_KERN_PREEMPT
bernie [Mon, 25 Aug 2008 11:28:38 +0000 (11:28 +0000)]
irq: suppress warning on !CONFIG_KERN_PREEMPT

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1683 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agotimer Prevent further SIGALRM signals when timer is stopped
bernie [Mon, 25 Aug 2008 11:27:45 +0000 (11:27 +0000)]
timer Prevent further SIGALRM signals when timer is stopped

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1682 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc: Move stack hack from emul.c to proc.c
bernie [Mon, 25 Aug 2008 11:23:00 +0000 (11:23 +0000)]
proc: Move stack hack from emul.c to proc.c

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1681 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt: Implement scheduling priorities
bernie [Sun, 24 Aug 2008 18:12:49 +0000 (18:12 +0000)]
preempt: Implement scheduling priorities

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1680 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt: Cleanup
bernie [Sun, 24 Aug 2008 09:35:57 +0000 (09:35 +0000)]
preempt: Cleanup

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1679 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoproc_exit(): Free the correct stack base pointer.
bernie [Sun, 24 Aug 2008 06:37:08 +0000 (06:37 +0000)]
proc_exit(): Free the correct stack base pointer.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1678 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoBREAKPOINT: move from cpu/irq.h to cpu/attr.h
bernie [Sat, 23 Aug 2008 07:40:14 +0000 (07:40 +0000)]
BREAKPOINT: move from cpu/irq.h to cpu/attr.h

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1677 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoCONFIG_KERN_MINSTACKSIZE: rename from CONFIG_PROC_DEFSTACKSIZE for consistency
bernie [Sat, 23 Aug 2008 07:38:51 +0000 (07:38 +0000)]
CONFIG_KERN_MINSTACKSIZE: rename from CONFIG_PROC_DEFSTACKSIZE for consistency

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1676 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt: thinko: proc->context.uc_stack.ss_size needs to be reduced by the size of...
bernie [Sat, 23 Aug 2008 07:38:23 +0000 (07:38 +0000)]
preempt: thinko: proc->context.uc_stack.ss_size needs to be reduced by the size of the Process structure\!

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1675 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoBREAKPOINT: implement for x86 and ppc
bernie [Fri, 22 Aug 2008 18:38:15 +0000 (18:38 +0000)]
BREAKPOINT: implement for x86 and ppc

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1674 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agomonitor: Space pointers by one space to make the actuaqlly readable
bernie [Fri, 22 Aug 2008 18:22:07 +0000 (18:22 +0000)]
monitor: Space pointers by one space to make the actuaqlly readable

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1673 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agopreempt: Move idle process to its own source file
bernie [Fri, 22 Aug 2008 12:31:38 +0000 (12:31 +0000)]
preempt: Move idle process to its own source file

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1672 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agoCONFIG_KERN: rename from CONFIG_KERNEL for consistency
bernie [Fri, 22 Aug 2008 12:16:06 +0000 (12:16 +0000)]
CONFIG_KERN: rename from CONFIG_KERNEL for consistency

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1671 38d2e660-2303-0410-9eaa-f027e97ec537

16 years agodemo: explain the "purpose" of schedule()
bernie [Fri, 22 Aug 2008 12:14:59 +0000 (12:14 +0000)]
demo: explain the "purpose" of schedule()

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1670 38d2e660-2303-0410-9eaa-f027e97ec537