bertos.git
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

16 years agosig_waitTimeout(): Only enable when timer events are present; Documentation cleanups
bernie [Fri, 22 Aug 2008 12:00:28 +0000 (12:00 +0000)]
sig_waitTimeout(): Only enable when timer events are present; Documentation cleanups

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

16 years agorun_tests: Nicer output, configurable verbosity.
bernie [Fri, 22 Aug 2008 11:08:10 +0000 (11:08 +0000)]
run_tests: Nicer output, configurable verbosity.

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

16 years agoproc: Use a global forbid count;
bernie [Thu, 21 Aug 2008 11:22:37 +0000 (11:22 +0000)]
proc: Use a global forbid count;

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

16 years agoIRQ_ASSERT_{EN,DIS}ABLE(): Rename for consistency.
bernie [Thu, 21 Aug 2008 11:18:07 +0000 (11:18 +0000)]
IRQ_ASSERT_{EN,DIS}ABLE(): Rename for consistency.

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

16 years agopreempt: introduce idle process; timer: use managed irqs for preemption
bernie [Wed, 20 Aug 2008 19:46:33 +0000 (19:46 +0000)]
preempt: introduce idle process; timer: use managed irqs for preemption

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

16 years agomonitor_checkStack(): fix pasto introduced in previous change. Spotted by R.Gianassi.
bernie [Wed, 20 Aug 2008 19:31:07 +0000 (19:31 +0000)]
monitor_checkStack(): fix pasto introduced in previous change. Spotted by R.Gianassi.

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

16 years agobuzzer: spacing fix
bernie [Mon, 18 Aug 2008 16:56:06 +0000 (16:56 +0000)]
buzzer: spacing fix

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

16 years agocoop: Fix brief description
bernie [Mon, 18 Aug 2008 16:55:36 +0000 (16:55 +0000)]
coop: Fix brief description

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

16 years agoproc_new(): thinko: add new processes to the ready list also in the preempt case
bernie [Mon, 18 Aug 2008 16:54:41 +0000 (16:54 +0000)]
proc_new(): thinko: add new processes to the ready list also in the preempt case

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

16 years agoOS_HEADER(), OS_CSOURCE(): Fall back to CPU_HEADER(), CPU_CSOURCE()
bernie [Mon, 18 Aug 2008 16:53:34 +0000 (16:53 +0000)]
OS_HEADER(), OS_CSOURCE(): Fall back to CPU_HEADER(), CPU_CSOURCE()

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

16 years agomonitor_checkStack(): simplify and fix the degenerate case sp_size == 0
bernie [Mon, 18 Aug 2008 16:52:36 +0000 (16:52 +0000)]
monitor_checkStack(): simplify and fix the degenerate case sp_size == 0

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

16 years agolcd_gfx_qt: Implement bitmap scaling
bernie [Sun, 17 Aug 2008 20:48:04 +0000 (20:48 +0000)]
lcd_gfx_qt: Implement bitmap scaling

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

16 years agomenu: re-enable harvard specific optimizationn that was commented out, but seems...
bernie [Sun, 17 Aug 2008 18:33:48 +0000 (18:33 +0000)]
menu: re-enable harvard specific optimizationn that was commented out, but seems harmless

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

16 years agokdebug: Switched to write() for output because it's reentrant)
bernie [Sun, 17 Aug 2008 18:32:46 +0000 (18:32 +0000)]
kdebug: Switched to write() for output because it's reentrant)

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

16 years agokfile: doc cleanup
bernie [Sun, 17 Aug 2008 18:31:25 +0000 (18:31 +0000)]
kfile: doc cleanup

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

16 years agoNicer testsuite runner
bernie [Sun, 17 Aug 2008 16:54:41 +0000 (16:54 +0000)]
Nicer testsuite runner

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

16 years agobattfs: Make it a bit more compliant with the test policy
bernie [Sun, 17 Aug 2008 16:32:47 +0000 (16:32 +0000)]
battfs: Make it a bit more compliant with the test policy

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

16 years agokfile: Revise module documentation
bernie [Sun, 17 Aug 2008 16:06:24 +0000 (16:06 +0000)]
kfile: Revise module documentation

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

16 years agoirq: more emancipation from proc/preempt
bernie [Sun, 17 Aug 2008 15:49:48 +0000 (15:49 +0000)]
irq: more emancipation from proc/preempt

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

