JPH06309241A - Hard ram device - Google Patents

Hard ram device

Info

Publication number
JPH06309241A
JPH06309241A JP5092755A JP9275593A JPH06309241A JP H06309241 A JPH06309241 A JP H06309241A JP 5092755 A JP5092755 A JP 5092755A JP 9275593 A JP9275593 A JP 9275593A JP H06309241 A JPH06309241 A JP H06309241A
Authority
JP
Japan
Prior art keywords
checksum
hard ram
memory
capacity
hard
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
JP5092755A
Other languages
Japanese (ja)
Inventor
Hideaki Muratani
英昭 村谷
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP5092755A priority Critical patent/JPH06309241A/en
Publication of JPH06309241A publication Critical patent/JPH06309241A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To enable a hard RAM device to allocate checksum without using uselessly a memory and with high reliability. CONSTITUTION:A part of an extended memory connected to a system is used as a hard RAM 14, this hard RAM 14 is managed by dividing it into fixed blocks for an access and a checksum calculation, and the checksum is calculated at every fixed block. Therefore, a CPU 11 checks the capacity of the hard RAM 14 at the time of initialization of the system in accordance with a BIOS program of a ROM 12, decides the quantity of a necessary checksum area in accordance with its result, and allocates the necessary checksum area to the hard RAM inside 14, by which an appropriate check sum management system corresponding to the capacity is realized.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、メモリの一部をハー
ドティスクと同等に扱うことのできるハードRAM装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a hard RAM device capable of handling a part of memory in the same manner as a hard disk.

【0002】[0002]

【従来の技術】パーソナルコンピュータの分野では従来
のディスクトップタイプに代わり、小型、軽量で携帯に
便利なラップトップタイプが普及してきた。この種パー
ソナルコンピュータは、その特徴から軽薄短小化が最重
要設計事項とされる。メモリの一部をハードティスクと
同等に扱うことのできるハードRAMもその一環であ
り、この種パーソナルコンピュータに於いてはサポート
必須の機能となっている。
2. Description of the Related Art In the field of personal computers, laptop type computers, which are small and lightweight and convenient for carrying, have become widespread in place of the conventional disc type computers. Due to the characteristics of this type of personal computer, the miniaturization, lightness, shortness and miniaturization are the most important design items. A part of that is a hard RAM that can handle a part of the memory in the same way as a hard disk, and it is an indispensable function for this kind of personal computer.

【0003】ハードRAMは、ハードディスクに比べ高
速アクセスが可能である。しかし、ハードRAMを実現
するためのメモリが高価で小形化が困難であったため、
大容量のハードRAMが殆どないのが現状である。ま
た、ハードRAMに格納されるデータの安全性、信頼性
からみると、大容量のハードRAMをサポートするため
には、従来にも増してメモリ領域をチェックサムとして
割り付ける必要がある。また、固定ブロック毎にチェッ
クサムを計算し、ディスクの固定部をチェックサムを格
納するための場所に設定すると、チェックサムを格納す
るための場所が限られるため、大容量のハードRAMで
はその場所にチェックサムを納めるのが困難であるとい
った問題も有していた。
A hard RAM can be accessed at a higher speed than a hard disk. However, since the memory for realizing the hard RAM is expensive and difficult to miniaturize,
At present, there is almost no large-capacity hard RAM. From the viewpoint of safety and reliability of data stored in the hard RAM, it is necessary to allocate a memory area as a checksum more than ever before in order to support a large capacity hard RAM. Also, if the checksum is calculated for each fixed block and the fixed part of the disk is set to the place for storing the checksum, the place for storing the checksum is limited, so that place for large capacity hard RAM. There was also a problem that it was difficult to pay the checksum.

【0004】[0004]

