projects/modsched/dev.git
6 years agoAdded some debug information. p/jkrieg/MA
Jens Krieg [Mon, 23 Jun 2014 07:34:47 +0000 (09:34 +0200)]
Added some debug information.

6 years agoadded some printf's to mpss module for debugging
Jens Krieg [Thu, 5 Jun 2014 10:25:13 +0000 (12:25 +0200)]
added some printf's to mpss module for debugging

6 years agoadded mpss-3.1.2, card docu with tutorials and the original initrd files
Jens Krieg [Fri, 16 May 2014 08:25:47 +0000 (10:25 +0200)]
added mpss-3.1.2, card docu with tutorials and the original initrd files

6 years agoremoved deprecated intel-k1om and intel-mic-k1om dircetory.
Jens Krieg [Fri, 16 May 2014 08:15:34 +0000 (10:15 +0200)]
removed deprecated intel-k1om and intel-mic-k1om dircetory.

6 years agofirst step to multiple instantiation on modules
Anselm Busse [Thu, 15 May 2014 08:26:05 +0000 (10:26 +0200)]
first step to multiple instantiation on modules

6 years agofix compiler warnings
Anselm Busse [Wed, 14 May 2014 11:55:22 +0000 (13:55 +0200)]
fix compiler warnings

6 years agoMerge commit '2f2f2f3a77fa6d570e68e7ee8ef7314d46bf0b16' into p/abusse/fw-devel
Anselm Busse [Wed, 14 May 2014 11:25:49 +0000 (13:25 +0200)]
Merge commit '2f2f2f3a77fa6d570e68e7ee8ef7314d46bf0b16' into p/abusse/fw-devel

* commit '2f2f2f3a77fa6d570e68e7ee8ef7314d46bf0b16':
  Fixed some bugs in framework. FreeBSD boots successfully.
  Minor changes. Fixed compiler and linker errors in FreeBSD.

Conflicts:
framework/modules/round_robin.c

6 years agoforgotten files
Anselm Busse [Wed, 14 May 2014 10:56:19 +0000 (12:56 +0200)]
forgotten files

6 years agoMerge branch 'p/abusse/fw-devel' of git:projects/modsched/dev into p/jkrieg/master
Jens Krieg [Wed, 14 May 2014 10:53:51 +0000 (12:53 +0200)]
Merge branch 'p/abusse/fw-devel' of git:projects/modsched/dev into p/jkrieg/master

Conflicts:
framework/include/fw_debug.h
framework/lib/fw_sched.c

6 years agobugfix in round_robin module
Anselm Busse [Wed, 14 May 2014 10:41:07 +0000 (12:41 +0200)]
bugfix in round_robin module

6 years agoFixed some bugs in framework. FreeBSD boots successfully.
Jens Krieg [Wed, 14 May 2014 10:37:17 +0000 (12:37 +0200)]
Fixed some bugs in framework. FreeBSD boots successfully.

6 years agoimproved debugging support
Anselm Busse [Wed, 14 May 2014 10:28:19 +0000 (12:28 +0200)]
improved debugging support

6 years agomove fw_task memory release from framework to os
Anselm Busse [Tue, 13 May 2014 12:15:15 +0000 (14:15 +0200)]
move fw_task memory release from framework to os

6 years agofixed debug output for gcc
Anselm Busse [Tue, 13 May 2014 11:43:47 +0000 (13:43 +0200)]
fixed debug output for gcc

6 years agoMinor changes. Fixed compiler and linker errors in FreeBSD.
Jens Krieg [Tue, 13 May 2014 08:36:55 +0000 (10:36 +0200)]
Minor changes. Fixed compiler and linker errors in FreeBSD.

6 years agominor error from last merge
Anselm Busse [Mon, 12 May 2014 15:34:30 +0000 (17:34 +0200)]
minor error from last merge

6 years agoMerge commit '5921c9dfb3c974558392f0521100559578b2cfed' into p/abusse/fw-devel
Anselm Busse [Mon, 12 May 2014 15:32:32 +0000 (17:32 +0200)]
Merge commit '5921c9dfb3c974558392f0521100559578b2cfed' into p/abusse/fw-devel