16 years agotimer: Cleanup and warning removal from driver and test
bernie [Sun, 17 Aug 2008 15:47:04 +0000 (15:47 +0000)]
timer: Cleanup and warning removal from driver and test

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

16 years agotimer: Cleanup and warning removal from driver and test
bernie [Sun, 17 Aug 2008 15:46:33 +0000 (15:46 +0000)]
timer: Cleanup and warning removal from driver and test

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

16 years agotimer: Cleanup and warning removal from driver and test
bernie [Sun, 17 Aug 2008 15:46:13 +0000 (15:46 +0000)]
timer: Cleanup and warning removal from driver and test

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

16 years agoevent_initSoftint(): rename from event_initSoftInt()
bernie [Sun, 17 Aug 2008 15:44:13 +0000 (15:44 +0000)]
event_initSoftint(): rename from event_initSoftInt()

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

16 years agopreempt: irq supervisor draft
bernie [Sun, 17 Aug 2008 13:49:48 +0000 (13:49 +0000)]
preempt: irq supervisor draft

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

16 years agotimer: Amend previous commit (and Subversion sucks)
bernie [Sun, 17 Aug 2008 10:35:24 +0000 (10:35 +0000)]
timer: Amend previous commit (and Subversion sucks)

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

16 years agotimer: Convert to new-style CONFIG_XYZ parameters
bernie [Sun, 17 Aug 2008 10:34:04 +0000 (10:34 +0000)]
timer: Convert to new-style CONFIG_XYZ parameters

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

16 years agotimer_setSoftInt(): rename from timer_set_event_softint().
bernie [Sun, 17 Aug 2008 10:24:24 +0000 (10:24 +0000)]
timer_setSoftInt(): rename from timer_set_event_softint().

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

16 years agopreempt: much closer
bernie [Fri, 15 Aug 2008 19:34:39 +0000 (19:34 +0000)]
preempt: much closer

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

16 years agopreempt: initialize process context structure in proc_new()
bernie [Thu, 14 Aug 2008 04:22:05 +0000 (04:22 +0000)]
preempt: initialize process context structure in proc_new()

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

16 years agoRemove another instance of obsolete header inclusion
bernie [Thu, 14 Aug 2008 04:20:47 +0000 (04:20 +0000)]
Remove another instance of obsolete header inclusion

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

16 years agoInitial (nonworking) draft of preemptive task switching
bernie [Wed, 13 Aug 2008 14:53:53 +0000 (14:53 +0000)]
Initial (nonworking) draft of preemptive task switching

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

16 years agoFix timer test
bernie [Wed, 13 Aug 2008 12:06:56 +0000 (12:06 +0000)]
Fix timer test

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

16 years agoMake listings more useful by adding instruction sizes too
bernie [Wed, 13 Aug 2008 11:46:49 +0000 (11:46 +0000)]
Make listings more useful by adding instruction sizes too

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

16 years agoUse new header locations everywhere
bernie [Wed, 13 Aug 2008 10:42:23 +0000 (10:42 +0000)]
Use new header locations everywhere

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

16 years agopgm, byteorder: fix headers
bernie [Wed, 13 Aug 2008 10:33:56 +0000 (10:33 +0000)]
pgm, byteorder: fix headers

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

16 years agomware: add compatibility stubs for byteorder.h and pgm.h
bernie [Wed, 13 Aug 2008 10:29:30 +0000 (10:29 +0000)]
mware: add compatibility stubs for byteorder.h and pgm.h

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

16 years agofonts: igore generated C files
bernie [Wed, 13 Aug 2008 10:28:11 +0000 (10:28 +0000)]
fonts: igore generated C files

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

16 years agopgm, byteorder: move from mware/ to cpu/
bernie [Wed, 13 Aug 2008 10:27:12 +0000 (10:27 +0000)]
pgm, byteorder: move from mware/ to cpu/

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

16 years agofifobuf: Header fix
bernie [Wed, 13 Aug 2008 10:11:22 +0000 (10:11 +0000)]
fifobuf: Header fix

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

16 years agomware: Add missing OBSOLETE markers here to stub headers.
bernie [Wed, 13 Aug 2008 10:10:15 +0000 (10:10 +0000)]
mware: Add missing OBSOLETE markers here to stub headers.

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