【発明が解決しようとする課題】上述したように、チェ
ックサムをハードRAMの固定ブロック毎に計算し、ハ
ードRAMの固定場所に格納する従来方式に於いては、
データの確実性を保証できないか、あるいはハードRA
Mの全容量についているチェックサムを取ることができ
ない等の問題があった。
As described above, in the conventional method of calculating the checksum for each fixed block of the hard RAM and storing it in the fixed location of the hard RAM,
Data reliability cannot be guaranteed or hard RA
There was a problem such as not being able to obtain the checksum for the entire capacity of M.

【0005】この発明は上記事情に鑑みてなされたもの
であり、メモリを無駄に使うことなく、かつ高い信頼性
をもってチェックサムを割り付けることのできるハード
RAM装置を提供することを目的とする。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a hard RAM device which can allocate checksums with high reliability without wasting memory.

【0006】[0006]

【課題を解決するための手段】この発明は、メモリの一
部をディスク装置として扱うことのできるハードRAM
をサポートする情報処理装置に於いて、システムの初期
化時、システムに設定されたハードRAMの容量をチェ
ックし、チェックサムに必要なブロック数を計算して、
チェックサム格納のためのメモリブロックを確保する手
段と、確保したブロックがデータ領域として使用されな
いように使用可能なハードRAMの容量調整を行ない、
データブロックとチェックサムブロックの対応付けのた
めの情報をメモリ内の所定の領域に保存する手段と、ハ
ードRAM使用時に、メモリ容量に応じたチェックサム
を算出し、上記メモリ内の所定の領域に保存された情報
に従い各チェックサムブロックにそのチェックサムを格
納する手段とを具備することを特徴とする。
The present invention provides a hard RAM capable of handling a part of the memory as a disk device.
In an information processing device that supports, at the time of system initialization, the amount of hard RAM set in the system is checked, and the number of blocks required for checksum is calculated,
A means for allocating a memory block for storing the checksum, and a capacity adjustment of the available hard RAM so that the allocated block is not used as a data area,
A means for storing information for associating a data block with a checksum block in a predetermined area in the memory and a checksum according to the memory capacity when using the hard RAM, and storing the checksum in the predetermined area in the memory. Means for storing the checksum in each checksum block according to the stored information.

【0007】[0007]

【作用】この発明は、システムに接続された拡張メモリ
の一部をハードRAMとして使用し、このハードRAM
をアクセス及びチェックサム算出のための固定ブロック
に分割管理し、固定ブロック毎にチェックサムを計算す
るものである。このためにCPUはBIOSプログラム
に従いシステムの初期化時にハードRAMの容量チェッ
クを行ない、その結果に応じて必要チェックサム領域の
量を判定し、必要チェックサム領域をハードRAM内部
に割り当てる。このことにより、容量に応じた適切なチ
ェックサム管理方式を実現する。
The present invention uses a part of the extended memory connected to the system as the hard RAM, and the hard RAM
Is managed by dividing it into fixed blocks for access and checksum calculation, and a checksum is calculated for each fixed block. For this purpose, the CPU checks the capacity of the hard RAM at the time of system initialization according to the BIOS program, determines the amount of the necessary checksum area according to the result, and allocates the necessary checksum area inside the hard RAM. This realizes an appropriate checksum management method according to the capacity.

【0008】ハードRAMの容量が小さいときは、チェ
ックサムの使用領域を小さくしハードRAMの使用効率
を上げるとともに、容量が大きい場合でも全ての領域に
ついてチェックサムを計算できる機能を両立でき、高い
信頼性を持つパーソナルコンピュータを構築できる。
When the capacity of the hard RAM is small, the area used for the checksum is reduced to improve the usage efficiency of the hard RAM, and even if the capacity is large, the functions of calculating the checksum for all the areas can be compatible and the reliability is high. You can build a personal computer with the characteristics.

【0009】[0009]

