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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoDrop ABI versioning for asm_switch_context(), as it could be easily done by renaming...
bernie [Sun, 10 Aug 2008 09:26:29 +0000 (09:26 +0000)]
Drop ABI versioning for asm_switch_context(), as it could be easily done by renaming the symbol

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

15 years agoFix PowerPC support
bernie [Sun, 10 Aug 2008 09:13:31 +0000 (09:13 +0000)]
Fix PowerPC support

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

15 years agoTest only c/c++ sources.
batt [Sat, 9 Aug 2008 10:09:53 +0000 (10:09 +0000)]
Test only c/c++ sources.

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

15 years agoRefactor to use new test interface; add timer test.
batt [Sat, 9 Aug 2008 10:09:26 +0000 (10:09 +0000)]
Refactor to use new test interface; add timer test.

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

15 years agoRefactor proc_test to comply with new policy.
batt [Sat, 9 Aug 2008 10:08:34 +0000 (10:08 +0000)]
Refactor proc_test to comply with new policy.

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

15 years agoAdd dummy empty include file.
batt [Sat, 9 Aug 2008 10:08:08 +0000 (10:08 +0000)]
Add dummy empty include file.

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

15 years agoFix warning.
batt [Sat, 9 Aug 2008 10:04:39 +0000 (10:04 +0000)]
Fix warning.

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

15 years agoAdd documentation.
batt [Sat, 9 Aug 2008 10:04:15 +0000 (10:04 +0000)]
Add documentation.

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

15 years agoRefactor timer test to new policy.
batt [Sat, 9 Aug 2008 10:03:49 +0000 (10:03 +0000)]
Refactor timer test to new policy.

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

15 years agoAdd test macros, useful to compile a test as a single file.
batt [Sat, 9 Aug 2008 10:02:37 +0000 (10:02 +0000)]
Add test macros, useful to compile a test as a single file.

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

15 years agoReformat.
batt [Fri, 8 Aug 2008 19:18:08 +0000 (19:18 +0000)]
Reformat.

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

15 years agoemul: make config simpler and closer to the embedded case
bernie [Fri, 8 Aug 2008 10:57:37 +0000 (10:57 +0000)]
emul: make config simpler and closer to the embedded case

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

15 years agoFix headers and license info in several places
bernie [Fri, 8 Aug 2008 10:54:40 +0000 (10:54 +0000)]
Fix headers and license info in several places

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

15 years agoemul: make config simpler and closer to the embedded case
bernie [Fri, 8 Aug 2008 10:45:10 +0000 (10:45 +0000)]
emul: make config simpler and closer to the embedded case

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

15 years agoCompletely port to Qt4 with no Q3Support
bernie [Fri, 8 Aug 2008 10:28:10 +0000 (10:28 +0000)]
Completely port to Qt4 with no Q3Support

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

15 years agoTypo.
batt [Fri, 8 Aug 2008 09:58:00 +0000 (09:58 +0000)]
Typo.

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

15 years agofix warning: missing terminating ' character on 4.2 compilers.
batt [Fri, 8 Aug 2008 09:54:13 +0000 (09:54 +0000)]
fix warning: missing terminating ' character on 4.2 compilers.

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

15 years agodemo: Remove misleading comment
bernie [Fri, 8 Aug 2008 08:24:49 +0000 (08:24 +0000)]
demo: Remove misleading comment

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

15 years agoFix timer test temporarily
bernie [Fri, 8 Aug 2008 08:17:12 +0000 (08:17 +0000)]
Fix timer test temporarily

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

15 years agoRemove leftovers of Qt3 support
bernie [Fri, 8 Aug 2008 08:16:30 +0000 (08:16 +0000)]
Remove leftovers of Qt3 support

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

15 years agoRefactor FLASH25 macro in FLASH25_CAST.
qwert [Thu, 7 Aug 2008 13:36:03 +0000 (13:36 +0000)]
Refactor FLASH25 macro in FLASH25_CAST.

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

15 years agoRefactor FLASHAVR macro in FLASHAVR_CAST.
qwert [Thu, 7 Aug 2008 13:34:24 +0000 (13:34 +0000)]
Refactor FLASHAVR macro in FLASHAVR_CAST.

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

15 years agoRefactor DATAFLASH macro in DATAFLASH_CAST
qwert [Thu, 7 Aug 2008 13:31:50 +0000 (13:31 +0000)]
Refactor DATAFLASH macro in DATAFLASH_CAST

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

15 years agoRefactor SERIAL macro.
qwert [Thu, 7 Aug 2008 13:24:57 +0000 (13:24 +0000)]
Refactor SERIAL macro.

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