16 years agohashtable: Move from mware/ to struct/
bernie [Wed, 13 Aug 2008 10:07:24 +0000 (10:07 +0000)]
hashtable: Move from mware/ to struct/

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

16 years agocpu/power.h: Documentation fixes
bernie [Wed, 13 Aug 2008 09:46:28 +0000 (09:46 +0000)]
cpu/power.h: Documentation fixes

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

16 years agoMove algorithms from mware/ to algo/
bernie [Wed, 13 Aug 2008 09:45:31 +0000 (09:45 +0000)]
Move algorithms from mware/ to algo/

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

16 years agoMove data structures to new directory struct/
bernie [Wed, 13 Aug 2008 09:26:37 +0000 (09:26 +0000)]
Move data structures to new directory struct/

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

16 years agoFix some doxygen warnings.
batt [Tue, 12 Aug 2008 07:57:35 +0000 (07:57 +0000)]
Fix some doxygen warnings.

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

16 years agocpu_relax(): New function.
bernie [Mon, 11 Aug 2008 11:32:19 +0000 (11:32 +0000)]
cpu_relax(): New function.

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

16 years agotimer_delayTicks(): Re-enable check for interrupts to be enabled wheen sleeping.
bernie [Mon, 11 Aug 2008 11:31:10 +0000 (11:31 +0000)]
timer_delayTicks(): Re-enable check for interrupts to be enabled wheen sleeping.

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

16 years agoCPU_PUSH_CALL_FRAME: Typo in DSP56k version.
bernie [Mon, 11 Aug 2008 10:45:05 +0000 (10:45 +0000)]
CPU_PUSH_CALL_FRAME: Typo in DSP56k version.

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

16 years agoReformat.
batt [Mon, 11 Aug 2008 10:34:13 +0000 (10:34 +0000)]
Reformat.

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

16 years agoproc_yield(): Rename from proc_switch()
bernie [Sun, 10 Aug 2008 20:19:14 +0000 (20:19 +0000)]
proc_yield(): Rename from proc_switch()

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

16 years agoproc: Split cooperative scheduler in coop.c
bernie [Sun, 10 Aug 2008 20:07:45 +0000 (20:07 +0000)]
proc: Split cooperative scheduler in coop.c

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

16 years agoIgnore tags and .gdb_history
bernie [Sun, 10 Aug 2008 19:44:27 +0000 (19:44 +0000)]
Ignore tags and .gdb_history

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

16 years agoIgnore moc files
bernie [Sun, 10 Aug 2008 19:43:09 +0000 (19:43 +0000)]
Ignore moc files

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

16 years agocpu: Split frame handling macros to the new header cpu/frame.h
bernie [Sun, 10 Aug 2008 19:41:26 +0000 (19:41 +0000)]
cpu: Split frame handling macros to the new header cpu/frame.h

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

16 years agoPUSH_CALL_FRAME(): Renamed from PUSH_CALL_CONTEXT().
bernie [Sun, 10 Aug 2008 19:19:28 +0000 (19:19 +0000)]
PUSH_CALL_FRAME(): Renamed from PUSH_CALL_CONTEXT().

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

16 years agosig_wait(): Don't call proc_shecule() with interrupts disabled
bernie [Sun, 10 Aug 2008 19:15:28 +0000 (19:15 +0000)]
sig_wait(): Don't call proc_shecule() with interrupts disabled

Loosening slg_wait() locking lets us drop the requirement for
asm_switch_context() to save and restore the processor interrupt
flag.

This patch also includes changes all over the place in proc to
harden consistency checks.

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

16 years agolog: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT...
bernie [Sun, 10 Aug 2008 19:08:00 +0000 (19:08 +0000)]
log: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT for clarity

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

16 years agoproc_test: Rename a few functions, change output a little
bernie [Sun, 10 Aug 2008 19:07:22 +0000 (19:07 +0000)]
proc_test: Rename a few functions, change output a little

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

16 years agoppc: Add cooperative task switching for PowerPC
bernie [Sun, 10 Aug 2008 19:06:11 +0000 (19:06 +0000)]
ppc: Add cooperative task switching for PowerPC

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

16 years agoproc: Reduce log verbosity
bernie [Sun, 10 Aug 2008 19:04:39 +0000 (19:04 +0000)]
proc: Reduce log verbosity

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

