JPH05158816A - Main memory checking system - Google Patents

Main memory checking system

Info

Publication number
JPH05158816A
JPH05158816A JP3319521A JP31952191A JPH05158816A JP H05158816 A JPH05158816 A JP H05158816A JP 3319521 A JP3319521 A JP 3319521A JP 31952191 A JP31952191 A JP 31952191A JP H05158816 A JPH05158816 A JP H05158816A
Authority
JP
Japan
Prior art keywords
main memory
checked
program
check
area
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
JP3319521A
Other languages
Japanese (ja)
Inventor
Yukako Yonehara
由佳子 米原
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3319521A priority Critical patent/JPH05158816A/en
Publication of JPH05158816A publication Critical patent/JPH05158816A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To shorten time till control is delivered to an OS after starting a system. CONSTITUTION:The area of a main memory 1 required within starting programs 1, 2 is checked by sub-routine, and simultaneously, the remaining area after this check is checked by the sub-routine based on the information of a register GR (0) 3 by using the idle time of the processing of a CPU like I/O queuing, etc. If there is the area of the main memory incapable of being checked yet after the check by the sub-routine, it is checked by the sub-routine based on the information of the register GR (0) 3 before the control is delivered to the OS.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は汎用レジスタ群を有する
CPUを装備したコンピュータに利用するメインメモリ
チェック方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a main memory check system used in a computer equipped with a CPU having a general-purpose register group.

【0002】[0002]

【従来の技術】従来の情報処理システムでは、立ち上が
りプログラムにおける処理開始時にメインメモリの全領
域で処理誤りの有無の検査、所謂、チェックしてから、
このメインメモリにプログラムをロードしている。
2. Description of the Related Art In a conventional information processing system, at the start of processing in a start-up program, a check is made for the presence or absence of processing errors in all areas of the main memory, so-called.
The program is loaded in this main memory.

【0003】[0003]

【発明が解決しようとする課題】このような従来例のメ
インメモリチェック方式では、メインメモリの全領域の
チェックが完了した後、立ち上げプログラムの実行が開
始されるため、この立ち上げに多大な時間を要するとい
う欠点がある。
In the conventional main memory check method as described above, the start-up program is started after the entire area of the main memory has been checked. The drawback is that it takes time.

【0004】本発明の目的は、このような課題を解決
し、システムを立ち上げてからOSに制御を渡すまでの
時間を短縮できるメインメモリチェック方式を提供する
ことにある。
An object of the present invention is to solve such problems and to provide a main memory check method capable of shortening the time from starting the system to passing control to the OS.

【0005】[0005]

【課題を解決するための手段】本発明のメインメモリチ
ェック方式は、汎用レジスタ群を有するCPUを用いた
コンピュータにおいて、少なくともチェック済のメイン
メモリのサイズを格納するための汎用レジスタと、指定
サイズのメインメモリをチェックするサブルーチンとを
有し、立ち上がりプログラム内で必要とするメインメモ
リの領域のみをサブルーチンでチェックするとともに、
このチェックの後の残りの領域については、CPUの処
理空き時間を利用して、レジスタの情報をもとにサブル
ーチンによりチェックすることを特徴とするものであ
る。
According to the main memory check method of the present invention, in a computer using a CPU having a general-purpose register group, a general-purpose register for storing at least the size of the checked main memory and a specified size It has a subroutine to check the main memory and checks only the area of the main memory required in the startup program with the subroutine,
The remaining area after this check is characterized by being checked by a subroutine based on the information in the register by utilizing the processing idle time of the CPU.

【0006】さらに、前記のサブルーチンのチェックの
後に、まだチェックできないメインメモリの領域が存在
した場合に、レジスタの情報をもとづいてサブルーチン
によりオペレーティングシステムに制御を渡す前にチェ
ックすることを特徴とするものである。
Further, after the above-mentioned subroutine check, if there is an area of the main memory that cannot be checked yet, the check is performed before the control is transferred to the operating system by the subroutine based on the information of the register. Is.

【0007】また、立ち上がりプログラムは、リードオ
ンリメモリに格納されることを特徴とするものである。
Further, the rising program is characterized by being stored in a read only memory.

【0008】[0008]

【実施例】以下、本発明のメインメモリチェック方式の
実施例について図面をもとに説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the main memory check system of the present invention will be described below with reference to the drawings.