Conflicts:
framework/generated/fw_schedlist_links.c
framework/include/generated/fw_schedlist_links.h
framework/lib/fw.c
framework/modules/round_robin.c

6 years agoadded in and out queues to the framework and adapted the round robin scheduler to it
Anselm Busse [Mon, 5 May 2014 15:03:55 +0000 (17:03 +0200)]
added in and out queues to the framework and adapted the round robin scheduler to it

6 years agoChanges to publisher subscribe system:
Jens Krieg [Wed, 30 Apr 2014 10:07:26 +0000 (12:07 +0200)]
Changes to publisher subscribe system:

* ADDED: module side topic registration
* REMOVED: replaced enum topic list by defines
* ADDED: catching errors while memory allocation

6 years agoMerge commit '41badc9089556c956a9fd8630c421d6550c24260' into p/abusse/fw-devel
Anselm Busse [Tue, 29 Apr 2014 09:15:10 +0000 (11:15 +0200)]
Merge commit '41badc9089556c956a9fd8630c421d6550c24260' into p/abusse/fw-devel

6 years agoRestored generated linking passages in RR module.
Jens Krieg [Tue, 29 Apr 2014 07:42:34 +0000 (09:42 +0200)]
Restored generated linking passages in RR module.

6 years agoLinux is running the rr_module without kvm
sechting [Fri, 25 Apr 2014 14:13:55 +0000 (16:13 +0200)]
Linux is running the rr_module without kvm

The framework module is now doing the scheduling without any problems.
The concurrent running of the linux scheduler and the rr_module created
a race-condition through the scheduler_tick() function. Removing the
'set_tsk_need_resched()' solved the problem.

6 years agodedicated file for debug routines
Anselm Busse [Wed, 16 Apr 2014 15:11:41 +0000 (17:11 +0200)]
dedicated file for debug routines

6 years agoLinux boots with framework, but without global queues.
Jens Krieg [Wed, 16 Apr 2014 11:08:13 +0000 (13:08 +0200)]
Linux boots with framework, but without global queues.

6 years agoMerge branch 'master' of git:projects/modsched/dev into p/jkrieg/master
Jens Krieg [Wed, 16 Apr 2014 07:36:52 +0000 (09:36 +0200)]
Merge branch 'master' of git:projects/modsched/dev into p/jkrieg/master

Conflicts:
framework/include/fw_comm.h
framework/lib/fw_sched.c

6 years agoAdapted transition names due to changes in scheduling model.
Jens Krieg [Wed, 16 Apr 2014 07:24:40 +0000 (09:24 +0200)]
Adapted transition names due to changes in scheduling model.

6 years agoConsistent state and state change naming.
Anselm Busse [Tue, 15 Apr 2014 15:47:03 +0000 (17:47 +0200)]
Consistent state and state change naming.

6 years agoMoved core.c and sched.h into framework.
Jens Krieg [Tue, 15 Apr 2014 14:09:21 +0000 (16:09 +0200)]
Moved core.c and sched.h into framework.

* Adapted several framework macros to make them compatible with linux.
* Removed deprecated files
* Linux is booting without SMP. SMP not tested.

6 years agoAdapted global runqueues to the resent changes.
Jens Krieg [Mon, 14 Apr 2014 15:38:20 +0000 (17:38 +0200)]
Adapted global runqueues to the resent changes.

6 years agoFinally merged commit ecd77338 and f7977464.
Jens Krieg [Fri, 11 Apr 2014 11:44:56 +0000 (13:44 +0200)]
Finally merged commit ecd77338 and f7977464.

* FreeBSD starts on single core, with prepared SMP version.
* Modified FreeBSD specific locking by moving to os_lock.c
* Moved __fw_(un)block from fw.c to fw_sched.c
* Renamed function __fw_schedule to fw_dispatch, calling __fw_dispatch
* Added cpu variable in struct fw_task

6 years agoMinor changes after merging from "minor". Fixed list bug.
Jens Krieg [Thu, 10 Apr 2014 15:02:23 +0000 (17:02 +0200)]
Minor changes after merging from "minor". Fixed list bug.