16 years agoLOG_PRINT: Fix out of order parameters
bernie [Sun, 10 Aug 2008 17:40:30 +0000 (17:40 +0000)]
LOG_PRINT: Fix out of order parameters

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

16 years agoproc_test: Formatting changes
bernie [Sun, 10 Aug 2008 17:35:37 +0000 (17:35 +0000)]
proc_test: Formatting changes

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

16 years agoproc:SCHED_ENQUEUE(): Documentation fix.
bernie [Sun, 10 Aug 2008 17:28:56 +0000 (17:28 +0000)]
proc:SCHED_ENQUEUE(): Documentation fix.

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

16 years agolog: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT...
bernie [Sun, 10 Aug 2008 17:28:01 +0000 (17:28 +0000)]
log: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT for clarity

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

16 years agoAdd logging for kernel
bernie [Sun, 10 Aug 2008 17:26:28 +0000 (17:26 +0000)]
Add logging for kernel

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

16 years agoRemove redundant \version tag
bernie [Sun, 10 Aug 2008 17:19:51 +0000 (17:19 +0000)]
Remove redundant \version tag

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

16 years agolog: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT...
bernie [Sun, 10 Aug 2008 17:18:44 +0000 (17:18 +0000)]
log: Retouch documentation; Rearrenge level logic; Rename LOG_VERBOSITY to LOG_FORMAT for clarity

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

16 years agoavr: Documentation syntax fix.
bernie [Sun, 10 Aug 2008 17:16:45 +0000 (17:16 +0000)]
avr: Documentation syntax fix.

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

16 years agoASSERT_IRQ_CONTEXT(), ASSERT_USER_CONTEXT(), ASSERT_IRQ_ENABLED(), ASSERT_IRQ_DISABLE...
bernie [Sun, 10 Aug 2008 17:15:34 +0000 (17:15 +0000)]
ASSERT_IRQ_CONTEXT(), ASSERT_USER_CONTEXT(), ASSERT_IRQ_ENABLED(), ASSERT_IRQ_DISABLED(): New macros

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

16 years agox86: define cpuflags_t only in the OS_EMBEDDED case.
bernie [Sun, 10 Aug 2008 13:41:00 +0000 (13:41 +0000)]
x86: define cpuflags_t only in the OS_EMBEDDED case.

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

16 years agoQt: Really define OS_ID on ARCH_QT
bernie [Sun, 10 Aug 2008 13:40:08 +0000 (13:40 +0000)]
Qt: Really define OS_ID on ARCH_QT

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

16 years agotrac#29: Cleanup timer on demo exit
bernie [Sun, 10 Aug 2008 13:38:02 +0000 (13:38 +0000)]
trac#29: Cleanup timer on demo exit

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

16 years agomonitor: use %zu to print size_t arguments to pacify gcc
bernie [Sun, 10 Aug 2008 13:35:21 +0000 (13:35 +0000)]
monitor: use %zu to print size_t arguments to pacify gcc

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

16 years agoformatwr(): Add 'z' modifier
bernie [Sun, 10 Aug 2008 13:35:07 +0000 (13:35 +0000)]
formatwr(): Add 'z' modifier

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

16 years agoASSERT_VALID_PTR(): Make bottom of memory a per-CPU constant
bernie [Sun, 10 Aug 2008 13:34:57 +0000 (13:34 +0000)]
ASSERT_VALID_PTR(): Make bottom of memory a per-CPU constant

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

16 years agolist: Check pointers with ASSERT_VALID_PTR() rather than just ASSERT()
bernie [Sun, 10 Aug 2008 12:20:10 +0000 (12:20 +0000)]
list: Check pointers with ASSERT_VALID_PTR() rather than just ASSERT()

This fixes gcc 4.3 warnings when pointers to global variables were
passed to list macros.

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

16 years agoSCHED_ENQUEUE(): Enhance documentation
bernie [Sun, 10 Aug 2008 10:02:25 +0000 (10:02 +0000)]
SCHED_ENQUEUE(): Enhance documentation

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

16 years agoReformat to be more ps-like
bernie [Sun, 10 Aug 2008 09:56:34 +0000 (09:56 +0000)]
Reformat to be more ps-like

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

16 years agotest.h: Remove stray whitespace
bernie [Sun, 10 Aug 2008 09:41:16 +0000 (09:41 +0000)]
test.h: Remove stray whitespace

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