A program jumping method, device, electronic device and storage medium

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

Active Publication Date: 2022-05-17
LOONGSON TECH CORP
View PDF7 Cites 0 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
  • A program jumping method, device, electronic device and storage medium
  • A program jumping method, device, electronic device and storage medium
  • A program jumping method, device, electronic device 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 present invention provides a program jump method and device, the method comprising: obtaining the jump instruction that enters the UEFI SEC stage preset at the address of the first instruction executed when the MIPS processor is powered on, and executing the jump instruction , enter the SEC phase program of UEFI, the SEC phase program includes an assembler and a high-level language program, execute the assembler, when the MIPS processor is initialized, lock the target buffer space required for executing the high-level language program, and convert the high-level language program from non- Copying the volatile memory to the target buffer space, jumping from the assembler to the target buffer space to run the high-level language program, can realize the SEC stage of entering UEFI under the MIPS architecture, and complete the execution of the high-level language program in the assembler execution stage The required preparatory work realizes the jump from assembler to high-level language program, avoids the problem that the existing UEFI code cannot be directly applied to the MIPS architecture, reduces the development cost, and improves the development efficiency.

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 Patents(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