Refactorization of the system to provide support of default console provider, default graphic provider and default program separately and detection a program type (graphics/console)

Issue #206 new
Patryk Kubiak created an issue

Target Description

Currently the system allows only for choosing default program, that should be run with the system start. It is not enough, because the program is also used as default console provider and default graphic provider, so when we choose chell as default program, we have to start graphic program manual by typing command in the terminal. Also, if we choose graphic program as default, we do not have a possibility to connect to the system console via UART or Telnet. It cannot be done in this way.

General Description

The system has to provide a possibility to choose graphic provider, console provider and default program separately. Usage of console and graphic providers as well as default program should be optional - user should have a way to disable providers and default program if they are not necessary in the project, but if none of them is enabled, compilator should throw an error. Both graphic and console provider have to be programs (to provide independent work on different screens). Graphic provider and default program has to be defined as commands for console provider to allow for giving additional parameters to them and to allow for using of elf/cbin files for that. One of the requirements of the task is also to add a screens names list and default screen name to the process object.

List of requirements

  • [ #245 ] - Support of commands given as program argument in chell
  • [ #245 ] - Graphic provider defined as command for console provider
  • [ #245 ] - Default program defined as command for console provider
  • [ #245 ] - Possibility of adding command arguments for console provider
  • [ #245 ] - System supports graphic provider
  • [ #245 ] - System supports console provider
  • [ #245 ] - Console provider is used for Telnet service
  • [ #245 ] - Possibility of choosing cbin and elf files as graphic provider
  • [ #245 ] - Possibility of choosing cbin and elf files as default program
  • [ #245 ] - Possibility of disabling graphic provider if it is not needed
  • [ #245 ] - Possibility of disabling console provider if it is not needed
  • [ #245 ] - Possibility of disabling default program if it is not needed
  • [ #245 ] - Possibility of adding command arguments to the graphic provider
  • [ #245 ] - Possibility of adding command arguments to the default program
  • [ #245 ] - It is possible to assign process as owner of a screen
  • [ #245 ] - Screen interface allows for assignment of process as screen owner
  • [ #245 ] - Screen interface allows for checking if current process is owner of the screen
  • [ #245 ] - Console provider is started with the system
  • [ #245 ] - Console provider is rerun if it is enabled but it is not running
  • [ #245 ] - Graphic provider is rerun if it is enabled but it is not running in idle task

Goal

  • [ #201 ] - Prepare GUI interface support

Stories

  • [ #245 ] - Providing support of standard system providers

Comments (8)

  1. Log in to comment