• DocumentCode
    3732239
  • Title

    Formal Development of a Real-Time Operating System Memory Manager

  • Author

    Wen Su;Jean-Raymond Abrial;Geguang Pu;Bin Fang

  • Author_Institution
    Sch. of Comput. Eng. &
  • fYear
    2015
  • Firstpage
    130
  • Lastpage
    139
  • Abstract
    This paper presents the formal development of the memory management module of a real time operating system. The interesting feature of this type of memory manager is that its dynamic memory allocation/reallocation mechanism behaves in O(1) (no loops). This brings a serious challenge on the "correct by construction" approach used to build this kind of system. This is due to the necessity to elaborate some delicate algorithms associated with complex data structures. To overcome this challenge, we follow the refinement principles of Event-B: we construct the proved executable code from some initial requirements. This development is interesting because some of the encountered problems are rather necessary to be studied in formal proved developments, among which are a modular encapsulation development, the design pattern of a linked list, and the usage of guarded events to develop pre-conditioned operations. It also gives us the opportunity to study a complex program construction in some general terms going beyond this specific example.
  • Keywords
    "Memory management","Operating systems","Heuristic algorithms","Data structures","Real-time systems","Electronic mail","Resource management"
  • Publisher
    ieee
  • Conference_Titel
    Engineering of Complex Computer Systems (ICECCS), 2015 20th International Conference on
  • Type

    conf

  • DOI
    10.1109/ICECCS.2015.24
  • Filename
    7384237