【実施例】以下、図面を使用して本発明の実施例につい
て説明する。図1は本発明の実施例を示すブロック図で
ある。図において、符号11はマイクロプロセッサ(C
PU)であり、システムの制御中枢となる。符号12は
システムROMであり、システムの初期化制御の他、シ
ステムに接続される周辺装置の制御を司るBIOS(基
本入出力制御システム)プログラムが格納される。符号
13はシステムRAMであり、OS、ワードプロセッ
サ、表計算等の各種アプリケーションプログラムが格納
される他、ワークエリアとしても割り付けられる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of the present invention. In the figure, reference numeral 11 is a microprocessor (C
PU), which is the control center of the system. Reference numeral 12 is a system ROM which stores a BIOS (basic input / output control system) program which controls the initialization of the system and the control of peripheral devices connected to the system. Reference numeral 13 is a system RAM, which stores various application programs such as an OS, word processor, and spreadsheet, and is also allocated as a work area.

【0010】符号14はディスク装置として扱われる、
半導体メモリチップ等のメモリ素子により構成されたハ
ードRAMである。具体的には拡張メモリが付加され、
その一部がハードRAMとして用いられる。このハード
RAM14は、メモリコントローラ15を介してコント
ロールされる。
Reference numeral 14 is treated as a disk device,
It is a hard RAM composed of a memory element such as a semiconductor memory chip. Specifically, expansion memory is added,
Part of it is used as a hard RAM. The hard RAM 14 is controlled via the memory controller 15.

【0011】符号16はCPU周辺LSI等でなる、割
り込みコントローラ(PIC)、DMAコントローラ
(DMAC)、タイマ(PIT)等のCPU周辺回路で
ある。符号17(1) 〜17(n) はそれぞれ周辺装置を制
御する周辺装置コントローラであり、例えばキーボード
(KB)、ディスプレイ(CRT)、フロッピーディス
クドライブ(FDD)等、システムに接続される周辺装
置のコントロール用LSIである。
Reference numeral 16 is a CPU peripheral circuit such as an interrupt controller (PIC), a DMA controller (DMAC), and a timer (PIT), which is a CPU peripheral LSI. Reference numerals 17 (1) to 17 (n) are peripheral device controllers for controlling the peripheral devices, respectively, such as a keyboard (KB), a display (CRT), a floppy disk drive (FDD), and other peripheral devices connected to the system. This is a control LSI.

【0012】上述した各機能ブロック11〜17は、ア
ドレス、データ、コントロールのためのラインが複数本
で構成されるシステムバス18を介してそれぞれ共通接
続される。
The functional blocks 11 to 17 described above are commonly connected to each other via a system bus 18 having a plurality of lines for address, data and control.

【0013】図2及び図3はそれぞれ本発明の実施例の
動作を説明するための図であり、図3は本発明の実施例
の動作を示すフローチャート、図4はハードRAMとチ
ェックサムの関係を示す図である。
2 and 3 are views for explaining the operation of the embodiment of the present invention, FIG. 3 is a flow chart showing the operation of the embodiment of the present invention, and FIG. 4 is the relationship between the hard RAM and the checksum. FIG.

【0014】図3に於いて、同図(a)は第1のメモリ
構成であり、チェックサムブロックを1つ含む小容量の
ハードRAM構成を示す。同図(b)は第2のメモリ構
成であり、チェックサムブロックを2つ含む中容量のハ
ードRAM構成を示す。同図(c)は第3のメモリ構成
であり、チェックサムブロックを4つ含む大容量のハー
ドRAM構成を示す。図中、符号21はチェックサム1
であり、小容量ハードRAMのためのチェックサム格納
領域、符号22はチェックサム2であり、中容量ハード
RAMのためのチェックサム格納領域、符号23,24
はチェックサム3であり、大容量ハードRAMのための
チェックサム格納領域である。
In FIG. 3, FIG. 3A shows a first memory configuration, which is a small capacity hard RAM configuration including one checksum block. FIG. 2B shows a second memory configuration, which is a medium capacity hard RAM configuration including two checksum blocks. FIG. 3C shows a third memory configuration, which is a large-capacity hard RAM configuration including four checksum blocks. In the figure, reference numeral 21 is a checksum 1.
The checksum storage area for the small-capacity hard RAM, reference numeral 22 is the checksum 2, and the checksum storage area for the medium-capacity hard RAM, reference numerals 23 and 24.
Is a checksum 3, which is a checksum storage area for the large capacity hard RAM.

