CN101872307A - Optimum use method of memory - Google Patents

Optimum use method of memory Download PDF

Info

Publication number
CN101872307A
CN101872307A CN200910301778A CN200910301778A CN101872307A CN 101872307 A CN101872307 A CN 101872307A CN 200910301778 A CN200910301778 A CN 200910301778A CN 200910301778 A CN200910301778 A CN 200910301778A CN 101872307 A CN101872307 A CN 101872307A
Authority
CN
China
Prior art keywords
program
internal memory
program segment
memory
bios
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN200910301778A
Other languages
Chinese (zh)
Inventor
黄树福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Priority to CN200910301778A priority Critical patent/CN101872307A/en
Publication of CN101872307A publication Critical patent/CN101872307A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an optimum use method of a memory, which is applied in the process of implementing a BIOS by a computer, wherein a BIOS program is stored in a memory. The method comprises the following steps: finding a program segment of the BIOS program stored in the memory, which does not need to be used in subsequent work; removing the program segment not needing to be used; and maintaining a memory segment originally storing the program segment for a selectable read-only memory (ROM) to use. In the optimum use method of the embodiment of the invention, the program segment space in the memory, which is not used, can be released temporarily to prevent error occurrence caused by insufficient used memory space during loading and implementing the selectable ROM program.

Description

The internal memory optimization using method
Technical field
The present invention relates to a kind of internal memory optimization using method, be meant internal memory optimization using method in a kind of BIOS start-up course especially.
Background technology
At present, BIOS in the computing machine (Basic Input/Output System, basic input/output) program is based on 16 (bit), so in the BIOS implementation, the bios program majority is to be stored in the following memory address interval of 1M.And in the computer BIOS implementation, computing machine uses in the time of can loading Option ROM (option ROM program) in order to the extension facility initialization to extension facility, but carry out among the Option ROM, Option ROM can be stored in the following memory address interval of 1MB equally.Along with the increase of computer function, bios program also can increase thereupon, and bios program can take bigger memory headroom, can cause Insufficient memory storage Option ROM like this, causes extension facility initialization mistake, makes the computing machine cisco unity malfunction.
Summary of the invention
In view of above content, the internal memory optimization using method when being necessary to provide a kind of Option of execution ROM.
A kind of internal memory optimization using method is applied in a computing machine and carries out in the BIOS process, and a memory has a bios program, and this method may further comprise the steps: search in the internal memory bios program one and need not the program segment that uses in follow-up work; And remove the program segment that this need not to use, an application heap of former this program segment of storage is kept to an option ROM program use.
Relative prior art, internal memory optimization using method in the embodiment of the present invention, the program segment space that can not be used in the releasing memory that can be temporary transient is to prevent when loading and carry out the option ROM program owing to using the not enough mistake that produces of memory headroom.
Description of drawings
Fig. 1 is the process flow diagram of an internal memory optimization using method in an embodiment of the present invention.
Fig. 2 is the process flow diagram of unloading operation among Fig. 1.
Fig. 3 concerns synoptic diagram for the storage of carrying out this unloading operation.
Embodiment
Computing machine can also be called Power-On Self-Test (Power On SelfTest is called for short POST) to the detection of extension facility part when rigidly connecting energize, function is to check whether computing machine is good, and complete POST self check will comprise to CPU the 640K base memory usually, the exented memory that 1M is above, ROM, mainboard, CMOS memory, serial paralled interface, display card, soft or hard disc subsystem and keyboard are tested, in case pinpoint the problems in self check, system will provide information or whistling warning.In the POST process, computing machine can be searched extension facility, blocks as VGA (Video Graphics Array, Video Graphics Array) etc., and these extension facilities are loaded Option ROM (option ROM program) arrive internal memory, so that carry out the initialization of this extension facility.
See also Fig. 1, a kind of internal memory optimization using method can internally deposit into row optimization use in an embodiment of the present invention in a computer BIOS start-up course, and wherein this internal memory comprises some application heaps, and this method may further comprise the steps:
Step 10: carry out a computer BIOS initialization step, decompression one is used for the bios program of computer initialization from a ROM (ROM (read-only memory)), and this bios program is stored into one first address section of an internal memory, wherein this first address section is the interval, low memory, and the size of this first address section is 1 megabyte;
Step 20: judge whether the program segment in this internal memory bios program need use in follow-up work; As not, then execution in step 42; In this way, then carry out the unloading operation;
Step 42: remove this program segment, and the application heap of former this program segment of storage is kept to follow-up Option ROM use; And
Step 52: load and carry out Option ROM.
Wherein, in step 42, can be as needs to its backup before this program segment is removed, and after step 52, recover, can prevent the follow-up BIOS work of erroneous effects in the step whether the determining program section is used like this in follow-up work, specifically back up and the method recovered can be with reference to the step of this following unloading operation.
As Fig. 2 and shown in Figure 3, this unloading operation specifically may further comprise the steps:
Step 30: search the program segment that needs backup, the program segment that wherein should needs backs up is included in needs the program segment that uses in the follow-up BIOS operational process;
Step 44: this program segment of unloading one is different from second address section of this first address section or dumps in another storage medium in this internal memory, and the application heap of former this program segment of storage kept to follow-up Option ROM uses; Wherein this unloading action can be decomposed into and duplicate this program segment earlier in this second address section or storage medium, removes program segment corresponding in this first address then, and wherein this second address section is the high memory interval;
Step 54: load and carry out Option ROM; And
Step 64: recover in this second address section or this storage medium in program segment to this first address section so that this bios program can continue execution.
Use in this method at the present embodiment internal memory optimization, save as a RAM (random access storage device) in this.This program segment is the program element that has specific function in the bios program.When judging whether this program segment can use in follow-up work, can judge the program segment of all bios programs by judgment mode one by one, to carry out corresponding operation respectively.
The program segment space that can not be used in the releasing memory that this internal memory optimization using method can be temporary transient in the embodiments of the present invention, so that the usage space of Option ROM to be provided to greatest extent, to prevent when loading and carry out Option ROM owing to using the not enough mistake that produces of memory headroom.

