Program skipping method and device, electronic equipment and storage medium

A program jumping and program technology, applied in the computer field, can solve the problems of high re-opening cost, low efficiency, and UEFI code cannot be directly applied, and achieve the effect of improving development efficiency and reducing development cost.

Active Publication Date: 2019-05-07
LOONGSON TECH CORP
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the embodiments of the present invention is to provide a program jump method, device, electronic equipment and readable storage medium, so as to avoid the problem that the existing UEFI code cannot be directly applied to the MIPS architecture, and the high cost of re-opening The problem of inefficiency

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
  • Program skipping method and device, electronic equipment and storage medium
  • Program skipping method and device, electronic equipment and storage medium
  • Program skipping method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0061] refer to figure 1 , shows a flow chart of the steps of a program jump method in Embodiment 1 of the present invention, which may specifically include the following steps:

[0062] Step 101 , obtain a jump instruction to enter the SEC phase of UEFI that is preset at the address of the first instruction executed when the MIPS processor is powered on.

[0063] A MIPS processor refers to a processor based on the MIPS architecture. It is a processor that adopts a simplified instruction set and is widely used in many electronic products, network equipment, personal entertainment equipment, and business equipment.

[0064] UEFI, Unified Extensible Firmware Interface, is a standard that details the type of interface used by an ope...

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 embodiment of the invention provides a program skipping method and device. The method comprises the following steps of: obtaining a skip instruction which is preset at a first instruction addressand enters an SEC stage of the UEFI, wherein the first instruction address is electrically executed on the MIPS processor; Executing jump instructions, entering an SEC stage program of the UEFI, wherein the SEC stage program comprises an assembly program and a high-level language program; Executing an assembly program; when the MIPS processor is initialized, locking a target buffer space requiredfor executing a high-level language program; copying a high-level language program from a nonvolatile memory to the target buffer space; skipping from the assembly program to a target buffer space torun a high-level language program; According to the method, the SEC stage of the UEFI can be entered under the MIPS architecture; In the assembly program execution stage, the preparation work needed by high-level language program execution is completed, jumping from the assembly program to the high-level language program is achieved, the problem that an existing UEFI code cannot be directly applied to an MIPS framework is solved, the development cost is reduced, and the development efficiency is improved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a program jumping method, a program jumping device, an electronic device and a readable storage medium. Background technique [0002] UEFI (Unified Extensible Firmware Interface, Unified Extensible Firmware Interface) is a standard that describes a type interface in detail, and is used for an operating system to automatically load an operating system from a pre-started operating environment. The interface provided by UEFI to the system includes boot services (Boot Services) and runtime services (RuntimeServices). [0003] The first stage of UEFI power-on operation is the SEC (SECurity, security verification) stage. This stage mainly completes some basic configurations of the CPU so that it can start running UEFI code. This stage includes the assembly code related to the processor architecture and the general C language code that has nothing to do with the processor architectur...

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/4401G06F12/02
Inventor 李强王玉龙赵雪峰李超
Owner LOONGSON TECH CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products