Unlock instant, AI-driven research and patent intelligence for your innovation.

Straight-through passage method for system call and conversion for processor emulation model

A simulation model, straight-through channel technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve the problems of poor portability and scalability, complex code, low system call conversion efficiency, etc. Simple extension and small amount of code

Inactive Publication Date: 2008-05-28
ZHEJIANG UNIV +1
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The current system call conversion method in the processor simulation model generally adopts the method of converting the system call of the target program in the processor exception service subroutine. This method requires the processor to perform frequent context switching and enter the exception The system call conversion can only be performed after the service subroutine, resulting in low efficiency of system call conversion, complex code, poor portability and scalability

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Straight-through passage method for system call and conversion for processor emulation model
  • Straight-through passage method for system call and conversion for processor emulation model
  • Straight-through passage method for system call and conversion for processor emulation model

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0047] Realize the "read (read)" system call in the processor simulation model. The classification number of the system call is 3. The function of the system call is to read data from the specified host file or device to the specified address in the simulation model. Realize that the steps that the present invention specifically includes are as follows:

[0048] 1) In the system call exception instruction execution module in the processor simulation model, establish a through channel entry function for system call conversion;

[0049] 2) In the through channel entry function established in step 1), the parameters of the system call are extracted and temporarily stored by using the register bank module in the processor simulation model and the read method defined therein, and each parameter of the system call is obtained. parameter;

[0050] 3) Classify the system calls according to the system call parameters extracted and temporarily stored in step 2). For each type of system...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a straight-through channel method of systematic transferring switch in a processor emulation mould, wherein a register group mould in the processor emulation mould is utilized to extract and process a systematic transferring parameter in a target program, and a bus interface mould is utilized to finish carrying of data between different systematic spaces and to switch systematic transferring in corresponded target programs. The series of processes are embedded in the process that the processor emulation mould executes the systematic transferring abnormal command. The method clearly divides the entrance of the straight-through channel of the systematic transferring switch, and each module of the sub-channel, and defines the entire flow path, and the structure of the straight-through channel of the systematic transferring switch is clear, the maintenance is simple, and the upgrading is convenient. The method has the advantages of strong expandability, excellent portability, and low altering cost and the like, and can effectively implement systematic transferring switch, and supports high-speed emulation and highly effective transferring of the target programs.

Description

technical field [0001] The invention relates to the technical fields of processor simulation model, operating system system call, target software simulation and debugging, and in particular to a through channel method for system call conversion in the processor simulation model. Background technique [0002] Processor simulation models are an important evaluation tool in the development of microprocessor-based embedded systems. It can simulate the process of the target processor hardware executing the target program, count the number of clock cycles consumed during the running process of the target program, the real-time status of the internal registers of the target processor, pipeline information, the workload of each internal execution unit, etc. detailed dynamic information. It enables embedded system architecture designers and embedded system software designers to effectively search the embedded system design space with less workload, faster speed and higher accuracy b...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/455
Inventor 严晓浪殷燎孟建熠黄凯
Owner ZHEJIANG UNIV