【0015】以下、本発明の実施例の動作について説明
する。システムは図3に示すように、ハードRAMの容
量に応じて構成を可変とすることができるものとする。
容量に応じて変化するのは、ハードRAM14を構成す
るデータ格納領域と、チェックサム格納領域である。つ
まり、システムは初期化時に、ハードRAM14の容量
を調べて、メモリの容量に応じ、以下のように制御す
る。
The operation of the embodiment of the present invention will be described below. As shown in FIG. 3, the system can have a variable configuration according to the capacity of the hard RAM.
It is the data storage area and the checksum storage area that configure the hard RAM 14 that change according to the capacity. That is, the system checks the capacity of the hard RAM 14 at the time of initialization and controls as follows according to the capacity of the memory.

【0016】まず、ハードRAM容量が小さいとき、チ
ェックサムを格納するための領域をハードRAM14を
構成するメモリブロックの最高尾1ブロックに配置す
る。これは図3(a)に示す第1のメモリ構成のチェッ
クサム格納領域21に相当する。
First, when the capacity of the hard RAM is small, the area for storing the checksum is arranged in the highest one block of the memory blocks constituting the hard RAM 14. This corresponds to the checksum storage area 21 of the first memory configuration shown in FIG.

【0017】ハードRAM容量が中規模のとき、チェッ
クサムを格納するための領域がメモリブロック1つだけ
足りないため、上記チェックサム格納領域21の他にチ
ェックサム格納領域22を最高尾に配置する。これは図
3(b)に示す第2のメモリ構成に相当する。
When the capacity of the hard RAM is medium, the area for storing the checksum is not enough for one memory block. Therefore, in addition to the checksum storage area 21, the checksum storage area 22 is arranged at the highest position. . This corresponds to the second memory configuration shown in FIG.

【0018】また、ハードRAM容量が大規模のとき、
チェックサムを格納するための領域として、上記チェッ
クサム格納領域21,22の他に、ブロック23,24
を最高尾に配置する。これは図3(c)に示す第3のメ
モリ構成に相当する。
When the hard RAM has a large capacity,
In addition to the checksum storage areas 21 and 22, the blocks 23 and 24 are used as areas for storing checksums.
Is placed at the highest tail. This corresponds to the third memory configuration shown in FIG.

【0019】上述した機能を実現するためには、システ
ムROM12に格納されたBIOSプログラムに従い、
図2に示す以下の処理を行なうことによりなされる。ま
ず、マイクロプロセッサ(CPU)11は、システムR
OM12に格納されたBIOSプログラムを読出し、I
RT(初期化処理ルーチン)の起動を行なう。具体的に
は、初期化処理ルーチンに於いて、システム起動時のハ
ードRAMの容量判別処理、チェックサムブロック確保
(チェックサム領域確保)の処理、初期化処理等を行な
う。
In order to realize the above-mentioned function, according to the BIOS program stored in the system ROM 12,
This is done by performing the following processing shown in FIG. First, the microprocessor (CPU) 11 is the system R
Read the BIOS program stored in OM12,
RT (initialization processing routine) is started. Specifically, in the initialization processing routine, processing for determining the capacity of the hard RAM at system startup, processing for securing a checksum block (securing a checksum area), initialization processing, etc. are performed.

