Font Size: a A A

Design And Implementation Of Memory Management Module Of Embedded Operating System Based On Forth Virtual Machine

Posted on:2020-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:Z F ZhangFull Text:PDF
GTID:2428330575989306Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the development of the Internet of Things,the embedded operating system that based on Forth virtual machine has been widely using in hot areas,such as heart rate monitor,biological genetic engineering,artificial intelligence and machine learning.Due to the increasing demand for real-time,concurrency,stability and security,the memory management algorithms are also facing new challenges of the system.Therefore,a reliable and efficient memory management module is increasingly becoming an indispensable part of the system.However,the current memory management of embedded operating system that based on Forth virtual machine follows the traditional way.The Forth system usually uses a cooperative polling scheduling mechanism with known scheduling opportunities,so memory images of the system are predictable.In order to simplify the system design and give full play to the underlying operational capabilities of Froth's advantages,multitasking memory space management of Forth system adopts a static way to allocate memory for tasks.It will not provide memory recycling and spatial multiplexing mechanism,but will directly hand over the memory to the developer to manage.With the rise of the Forth virtual machine's priority preemption and time-sharing scheduling algorithms and the emergence of real-time,concurrent and multi-tasking,also with scheduling timing and memory images become unpredictable,existing extensive memory management methods are difficult to adapt to the current development of Forth systems.In order to improve the memory utilization of the system,increase the stability and security of the system,and facilitate the use of developers,it is necessary to break the original memory management method of Forth system,and develop a dynamic memory management module that based on the Forth virtual machine to meet the needs in real-time,concurrency,etc.This thesis is a sub-project of the research on the key technologies of the embedded operating system of the Forth virtual machine architecture funded by the National Natural Science Foundation of China.It is a dynamic memory management part of related sub-topics such as multitasking management and multi-task real-time scheduling.Based on the research of key technologies such as Forth virtual machine,task scheduling and multitasking management,this thesis designs and implements a dynamic partition memory management algorithm for embedded operating system that based on Forth virtual machine.The correctness,feasibility and effectiveness of the algorithm are verified on the embedded platform.The algorithm implements hardware abstraction,shields the underlying hardware details of the system,and increases the portability of the algorithm,which not only provides memory allocation and memory recovery mechanism,but also realizes memory information power-down recovery function.It also provides a safe and efficient memory management interface for the research of other sub-projects of the project.
Keywords/Search Tags:Forth Virtual Machine, Embedded Operating System, Memory Management, Dynamic Partition
PDF Full Text Request
Related items