【0009】図1,図2,図3および図4は実施例にお
ける構成を示している。
1, FIG. 2, FIG. 3 and FIG. 4 show the construction of the embodiment.

【0010】図1,図2,図3および図4において、こ
の例は、メインメモリ1と、CPU2内部の汎用レジス
タのひとつであるレジスタGR(0)3と、プログラム
1を格納するROM5と、プログラム2を格納するRO
M6およびプログラム3を格納する外部ディスク装置7
とから構成されている。
1, FIG. 2, FIG. 3 and FIG. 4, in this example, a main memory 1, a register GR (0) 3, which is one of the general-purpose registers in the CPU 2, and a ROM 5 for storing the program 1, RO that stores program 2
External disk device 7 for storing M6 and program 3
It consists of and.

【0011】ここで、プログラム1,2,3は立ち上が
りプログラムである。
Here, the programs 1, 2, and 3 are startup programs.

【0012】レジスタGR(0)3は、チェック済のメ
インメモリ1のサイズをキロバイト(以下、Kbと記載
する)単位で格納する。
The register GR (0) 3 stores the size of the checked main memory 1 in units of kilobytes (hereinafter referred to as Kb).

【0013】ROM5には、プログラム1の中にサブル
ーチンMMCHK(X)4が格納されている。
The ROM 5 stores the subroutine MMCHK (X) 4 in the program 1.

【0014】サブルーチンMMCHK(X)4は、以降
の図6をもって詳細に説明するように指定サイズ(XK
b)のメインメモリ1の領域をチェックし、さらに、チ
ェックしたKb数のXをレジスタGR(0)3に加算す
るものである。
The subroutine MMCHK (X) 4 has a specified size (XK) as will be described in detail with reference to FIG.
The area of the main memory 1 of b) is checked, and the checked Kb number of Xs is added to the register GR (0) 3.

【0015】次に、この処理構成の動作について説明す
る。
Next, the operation of this processing configuration will be described.

【0016】図1において、動作開始とともにROM5
のプログラム1はレジスタGR(0)3に0(零)を格
納して初期化を行う。
In FIG. 1, when the operation starts, the ROM 5
Program 1 stores 0 (zero) in the register GR (0) 3 for initialization.

【0017】そして、サブルーチンMMCHK(X)4
を用いてROM6のプログラム2がメインメモリ1上で
必要とするサイズ1000Kb(領域8)のチェックを
行い、レジスタGR(0)3にチェック済みのサイズ1
000Kbを格納する。
Then, the subroutine MMCHK (X) 4
The program 2 of the ROM 6 checks the size 1000 Kb (area 8) required on the main memory 1 by using, and the checked size 1 in the register GR (0) 3.
Store 000 Kb.

【0018】図2において、プログラム2がメインメモ
リ1上で必要とするサイズをチェックする。この後、R
OM5に格納されるプログラム1により、ROM6に格
納されたプログラム2をメインメモリ1の領域8にロー
ドする。
In FIG. 2, the size required by the program 2 on the main memory 1 is checked. After this, R
The program 2 stored in the ROM 6 is loaded into the area 8 of the main memory 1 by the program 1 stored in the OM 5.

【0019】図3において、メインメモリ1のプログラ
ム2は、サブルーチンMMCHK(X)4を用いて外部
ディスク装置7のプログラム3が、メインメモリ1上で
必要とするサイズ3000Kbのチェックを行う。そし
て、レジスタGR(0)3にチェック済みのサイズ40
00Kbを格納する。
In FIG. 3, the program 2 of the main memory 1 uses the subroutine MMCHK (X) 4 to check the size 3000 Kb required by the program 3 of the external disk device 7 on the main memory 1. Then, the size 40 already checked in the register GR (0) 3
Stores 00 Kb.

