]> Devoid-pointer.net GitWeb - KLGD.git/log
KLGD.git
10 years agoAdd klgd_make_command() function to create commands from already
Michal Malý [Tue, 26 Aug 2014 18:40:05 +0000 (20:40 +0200)]
Add klgd_make_command() function to create commands from already
allocated byte arrays

10 years agoRemove the helper variable
Michal Malý [Tue, 26 Aug 2014 00:20:06 +0000 (02:20 +0200)]
Remove the helper variable

10 years ago- Allocate struct klgd_command correctly
Michal Malý [Mon, 25 Aug 2014 23:52:28 +0000 (01:52 +0200)]
- Allocate struct klgd_command correctly
- Prevent modification of bytes pointer in struct klgd_command

10 years agoFree command stream once its processed
Michal Malý [Wed, 13 Aug 2014 16:39:03 +0000 (18:39 +0200)]
Free command stream once its processed

10 years agoRework the command sending logic so that the actual command submission
Michal Malý [Wed, 13 Aug 2014 15:18:46 +0000 (17:18 +0200)]
Rework the command sending logic so that the actual command submission
is always asynchronous to plugin state changes.

This requires the HW-spec driver to use synchronous ways of delivering
commands to the device as the sumbission routine now blocks with a mutex
held until the HW-spec submission function returns.

10 years agoAllow plugins state unlocking without rescheduling
Michal Malý [Wed, 13 Aug 2014 09:54:56 +0000 (11:54 +0200)]
Allow plugins state unlocking without rescheduling

10 years agoMAJOR CHANEGS:
Michal Malý [Wed, 13 Aug 2014 08:44:40 +0000 (10:44 +0200)]
MAJOR CHANEGS:
- Add helper functions for command and stream manipulation
- Change KLGD x Plugin relationship. Plugins can and must lock the KLGD
  state when their internal data is manipulated
- Try to send the command stream again if a recoverable error occurs
  during sending

10 years agoDo not free plugins as they might be allocated statically
Michal Malý [Sun, 27 Jul 2014 15:53:04 +0000 (17:53 +0200)]
Do not free plugins as they might be allocated statically

10 years ago- Do not use printk unless we report error
Michal Malý [Sun, 27 Jul 2014 15:15:04 +0000 (17:15 +0200)]
- Do not use printk unless we report error
- Keep function definitions in alphabetical order

10 years ago- Allow for no init function in plugin
Michal Malý [Sun, 27 Jul 2014 13:56:25 +0000 (15:56 +0200)]
- Allow for no init function in plugin
- No extra data to plugin init (use private instead)
- Allow for synchronous send_command_stream() callback
- Move the module-speific macros out of the header file

10 years agoFix memory allocation checks in _init
Michal Malý [Sun, 27 Jul 2014 08:45:40 +0000 (10:45 +0200)]
Fix memory allocation checks in _init

10 years agoDo not post events to invalid plugins
Michal Malý [Sun, 27 Jul 2014 08:38:06 +0000 (10:38 +0200)]
Do not post events to invalid plugins

10 years agoDo not free empty plugin slots
Michal Malý [Sun, 27 Jul 2014 08:32:55 +0000 (10:32 +0200)]
Do not free empty plugin slots

10 years agoFix symbol exporting and qualify internal functions as static
Michal Malý [Sun, 27 Jul 2014 08:31:19 +0000 (10:31 +0200)]
Fix symbol exporting and qualify internal functions as static

10 years agoUse delayed workqueue instead of timer
Michal Malý [Fri, 25 Jul 2014 23:45:41 +0000 (01:45 +0200)]
Use delayed workqueue instead of timer

10 years agoAdd module license and description
Michal Malý [Fri, 25 Jul 2014 19:16:10 +0000 (21:16 +0200)]
Add module license and description

10 years agoFix argument for klgd_schedule_update()
Michal Malý [Fri, 25 Jul 2014 19:12:45 +0000 (21:12 +0200)]
Fix argument for klgd_schedule_update()

10 years agoImplement rudimentary deinitialization
Michal Malý [Fri, 25 Jul 2014 19:12:12 +0000 (21:12 +0200)]
Implement rudimentary deinitialization

10 years agoExport symbols for other modules to use
Michal Malý [Fri, 25 Jul 2014 19:05:24 +0000 (21:05 +0200)]
Export symbols for other modules to use

10 years agoExport klgf_notify_commands_sent()
Michal Malý [Fri, 25 Jul 2014 19:01:33 +0000 (21:01 +0200)]
Export klgf_notify_commands_sent()

10 years agoAdd some debugging output, this shall be useful quite soon
Michal Malý [Fri, 25 Jul 2014 19:00:01 +0000 (21:00 +0200)]
Add some debugging output, this shall be useful quite soon

10 years agoInitial commit
Michal Malý [Fri, 25 Jul 2014 18:56:15 +0000 (20:56 +0200)]
Initial commit