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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 