【0020】次にハードRAM使用中のメモリ容量に応
じたチェックサムの算出と検査の処理を行なう。即ち、
初期化処理に於いては、システムに設定されているハー
ドRAM14の容量を調べて、チェックサムに必要なブ
ロック数を計算する。その結果、予約したブロックがデ
ータ領域として使用されないように、使用可能なハード
RAM14の容量調整と、ハードRAM14使用時にア
クセスされるデータブロックとそのデータブロックに対
するチェックサムを格納するチェックサムブロックの対
応付けのための情報をシステムRAM13内のワーク領
域に保存する。
Next, a checksum is calculated and checked according to the memory capacity of the hard RAM being used. That is,
In the initialization process, the capacity of the hard RAM 14 set in the system is checked and the number of blocks required for the checksum is calculated. As a result, the usable capacity of the hard RAM 14 is adjusted so that the reserved block is not used as a data area, and the data block accessed when the hard RAM 14 is used and the checksum block that stores the checksum for the data block are associated with each other. The information for is stored in the work area in the system RAM 13.

【0021】そして、チェックサムの算出・検査のルー
チンに於いては、実際のハードRAM14の使用により
変わるチェックサムのために、上記のようにして得られ
たデータブロックとチェックサムブロックの対応付けの
ための情報を利用し、各チェックサムブロックにチェッ
クサムを格納する。このように、容量に応じたメモリ構
成(即ち実施例では第1乃至第3のメモリ構成)に従い
適当なチェックサムが格納され、その結果データが保証
され、高信頼性のシステムが得られる。
In the checksum calculation / inspection routine, the checksum block is changed by the actual use of the hard RAM 14, so that the data block obtained as described above and the checksum block are associated with each other. The checksum is stored in each checksum block by using the information for In this way, an appropriate checksum is stored according to the memory configuration according to the capacity (that is, the first to third memory configurations in the embodiment), and as a result, data is guaranteed and a highly reliable system can be obtained.

【0022】[0022]

【発明の効果】以上説明のように本発明によれば、ハー
ドRAMの容量が小さいときは、チェックサムの使用領
域を小さくしてハードRAMの使用効率を上げるととも
に、容量が大きい場合でも全ての領域についてチェック
サムを計算できる機能を両立できる。その結果、ハード
RAMをサポートするパーソナルコンピュータにて信頼
性の高いシステムを構築できる。
As described above, according to the present invention, when the capacity of the hard RAM is small, the checksum usage area is reduced to improve the usage efficiency of the hard RAM, and even when the capacity is large, all The functions that can calculate the checksum for the area can be compatible. As a result, a highly reliable system can be constructed with a personal computer that supports hard RAM.

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

【図1】本発明の実施例を示すブロック図。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】上記実施例の動作処理手順を示すフローチャー
ト。
FIG. 2 is a flowchart showing an operation processing procedure of the above embodiment.

【図3】上記実施例の動作を説明するための、ハードR
AMとチェックサムの関係を示す図。
FIG. 3 is a hardware R for explaining the operation of the above embodiment.
The figure which shows the relationship between AM and checksum.

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