6 years agoMerge branch 'p/abusse/fw-devel' of git:projects/modsched/dev into p/jkrieg/master
Jens Krieg [Thu, 10 Apr 2014 13:48:18 +0000 (15:48 +0200)]
Merge branch 'p/abusse/fw-devel' of git:projects/modsched/dev into p/jkrieg/master

6 years agoRevert "First steps towards SMP. Not running!!!"
Jens Krieg [Thu, 10 Apr 2014 13:42:49 +0000 (15:42 +0200)]
Revert "First steps towards SMP. Not running!!!"

This reverts commit 9dd7c1aae2fd50f047e9e9c0914e061c67acb233.

6 years agominor
Anselm Busse [Thu, 10 Apr 2014 11:51:34 +0000 (13:51 +0200)]
minor

6 years agoperformance penalty only during debugging
Anselm Busse [Thu, 10 Apr 2014 11:51:24 +0000 (13:51 +0200)]
performance penalty only during debugging

6 years agounsafe lock implementation!
Anselm Busse [Thu, 10 Apr 2014 11:50:46 +0000 (13:50 +0200)]
unsafe lock implementation!

6 years agosome fixes in round_robin
Anselm Busse [Thu, 10 Apr 2014 11:50:00 +0000 (13:50 +0200)]
some fixes in round_robin

6 years agoCommunication must be initialized before every thing else!
Anselm Busse [Thu, 10 Apr 2014 09:29:49 +0000 (11:29 +0200)]
Communication must be initialized before every thing else!

6 years agoremove obvious merge artifact
Anselm Busse [Thu, 10 Apr 2014 09:29:23 +0000 (11:29 +0200)]
remove obvious merge artifact

6 years agoFirst steps towards SMP. Not running!!!
Jens Krieg [Wed, 9 Apr 2014 15:17:49 +0000 (17:17 +0200)]
First steps towards SMP. Not running!!!

6 years agogitignore for the framework
Anselm Busse [Wed, 9 Apr 2014 14:12:39 +0000 (16:12 +0200)]
gitignore for the framework

6 years agoberros compiles again but not running
Anselm Busse [Wed, 9 Apr 2014 14:12:13 +0000 (16:12 +0200)]
berros compiles again but not running

6 years agoMerge branch 'p/anton.e/master' into p/abusse/fw-devel
Anselm Busse [Wed, 9 Apr 2014 07:51:28 +0000 (09:51 +0200)]
Merge branch 'p/anton.e/master' into p/abusse/fw-devel

Conflicts:
framework/include/fw_comm.h
framework/include/fw_modules.h
framework/include/fw_task.h
framework/include/fw_types.h
framework/include/os_sched.h
framework/lib/fw.c
framework/lib/fw_modules.c
framework/modules/round_robin.c
framework/os/bertos/os.c

6 years agoprepare idle task integration
Anselm Busse [Tue, 8 Apr 2014 14:25:24 +0000 (16:25 +0200)]
prepare idle task integration

6 years agoGlobal process management
Anton Eisenbraun [Fri, 7 Mar 2014 13:48:26 +0000 (14:48 +0100)]
Global process management

* Added global ready and block queue
* Added function to modify ready and block queues
* Subscribed function to corresponding events
* Added new task state (FW_EXIT)
* Modified fw_list implementation to prevent corrupted list
* Added macro (FW_CPU_ID()) for SMP representing current CPU
* Modified sched_add to differentiate between new and blocked task

6 years agoMinor changes:
Jens Krieg [Tue, 4 Mar 2014 16:21:47 +0000 (17:21 +0100)]
Minor changes:

* Added: FW_DEBUG_PRINT depend on FW_DEBUG define.
* Added: FW_TASK_NAME and FW_TASK_ID in OS depend header for OS specific
* task model
* Changed: renamed module list print function

6 years agoextracted tick devision from round robin module
Anselm Busse [Tue, 4 Mar 2014 14:04:43 +0000 (15:04 +0100)]
extracted tick devision from round robin module

6 years agoChanged fw_queues to fw_info.
Jens Krieg [Mon, 3 Mar 2014 10:28:31 +0000 (11:28 +0100)]
Changed fw_queues to fw_info.

6 years agoAdded fw->os locking layer.
Jens Krieg [Fri, 28 Feb 2014 12:51:28 +0000 (13:51 +0100)]
Added fw->os locking layer.