Claims (7)

1. an internal memory optimization using method is applied in a computing machine and carries out in the BIOS process, and a memory has a bios program, it is characterized in that: this method may further comprise the steps:
Search in the internal memory bios program one and in follow-up work, need not the program segment that uses; And
Remove the program segment that this need not to use, an application heap of former this program segment of storage is kept to an option ROM program use.
2. internal memory optimization using method as claimed in claim 1 is characterized in that: this internal memory optimization using method loads and carries out this option ROM program after also being included in and removing this program segment that need not to use.
3. internal memory optimization using method as claimed in claim 1 is characterized in that: before removing this program segment that need not to use, back up this program segment in another storage medium.
4. internal memory optimization using method as claimed in claim 1, it is characterized in that: this bios program is stored in one first address section of this internal memory, before removing this program segment that need not to use, back up the high memory interval that this program segment to one is different from second this internal memory of address section of this first address section from first address section of this internal memory.
5. internal memory optimization using method as claimed in claim 4 is characterized in that: this first address section is the interval, low memory, and this second address section is the high memory interval.
6. internal memory optimization using method as claimed in claim 4, it is characterized in that: after this internal memory optimization using method also is included in and removes this program segment that need not to use, load and carry out this option ROM program, and after loading and carrying out this option ROM program, this program segment is returned to this first address section from second address section.
7. internal memory optimization using method as claimed in claim 6 is characterized in that: recovering this program segment can be undertaken by the mode of duplicating or shifting.
CN200910301778A 2009-04-23 2009-04-23 Optimum use method of memory Pending CN101872307A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910301778A CN101872307A (en) 2009-04-23 2009-04-23 Optimum use method of memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910301778A CN101872307A (en) 2009-04-23 2009-04-23 Optimum use method of memory

Publications (1)

Publication Number Publication Date
CN101872307A true CN101872307A (en) 2010-10-27

Family

ID=42997181

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910301778A Pending CN101872307A (en) 2009-04-23 2009-04-23 Optimum use method of memory

Country Status (1)

Country Link
CN (1) CN101872307A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753361A (en) * 2019-01-04 2019-05-14 合肥杰发科技有限公司 A kind of EMS memory management process, electronic equipment and storage device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109753361A (en) * 2019-01-04 2019-05-14 合肥杰发科技有限公司 A kind of EMS memory management process, electronic equipment and storage device
CN109753361B (en) * 2019-01-04 2020-10-23 合肥杰发科技有限公司 Memory management method, electronic equipment and storage device

Similar Documents

Publication Publication Date Title
KR101635658B1 (en) Handling errors during device bootup from a non-volatile memory
US7130962B2 (en) Writing cache lines on a disk drive
CN102543179B (en) Read while in serial interface memory and write storage operation
CN102591807B (en) Processing method for power down and abnormal writing of solid state disc and system
US8468389B2 (en) Firmware recovery system and method of baseboard management controller of computing device
CN101782871A (en) Information processing device, processor and memory management method
JP2004164647A (en) Storage/recovery of status in data processing system by hardware
CN101634960A (en) Method for revising BIOS parameter and regenerating checksum
CN102004706A (en) Flash erasing power-fail protection method based on FTL(Flash Translation Layer)
CN104424047A (en) NVRAM data recovery method and NVRAM data recovery device
CN102968353A (en) Fail address processing method and fail address processing device
US20060031669A1 (en) Boot method and system
CN113050965A (en) Embedded system upgrading method, device, equipment and medium
CN101794232A (en) Method for quickly starting system
CN104021058A (en) Method for quickly starting test board card
US8271854B2 (en) Embedded electronic device and method for storing data
US8055890B2 (en) Data recovery method
CN101872307A (en) Optimum use method of memory
CN105630523A (en) Computer BIOS data recovery system and method
US20070168740A1 (en) Method and apparatus for dumping a process memory space
CN101201778A (en) Method for testing hard disk with expandable firmware interface
CN103793283A (en) Terminal fault handling method and terminal fault handling device
CN110297605B (en) Method and device for effectively improving solid state disk firmware loading speed
CN102831032A (en) Repair system and method for master boot record of hard disc
US20150161006A1 (en) Information processing apparatus and method for testing same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20101027