Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework

A technology of X86VBIOS and X86, which is applied in the field of VBIOS transplantation, can solve problems such as the unavailability of graphics cards, and achieve the effects of realizing display requirements, reducing development costs, and flexible design

Inactive Publication Date: 2011-04-20
SUGON INFORMATION IND
View PDF0 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

On non-x86 platforms, the processor cannot directly run the code, and th

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
  • Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework
  • Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework
  • Method for realizing operation of X86 VBIOS (video-bios) on MIPS (million instruction per second) framework

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] Loongson BIOS expands the VGA BIOS simulator on the basis of PMON to simulate the graphics card BIOS operating environment to achieve the purpose of correctly initializing the graphics card.

[0039] The vga_bios_init() function reads the video-bios and runs the x86 emulator to interpret and execute it.

[0040] It can not only read the binary code from the rom area of ​​vga, but also make the video-bios binary file into an array and write it into the program in advance. The general flow of the code is as follows:

[0041] int vga_bios_init(void){

[0042] …

[0043] pInt=(xf86Int10InfoPtr)mailoc(sizeof(xf86Int10InfoRec));

[0044] memset(pInt, 0, sizeof(xf86Int10InfoRec));

[0045] / *Establish int10 operating environment* /

[0046] if(!xf86Int10ExecSetup(pInt))

[0047] goto error0;

[0048] …

[0049] / * can be read directly from the ROM of the graphics card * /

[0050] romaddress = _pci_conf_read(pdev->pa.pa_tag, 0x30);

[0051] romaddress&=(~1);

[0052] / ...

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 provides a method for realizing operation of an X86 VBIOS (video-bios) on an MIPS (million instructions per second) framework. The method comprises the following steps: a vga_bios_init (void) function reads video-bios and sends the video-bios into an X86 simulator; the X86 simulator simulates a local video memory address 0xa0000; the X86 simulator simulates a video card bios address 0xc0000; the X86 simulator simulates an X86 CPU (central processing unit) register and instructions; the X86 simulator simulates an INT10 interrupt vector; and the X86 simulator simulates sys bios. Through the invention, the display requirements of a Loongson blade are met.

Description

technical field [0001] The invention provides a method for VBIOS transplantation, in particular a method for realizing the operation of X86 VBIOS on the MIPS framework. Background technique [0002] Under the traditional Bios of x86, the processor works in real mode, the maximum addressing space is 1MB, and the typical memory layout is as follows figure 1 shown. Among them, video-bios is a piece of binary code, which is the code provided by each graphics card manufacturer for initializing the graphics card controller, stored in the ROM of the graphics card, and read by the BIOS to the place where 0xC0000 starts. It should be noted that this code is the binary code of the x86 instruction, and it works in real mode. And what we want to use is the Loongson processor or other non-X86 processors, and graphics card manufacturers will not provide mips-based binary, which brings difficulties to development. [0003] Under the traditional bios of x86, after using the above video-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
IPC IPC(8): G06F9/455
Inventor 李丰旺郑臣明李永成尹宁宁吕民强邵宗有刘新春方信我
Owner SUGON INFORMATION IND
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