6 years agoMinor changes in FW:
Jens Krieg [Thu, 27 Feb 2014 12:15:15 +0000 (13:15 +0100)]
Minor changes in FW:

* Added: FW locking functions (without context, needs to be added)
* Modified: corrected state settings in rr module
* Modified: FreeBSD booting with thread_locks

6 years agoAdded mpss-(daemon,micdaemon,modules)-3.1.2
Jens Krieg [Mon, 3 Feb 2014 15:21:00 +0000 (16:21 +0100)]
Added mpss-(daemon,micdaemon,modules)-3.1.2

6 years agoMerge branch 'p/anton.e/master' of git:projects/modsched/dev into p/jkrieg/master
Jens Krieg [Mon, 27 Jan 2014 16:07:56 +0000 (17:07 +0100)]
Merge branch 'p/anton.e/master' of git:projects/modsched/dev into p/jkrieg/master

Conflicts:
framework/os/freebsd/fbsd_sched.c

6 years agoFinal version without thread locking.
Jens Krieg [Mon, 27 Jan 2014 16:04:26 +0000 (17:04 +0100)]
Final version without thread locking.

6 years agoEnabled FreeBSD locks and removed fw_locks.
Anton Eisenbraun [Mon, 27 Jan 2014 15:45:01 +0000 (16:45 +0100)]
Enabled FreeBSD locks and removed fw_locks.

6 years agoBug fixing with idle task. Inserted locks.
Jens Krieg [Tue, 21 Jan 2014 17:01:50 +0000 (18:01 +0100)]
Bug fixing with idle task. Inserted locks.

Merge branch 'master' of git:projects/modsched/dev into p/jkrieg/master

Conflicts:
framework/modules/round_robin.c

6 years agoStarting dynamic process linking
Anselm Busse [Mon, 20 Jan 2014 17:41:14 +0000 (18:41 +0100)]
Starting dynamic process linking

6 years agoAdded initial support for dynamic module loading.
Anselm Busse [Mon, 20 Jan 2014 14:48:10 +0000 (15:48 +0100)]
Added initial support for dynamic module loading.

The init routines of the modules are referenced in a special code section with the fw_module_init() function. A linker script is necessary to ensure that this happens.

6 years agoAdded tick handling to the round robin scheduler.
Anselm Busse [Thu, 16 Jan 2014 16:03:44 +0000 (17:03 +0100)]
Added tick handling to the round robin scheduler.

The scheduler subscribes for the tick event and reschedules after a certain amount of ticks. The time slice gets reset during reschedule.

6 years agoAdded everywhere a bit.
Jens Krieg [Wed, 15 Jan 2014 16:05:36 +0000 (17:05 +0100)]
Added everywhere a bit.

* minor changes fbsd_sched.c (diff for yourself)
* added spinlock functions
* added to some printf's for debugging

6 years agoFix a bug when process is deleted.
Anselm Busse [Tue, 14 Jan 2014 18:40:27 +0000 (19:40 +0100)]
Fix a bug when process is deleted.

On the exit of a program the process was not deleted since it was running and therefore not in the ready queue. So we delete the current process if nothing is found in the ready queue.

6 years agoAll incomming request to scheduler will be handled.
Jens Krieg [Thu, 9 Jan 2014 11:14:06 +0000 (12:14 +0100)]
All incomming request to scheduler will be handled.

System is booting and working.

6 years agoModified RR scheduler. FreeBSD boots with FW.
Jens Krieg [Wed, 8 Jan 2014 12:04:57 +0000 (13:04 +0100)]
Modified RR scheduler. FreeBSD boots with FW.

There will be problem when merging with stuff from linux.

6 years agoFixed idle thread bug.
Anton Eisenbraun [Mon, 6 Jan 2014 15:29:19 +0000 (16:29 +0100)]
Fixed idle thread bug.

6 years agoFreeBSD booting till user space and crashes. Do not merge with Master!
Jens Krieg [Thu, 19 Dec 2013 17:07:39 +0000 (18:07 +0100)]
FreeBSD booting till user space and crashes. Do not merge with Master!

