Font Size: a A A

Acoral Executable File Loaded With Thread Interaction Mechanism Research And Design

Posted on:2013-12-31Degree:MasterType:Thesis
Country:ChinaCandidate:Z Q YanFull Text:PDF
GTID:2248330374986085Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With embedded technology developing, embedded systems have become acomposite device which is integrated multiple functions from industrial equipment. Itis disadvantage of compiling OS and application to be a whole that becomesincreasingly obvious. For this reason, some mechanism that separate embedded OSand application must be adopted. This mechanism is called "task-loading mechanismunder the embedded platforms".Therefore, with task-loading theory under PC platforms, and deeply studying andreading description of variety of executable file format, the author summarizes thefeatures and designs format of executable file under embedded systems, task-loading,and system-calls. The author deeply studys the interactive mechanism between tasksas the same time. As a result, tools for task interaction, such as spin-lock, mutex,semaphore, message, read and write lock, are designed according to newcharacteristics of existing task-loading under embedded systems.Task-loading mechanism under embedded systems consists of three parts: theexecutable file format, task loader, system calls. The solution of executable fileformat includes how to design library and link library and executable file and how tocompile executable file. How to deal with system calls in kernel and the design oflibrary of system-calls are tow important aspects in the design of system calls. Themain task of task interactive mechanism is to design interactive tools. These toolsinclude spin-lock, mutex, semaphore, message, read and write lock.Firstly, this thesis introduces the whole arthitecture of aCoral, then describes thedesign and implementation of task-loading mechanism and interactive mechanism indetail. Finally, this thesis makes some testing cases for implementation infunctionality and performance.
Keywords/Search Tags:task-loading, Task interaction, aCoral, embedded systems, systemcalls
PDF Full Text Request
Related items