【0020】図4において、プログラム3がメインメモ
リ1上で必要とするサイズをチェックした後、メインメ
モリ1のプログラム2は、外部ディスク装置7のプログ
ラム3をメインメモリ1の領域9にロードする。この領
域9のロード中にI/O処理待ち等のCPU処理の空き
時間を利用して、メインメモリ1のサイズ4000Kb
(領域10)のチェックを行う。このチェックの後、残
りのメインメモリ1の領域11は、外部ディスク装置7
のプログラム3のロードを終了する前にチェックして、
メインメモリ1の全領域のチェックを完了する。
In FIG. 4, after checking the size required by the program 3 on the main memory 1, the program 2 of the main memory 1 loads the program 3 of the external disk device 7 into the area 9 of the main memory 1. The size of the main memory 1 is 4000 Kb by utilizing the idle time of CPU processing such as waiting for I / O processing while loading this area 9.
Check (area 10). After this check, the remaining area 11 of the main memory 1 is stored in the external disk device 7
Check before loading program 3 of
The check of all areas of the main memory 1 is completed.

【0021】さらに、処理動作を説明する。Further, the processing operation will be described.

【0022】図5は、実施例の動作における流れを示し
ている。
FIG. 5 shows a flow in the operation of the embodiment.

【0023】図5において、7Aは、ROM5のプログ
ラム1が行なう処理であり、8AはROM6のプログラ
ム2が行なう処理である。9Aはメインメモリ1のプロ
グラム3が行なう処理である。
In FIG. 5, 7A is a process performed by the program 1 in the ROM 5, and 8A is a process performed by the program 2 in the ROM 6. 9A is a process performed by the program 3 in the main memory 1.

【0024】処理7Aにあって、処理1aでレジスタG
R(0)3に0(零)を格納し、レジスタGR(0)3
を初期化する。処理2aでサブルーチンMMCHK(1
000)4を実行する。処理3aでメインメモリ1の領
域8にROM6のプログラム2をロードする。
In the process 7A, the register G is processed in the process 1a.
Store 0 (zero) in R (0) 3 and register GR (0) 3
To initialize. Subroutine MMCHK (1
000) 4 is executed. In process 3a, the program 2 in the ROM 6 is loaded into the area 8 of the main memory 1.

【0025】処理8Aにあって、処理4aでサブルーチ
ンMMCHK(3000)4を実行し、処理5aで外部
ディスク装置7のプログラム3をメインメモリ1の領域
9にロードする。また、このロード中のI/O待ち時間
を利用して残りのメインメモリ1の領域のチェックを行
う。
In process 8A, the subroutine MMCHK (3000) 4 is executed in process 4a, and the program 3 of the external disk device 7 is loaded into the area 9 of the main memory 1 in process 5a. Also, the remaining I / O waiting time is used to check the remaining area of the main memory 1.

【0026】処理9Aにあって、プログラム3をロード
後、処理6aでメインメモリ1のプログラム3が起動
し、処理をプログラム3に渡して、動作を終了する。
After the program 3 is loaded in the process 9A, the program 3 in the main memory 1 is activated in the process 6a, the process is passed to the program 3, and the operation is completed.

【0027】図6は、図5中のサブルーチンMMCHK
(X)4の処理を示している。
FIG. 6 shows the subroutine MMCHK in FIG.
The process of (X) 4 is shown.

【0028】図6において、処理1bでは、レジスタG
R(0)3のアドレスよりXKbのメインメモリ1のチ
ェックを行う。
In FIG. 6, in process 1b, register G
The XKb main memory 1 is checked from the address of R (0) 3.

【0029】処理2bでは、レジスタGR(0)3+X
KbをレジスタGR(0)3とする処理を行う。
In process 2b, the register GR (0) 3 + X
A process of setting Kb as the register GR (0) 3 is performed.

【0030】図7(a),(b),(c)は、図5にお
ける処理5aを詳細に示している。
FIGS. 7A, 7B and 7C show the process 5a in FIG. 5 in detail.

【0031】処理5aでは、I/O命令の次に、11C
の処理およびプログラム3のロード終了前に12Cの処
理を行う。
In the process 5a, the I / O instruction is followed by 11C.
The process of 12C and the process of 12C are performed before the end of loading the program 3.

【0032】図7(a)において、11Cの処理では、
外部ディスク装置7のプログラム3をメインメモリ1に
ロードし、ロード中のOUTの命令1cが発生すると処
理2cで未チェックのメインメモリ1の領域の存在の有
無を判断する。未チェックのメインメモリ1の領域が存
在する場合、処理3cでメインメモリ1のチェックを5
00Kbのみ行い処理2cに戻る。
In FIG. 7A, in the processing of 11C,
The program 3 of the external disk device 7 is loaded into the main memory 1, and when an OUT instruction 1c being loaded occurs, it is determined in step 2c whether or not there is an unchecked area of the main memory 1. If there is an unchecked area in the main memory 1, the main memory 1 is checked in step 3c in step 5c.
Only 00Kb is performed and the process returns to the process 2c.