6 years agoRemoved pointer failures.
Jens Krieg [Wed, 18 Dec 2013 09:43:06 +0000 (10:43 +0100)]
Removed pointer failures.

6 years agoChanged current to fw_current due to multiple definition.
Jens Krieg [Tue, 17 Dec 2013 14:52:52 +0000 (15:52 +0100)]
Changed current to fw_current due to multiple definition.

6 years agoChanged printf to fw_printf.
Jens Krieg [Tue, 17 Dec 2013 14:31:27 +0000 (15:31 +0100)]
Changed printf to fw_printf.

6 years agoMajor changes:
Jens Krieg [Tue, 17 Dec 2013 14:17:01 +0000 (15:17 +0100)]
Major changes:

* moved initializing print vom os_init to fw_init
* added missing files

6 years agoMajor changes:
Jens Krieg [Tue, 17 Dec 2013 14:00:56 +0000 (15:00 +0100)]
Major changes:

* added global run, blocked, and suspend queue
* added function to print queues
* created fw_sched files for framework dependent scheduling functions
* added function to get fw_queues pointer inside framework
* moved fw_register_module to fw_modules files

6 years agoAdded the global queues.
Jens Krieg [Mon, 16 Dec 2013 17:28:22 +0000 (18:28 +0100)]
Added the global queues.

* added global pointer to access queues
* queues are: rq, bq, and sq

6 years agoFixed multiple definition. Renamed variable to fw_cur_task.
Jens Krieg [Mon, 16 Dec 2013 13:26:18 +0000 (14:26 +0100)]
Fixed multiple definition. Renamed variable to fw_cur_task.

6 years agoMinor design changes.
Jens Krieg [Mon, 16 Dec 2013 12:37:48 +0000 (13:37 +0100)]
Minor design changes.

* Added variable fw_new_task that shall be dispatched.
* Changed some variale declarations
* Renamed current_task to fw_current_task due to multiple definitions

6 years agoAdded malloc and free functionality of FreeBSD.
Jens Krieg [Fri, 13 Dec 2013 15:55:40 +0000 (16:55 +0100)]
Added malloc and free functionality of FreeBSD.

6 years agolinux - kmalloc and kfree added
René Sechting [Fri, 13 Dec 2013 15:06:32 +0000 (16:06 +0100)]
linux - kmalloc and kfree added

added kmalloc and kfree to the framework

6 years agoMerge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/anton.e/master
Anton Eisenbraun [Fri, 13 Dec 2013 14:57:14 +0000 (15:57 +0100)]
Merge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/anton.e/master

