Compatible method, module and channel system of VxWorks system
A technology of road system and interactive modules, applied in the field of embedded operating systems, can solve problems such as different results, different input parameters and output parameters, and software failure
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0065] see figure 1 , a compatible method of VxWorks system is provided in the first embodiment of the present invention, which is applied to the Dao system, and the method includes:
[0066] S110, receiving the first parameter sent by the Vxworks system; wherein, the first parameter is generated according to a user trigger operation received by the software based on the VxWorks system.
[0067] S120. Convert the received first parameter into a second parameter required by calling an interface in the channel system for performing user-triggered operations.
[0068] S130. According to the second parameter, call an interface in the system kernel for performing the user-triggered operation.
[0069] Before step S110, the method also includes:
[0070] Determine whether it is currently in the interrupt context; if not, create a control block structure for storing the first parameter.
[0071] After step S110, the method also includes:
[0072] Store the received first paramete...
Embodiment 2
[0088] Embodiment 2 of the present invention provides an interaction method between the VxWorks compatibility layer and the task management module of the Tao system, wherein the interaction method specifically includes: a method for creating and starting a task, a method for deleting a task, a method for restarting a task, and applying protection to a task And the method of releasing the protection, the method of modifying the priority of the task, and the method of delaying the task.
[0089] Specifically, see Figure 2a , the VxWorks compatibility layer creates and starts the task method in the system, including:
[0090] S210, judging whether it is currently in the interrupt context; if not, creating a task control block structure and allocating the stack space required to execute the task; wherein, the task control block structure is required for storing the creation task generated by the VxWorks system parameters.
[0091] S211. Receive the parameters generated by the V...
Embodiment 3
[0119] Embodiment 3 of the present invention provides a method for interacting between the VxWorks compatibility layer and the inter-task communication module of the channel system through a semaphore, wherein the interaction method specifically includes: creating a semaphore, deleting a semaphore, acquiring a semaphore, releasing a semaphore, and releasing a semaphore. A task that blocks on a semaphore.
[0120] Specifically, see Figure 3a , the VxWorks compatibility layer creates a semaphore method in the channel system, including:
[0121] S310, judging whether it is currently in the interrupt context; if not, receiving the parameters for creating the semaphore generated by the VxWorks system, i.e. the first semaphore parameter.
[0122] S311. Convert the first semaphore parameter into a second semaphore parameter required by an interface for creating a semaphore in the channel system.
[0123] S312. Call the interface for creating the semaphore of the system kernel, and...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com