【0033】未チェックのメインメモリ1の領域が存在
しない場合にも、処理2cに戻り、処理11C中で無限
ループをつくる。
Even if there is no unchecked area in the main memory 1, the process returns to step 2c and an infinite loop is created in step 11C.

【0034】図7(b)において、11Cの処理では、
割り込みが発生すると、直ちに処理4cのWARI1に
ジャンプし、次の処理を行なう。但し、サブルーチンM
MCHK(500)7cの実行中での割り込みは禁止す
る。
In FIG. 7B, in the processing of 11C,
When an interrupt occurs, the process immediately jumps to WARI1 in process 4c and the next process is performed. However, the subroutine M
Interrupts during execution of MCHK (500) 7c are prohibited.

【0035】図7(c)において、12Cの処理では、
処理9cで未チェックのメインメモリ1の領域の存在の
有無を判断して、メインメモリ1の全領域のチェックが
完了していれば処理5aを終了する。また、メインメモ
リ1の全領域のチェックが未完了の場合、処理10cで
残りのメインメモリ1の領域のチェックを行い、処理5
aを終了する。
In FIG. 7C, in the process of 12C,
In process 9c, it is judged whether or not there is an unchecked region of the main memory 1, and if the check of all regions of the main memory 1 is completed, the process 5a ends. If the check of all the areas of the main memory 1 is not completed, the remaining area of the main memory 1 is checked in the process 10c, and the process 5 is performed.
a is ended.

【0036】[0036]

【発明の効果】以上の説明から明らかなように、本発明
のメインメモリチェック方式は、立ち上がりプログラム
内で必要とするメインメモリの領域をサブルーチンでチ
ェックするとともに、残りのメインメモリ1の領域につ
いては、I/O待ち等のCPUの処理空き時間を利用し
て、レジスタの情報をもとに、サブルーチンによりメイ
ンメモリのチェックを行ない、さらに、チェックができ
ないメインメモリの領域が存在した場合に、この残りの
領域をレジスタの情報をもとに、OSに制御を渡す前に
チェックを行なうようにしたので、システムを立ち上げ
てからOSに制御を渡すまでの時間を短縮できるという
効果を有する。
As is apparent from the above description, in the main memory check method of the present invention, the area of the main memory required in the rising program is checked by the subroutine, and the remaining area of the main memory 1 is checked. , I / O wait time, etc. of the CPU are used to check the main memory by a subroutine based on the register information, and if there is an area of the main memory that cannot be checked, Since the remaining area is checked based on the information in the register before the control is transferred to the OS, there is an effect that it is possible to shorten the time from the start of the system to the transfer of the control to the OS.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のメインメモリチェック方式の実施例に
おける構成を示す図である。
FIG. 1 is a diagram showing a configuration in an embodiment of a main memory check system of the present invention.

【図2】実施例における他の処理における構成を示す図
である。
FIG. 2 is a diagram showing a configuration in another processing according to the embodiment.

【図3】実施例における、さらに他の処理における構成
を示す図である。
FIG. 3 is a diagram showing a configuration in still another process in the example.

【図4】実施例における、さらに他の処理における構成
を示す図である。
FIG. 4 is a diagram showing a configuration in still another process in the example.

【図5】実施例の処理動作を示す流れ図である。FIG. 5 is a flowchart showing the processing operation of the embodiment.

【図6】サブルーチンMMCHK(X)の処理を示す流
れ図である。
FIG. 6 is a flowchart showing a process of a subroutine MMCHK (X).

【図7】(a),(b),(c)は、図5における処理
5aの処理を詳細に示す流れ図である。
7 (a), (b) and (c) are flow charts showing details of the processing of processing 5a in FIG.

【符号の説明】[Explanation of symbols]