6 years agoSorry missed something :( Replacement finished.
Jens Krieg [Fri, 13 Dec 2013 14:56:22 +0000 (15:56 +0100)]
Sorry missed something :( Replacement finished.

6 years agoMerge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/anton.e/master
Anton Eisenbraun [Fri, 13 Dec 2013 14:51:27 +0000 (15:51 +0100)]
Merge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/anton.e/master

6 years agoFixed include path.
Anton Eisenbraun [Fri, 13 Dec 2013 14:48:00 +0000 (15:48 +0100)]
Fixed include path.

Moved KBUILD_CFLAGS from modsched/framework/os/linux/Makefile to modsched/Makefile

6 years agoReplaced ugly type declarations. Let's do it like linux!
Jens Krieg [Fri, 13 Dec 2013 14:47:59 +0000 (15:47 +0100)]
Replaced ugly type declarations. Let's do it like linux!

6 years agoMinor changes in rr module.
Jens Krieg [Fri, 13 Dec 2013 14:36:03 +0000 (15:36 +0100)]
Minor changes in rr module.

6 years agoadded enum and changed makefile
René Sechting [Fri, 13 Dec 2013 14:25:56 +0000 (15:25 +0100)]
added enum and changed makefile

added FW_TIMEOUT

6 years agoMerge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/sechting/master
René Sechting [Fri, 13 Dec 2013 14:18:26 +0000 (15:18 +0100)]
Merge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/sechting/master

6 years agoMinor Bug fixes:
Jens Krieg [Fri, 13 Dec 2013 14:16:04 +0000 (15:16 +0100)]
Minor Bug fixes:
* Renamed events
* fw_container_of returned a const char* to a char*
* removed a missplaced ";"

6 years agoMerge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/sechting/master
René Sechting [Fri, 13 Dec 2013 14:07:13 +0000 (15:07 +0100)]
Merge branch 'p/jkrieg/master' of git:projects/modsched/dev into p/sechting/master

6 years agoMerge branch 'p/anton.e/master' of git:projects/modsched/dev into p/sechting/master
René Sechting [Fri, 13 Dec 2013 14:01:11 +0000 (15:01 +0100)]
Merge branch 'p/anton.e/master' of git:projects/modsched/dev into p/sechting/master

6 years agoAdded FreeBSD to current framwork. Not compiling!
Jens Krieg [Fri, 13 Dec 2013 13:41:02 +0000 (14:41 +0100)]
Added FreeBSD to current framwork. Not compiling!

6 years agoMerge branch 'p/anton.e/master' of git:projects/modsched/dev into p/jkrieg/master
Jens Krieg [Thu, 12 Dec 2013 18:06:45 +0000 (19:06 +0100)]
Merge branch 'p/anton.e/master' of git:projects/modsched/dev into p/jkrieg/master

6 years agoMerged all linux dependent makefiles into one file.
Anton Eisenbraun [Thu, 12 Dec 2013 17:57:51 +0000 (18:57 +0100)]
Merged all linux dependent makefiles into one file.

6 years agoMerge remote-tracking branch 'remotes/origin/p/anton.e/master' into p/sechting/master
René Sechting [Thu, 12 Dec 2013 17:03:15 +0000 (18:03 +0100)]
Merge remote-tracking branch 'remotes/origin/p/anton.e/master' into p/sechting/master

6 years agomerge with fw-devel and anton.e/master
René Sechting [Thu, 12 Dec 2013 16:58:56 +0000 (17:58 +0100)]
merge with fw-devel and anton.e/master

6 years agoMerged master with p/anton.e/master. Added missing freebsd files. Adapted Makefiles...
Anton Eisenbraun [Thu, 12 Dec 2013 16:32:19 +0000 (17:32 +0100)]
Merged master with p/anton.e/ Added missing freebsd files. Adapted Makefiles to the new directory structure.
Added OS dependent header files. Moved bertos dependent code from round robin module to os specific file.

6 years agoMerge branch 'fw-devel'
Anselm Busse [Thu, 12 Dec 2013 11:25:56 +0000 (12:25 +0100)]
Merge branch 'fw-devel'

6 years agoIntroduced a new directory structure.
Anselm Busse [Thu, 12 Dec 2013 11:18:09 +0000 (12:18 +0100)]
Introduced a new directory structure.

6 years agoFirst working version of the framework for BeRTOS
Anselm Busse [Wed, 30 Oct 2013 13:36:28 +0000 (14:36 +0100)]
First working version of the framework for BeRTOS

Implementation works - for now - for the none preemptive scheduler only!

6 years agoStarting implementation for support BeRTOS.
Anselm Busse [Thu, 24 Oct 2013 15:21:00 +0000 (17:21 +0200)]
Starting implementation for support BeRTOS.

6 years agomigrated framework from linux repository
Anselm Busse [Tue, 22 Oct 2013 08:50:31 +0000 (10:50 +0200)]
migrated framework from linux repository

6 years agoMerge branch 'p/jkrieg/master' of git:projects/modsched/dev
Anselm Busse [Mon, 7 Oct 2013 13:29:14 +0000 (15:29 +0200)]
Merge branch 'p/jkrieg/master' of git:projects/modsched/dev

6 years agoFreeBSD 9.0 system files need for cross GCC.
Jens Krieg [Mon, 7 Oct 2013 13:24:33 +0000 (15:24 +0200)]
FreeBSD 9.0 system files need for cross GCC.

6 years agoMerge branch 'p/jkrieg/master'
Anselm Busse [Mon, 7 Oct 2013 13:19:19 +0000 (15:19 +0200)]
Merge branch 'p/jkrieg/master'

6 years agoFreeBSD 9.0 system files need for cross GCC.
Jens Krieg [Mon, 7 Oct 2013 13:14:25 +0000 (15:14 +0200)]
FreeBSD 9.0 system files need for cross GCC.