11…マイクロプロセッサ(CPU)、12…システム
ROM、13…システムRAM、14…ハードRAM、
15…メモリコントローラ、16…CPU周辺回路、1
7…周辺装置コントローラ、21,22,…24…チェ
ックサム格納領域(チェックサム格納ブロック)。
11 ... Microprocessor (CPU), 12 ... System ROM, 13 ... System RAM, 14 ... Hard RAM,
15 ... Memory controller, 16 ... CPU peripheral circuit, 1
7 ... Peripheral device controller 21, 22, ... 24 ... Checksum storage area (checksum storage block).

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 メモリの一部をディスク装置として扱う
ことのできるハードRAMをサポートする情報処理装置
に於いて、システムの初期化時、システムに設定された
ハードRAMの容量をチェックし、チェックサムに必要
なブロック数を計算して、チェックサム格納のためのメ
モリブロックを確保する手段と、確保したブロックがデ
ータ領域として使用されないように使用可能なハードR
AMの容量調整を行ない、データブロックとチェックサ
ムブロックの対応付けのための情報をメモリに保存する
手段と、ハードRAM使用時に、メモリ容量に応じたチ
ェックサムを算出し、上記メモリに保存された情報に従
い各チェックサムブロックにそのチェックサムを格納す
る手段とを具備することを特徴とするハードRAM装
置。
1. In an information processing device that supports a hard RAM capable of handling a part of the memory as a disk device, at the time of system initialization, the capacity of the hard RAM set in the system is checked to make a checksum. A means for calculating the number of blocks required to secure a memory block for storing the checksum, and a hardware R that can be used so that the secured block is not used as a data area.
A means for adjusting the capacity of the AM and storing information for associating the data block with the checksum block in the memory, and a checksum corresponding to the memory capacity when the hard RAM is used and stored in the memory. And a means for storing the checksum in each checksum block according to the information.
【請求項2】 ハードRAMが拡張メモリにより構成さ
れ、データブロックとチェックサムブロックの対応付け
のための情報がシステムメモリに格納される請求項1記
載のハードRAM装置。
2. The hard RAM device according to claim 1, wherein the hard RAM is constituted by an extended memory, and information for associating a data block and a checksum block is stored in the system memory.
JP5092755A 1993-04-20 1993-04-20 Hard ram device Pending JPH06309241A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5092755A JPH06309241A (en) 1993-04-20 1993-04-20 Hard ram device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5092755A JPH06309241A (en) 1993-04-20 1993-04-20 Hard ram device

Publications (1)

Publication Number Publication Date
JPH06309241A true JPH06309241A (en) 1994-11-04

Family

ID=14063241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5092755A Pending JPH06309241A (en) 1993-04-20 1993-04-20 Hard ram device

Country Status (1)

Country Link
JP (1) JPH06309241A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009271493A (en) * 2008-05-09 2009-11-19 Samsung Mobile Display Co Ltd Organic electric field light-emitting display and control method therefor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009271493A (en) * 2008-05-09 2009-11-19 Samsung Mobile Display Co Ltd Organic electric field light-emitting display and control method therefor
US8154482B2 (en) 2008-05-09 2012-04-10 Samsung Mobile Display Co., Ltd. Organic light emitting display and method for driving the same

Similar Documents

Publication Publication Date Title
US7206931B2 (en) Aggressive content pre-fetching during pre-boot runtime to support speedy OS booting
US7769918B2 (en) Apparatus and method for high performance volatile disk drive memory access using an integrated DMA engine
US7082509B2 (en) Method and system for allocating memory during system boot to reduce operating system memory resource consumption at run-time
US20110197192A1 (en) Virtual computer system and method of controlling the same
JP4562107B2 (en) Direct memory access engine to support multiple virtual direct memory access channels
JPH06175969A (en) Dma channel device and converter of dma channel
US20210141555A1 (en) Method and apparatus for presearching stored data
CN107710175B (en) Memory module and operating system and method
JP2001216194A (en) Arithmetic processor
JP4308152B2 (en) Method, system, and product for reserving memory
JP7470685B2 (en) Programming and Controlling Computational Units in Integrated Circuits
US11182284B2 (en) Memory module having volatile and non-volatile memory subsystems and method of operation
US7533233B2 (en) Accommodating multiple operating systems and memory sizes on IA-32 platforms
JPH06309241A (en) Hard ram device
US20220114086A1 (en) Techniques to expand system memory via use of available device memory
WO2023287407A1 (en) Hardware component initialization
US10579392B2 (en) System and method for mapping physical memory with mixed storage class memories
JPH1185529A (en) Method for starting data storage system and computer system
JPH03111961A (en) Program loading system for multi-cpu
CN113190346A (en) Memory management method and device and electronic equipment
JP2002342158A (en) Computer system and method for securing storage area used in computer system
JP2019082767A (en) Storage system
JPH1196068A (en) Memory management system and data managing method
JPH07271931A (en) Information processor
JP2000029725A (en) Information processor