1 メインメモリ 2 CPU 3 レジスタGR(0) 4 サブルーチンMMCHK(X) 5,6 ROM 7 外部ディスク装置 1 Main memory 2 CPU 3 Register GR (0) 4 Subroutine MMCHK (X) 5,6 ROM 7 External disk device

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】汎用レジスタ群を有するCPUを用いたコ
ンピュータにおいて、 少なくともチェック済のメインメモリのサイズを格納す
るための汎用レジスタと、指定サイズのメインメモリを
チェックするサブルーチンとを有し、 立ち上がりプログラム内で必要とする前記メインメモリ
の領域のみを前記サブルーチンでチェックするととも
に、このチェックの後の残りの領域については、前記C
PUの処理空き時間を利用して、前記レジスタの情報を
もとに前記サブルーチンによりチェックすることを特徴
とするメインメモリチェック方式。
1. A rising program comprising a general-purpose register for storing at least the size of a checked main memory and a subroutine for checking a main memory of a specified size, in a computer using a CPU having a general-purpose register group. In the subroutine, only the area of the main memory required in the above is checked, and the remaining area after this check is checked in the C
A main memory check method characterized by performing a check by the sub-routine based on the information of the register by utilizing the processing idle time of the PU.
【請求項2】サブルーチンのチェックの後に、まだチェ
ックできない前記メインメモリの領域が存在した場合
に、前記レジスタの情報をもとづいて前記サブルーチン
によりオペレーティングシステムに制御を渡す前にチェ
ックすることを特徴とする請求項1記載のメインメモリ
チェック方式。
2. After the checking of the subroutine, if there is an area of the main memory that cannot be checked yet, the checking is performed before the control is transferred to the operating system by the subroutine based on the information of the register. The main memory check method according to claim 1.
【請求項3】立ち上がりプログラムは、リードオンリメ
モリに格納されることを特徴とする請求項1記載のメイ
ンメモリチェック方式。
3. The main memory check method according to claim 1, wherein the rising program is stored in a read-only memory.
JP3319521A 1991-12-04 1991-12-04 Main memory checking system Pending JPH05158816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3319521A JPH05158816A (en) 1991-12-04 1991-12-04 Main memory checking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3319521A JPH05158816A (en) 1991-12-04 1991-12-04 Main memory checking system

Publications (1)

Publication Number Publication Date
JPH05158816A true JPH05158816A (en) 1993-06-25

Family

ID=18111159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3319521A Pending JPH05158816A (en) 1991-12-04 1991-12-04 Main memory checking system

Country Status (1)

Country Link
JP (1) JPH05158816A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210096A (en) * 2007-02-26 2008-09-11 Auto Network Gijutsu Kenkyusho:Kk Memory check system of electronic control unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008210096A (en) * 2007-02-26 2008-09-11 Auto Network Gijutsu Kenkyusho:Kk Memory check system of electronic control unit

Similar Documents

Publication Publication Date Title
JP2772103B2 (en) Computer system startup method
JPH06324849A (en) Method and system for activation of operating system environment
JPS59216249A (en) Integrated circuit device
US7392371B2 (en) Method and apparatus for using a volume top file to boot firmware modules
JPH0756818A (en) Method and equipment for testing of system storage device of computer
JPH11316686A (en) Bios data storage device for computer system and driving method therefor
US20110016463A1 (en) Computer-hardware, life-extension apparatus and method
US6725294B1 (en) Installation and access of a device handler for a peripheral device in a computer
US6502176B1 (en) Computer system and methods for loading and modifying a control program without stopping the computer system using reserve areas
US4764869A (en) Method and apparatus for controlling interruption in the course of instruction execution in a processor
US5003468A (en) Guest machine execution control system for virutal machine system
JPH05158816A (en) Main memory checking system
US6405300B1 (en) Combining results of selectively executed remaining sub-instructions with that of emulated sub-instruction causing exception in VLIW processor
US6098183A (en) Method of debugging in a computer system
JPH07219918A (en) System starting method for parallel computer
JP2001256055A (en) Program download system
CN117667174A (en) Microcode patch loading method for processor
JPH07191856A (en) Information processor
JP2972930B2 (en) Optimal environment setting device for computer system
JPS62254237A (en) Inter-printer type branch instruction executing system
JP3139310B2 (en) Digital signal processor
JPH04130949A (en) Simple method for starting system
JPH1040094A (en) Program controller for firmware
JP2872042B2 (en) Shared memory access method
JPS6214240A (en) Program inspecting system