← Back to Patent Explorer
EP0516159A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

Resume processing function for the OS/2 operating system

Assignee: Toshiba Corp
•
Filing: 1992-05-29
•
Granted: —
•
Expires: 2012-05-29
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A resume processing drive (202) for an advanced operating system, such as OS/2, is provided which saves data indicative of the operation conditions of the advanced operating system into system memory and then calls a previously existing resume processing routine (203) designed for a previously existing operating system, such as MS-DOS. The previously existing resume processing routine (204) performs additional processing in order to save operating condition data associated with the previously existing operating system into system memory, and then performs a controlled power off sequence and removes the power supplied to all elements of the computer except the computer memory. Thereafter, the existing resume processing routine (205) performs processing to restore the operating condition data associated with the previously existing operating system from system memory and then passes control to the resume processing driver of the present invention. The resume processing driver (206) restores the data indicative of the operating conditions of the advanced operating system from system memory, and control then passes to the computer program (207) which was executing before the resume processing driver was initiated.

Inventors

  • 👤 Joseph A. c/o Intellectual Prop. Div. Meilak
  • 👤 Kinya c/o Intellectual Prop. Div. Aoshima

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-11-02 21:01
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/44; G06F9/4401; G06F9/4418; G06F11/00; G06F11/07; G06F11/14; G06F11/1402; G06F2200/00; G06F2200/16; G06F2200/161; G06F2200/1613

Claims Analysis

Total Claims: 32
Claim 1
Independent Claim 170 words
In a computer system having a central processing unit (CPU) capable of operating in a protected mode and a real mode and operating under the OS/2 operating system, a resume processing method of saving and subsequently restoring system data indicative of the CPU's operating conditions in response to a power-off signal and a subsequent power-on signal, said resume processing method characterized by comprising the steps of: (a) initializing a resume processing driver to perform the following steps (Fig. 3), (b) saving a first set of data associated with said OS/2 operating system indicative of OS/2's operating conditions responsive to said power-off signal (702), (c) saving a second set of data associated with said CPU, but not associated with said OS/2 operating system, indicative of said CPU's operating conditions in response to said power-off signal (705), (d) restoring said second set of data saved in step(c) responsive to a power-on signal (721, 722, 715), and (e) restoring said first set of data saved in step(b) responsive to a power-on signal (715).
Claim 2
Dependent Claim 24 words
The resume processing method according to claim 1, characterized in that steps (b) and (e) are performed by an OS/2 device driver (Fig. 4).
Claim 3
Dependent Claim 24 words
The resume processing method according to claim 1, characterized in that steps (b) and (e) are performed by an OS/2 base driver (Fig. 4).
Claim 4
Dependent Claim 24 words
The resume processing method according to claim 1, characterized in that steps (b) and (e) are performed by an OS/2 OEMHLP driver (Fig. 4).
Claim 5
Dependent Claim 25 words
The resume processing method according to claim 1, characterized in that steps (b)-(c) are performed responsive to a non-maskable interrupt (NMI) occurring on said CPU.
Claim 6
Dependent Claim 54 words
The resume processing method according to claim 1, characterized in that step (a) comprises the steps of: (i) loading a resume processing driver to perform steps (b)-(e) (Fig. 3), and (ii) hooking a vector associated with a non-maskable interrupt (NMI) to perform steps (b)-(e) responsive to said NMI occurring on said CPU (603, 604).
Claim 7
Dependent Claim 82 words
The resume processing method according to claim 6, characterized in that step (ii) comprises the steps of: (A) hooking a real mode vector associated with an NMI to perform steps (b)-(e) responsive to said NMI occurring on said CPU when said CPU is operating in said real mode (603), and (B) hooking a protected mode vector associated with an NMI to perform steps (b)-(e) responsive to said NMI occurring on said CPU when said CPU is operating in said protected mode (604).
Claim 8
Dependent Claim 20 words
The resume processing method according to claim 1, characterized in that steps (c)-(d) are performed by a Resume BIOS routine.
Claim 9
Dependent Claim 180 words
The resume processing method according to claim 8, characterized in that step (a) comprises the steps of: (i) creating a second selector associated with said GDT for referencing said GDT (504), (ii) creating a dummy selector associated with said GDT for referencing a dummy segment of memory (504), (iii) saving a data segment register associated with said real mode of said CPU into a resume processing code segment (505), (iv) saving a data selector register associated with said protected mode of said CPU into said resume processing code segment (505), (v) saving a code selector register associated with said protected mode of said CPU into said resume processing code segment (505), (vi) installing a timer handler for hooking a real mode vector and a protected mode vector associated with a non-maskable interrupt (NMI) to perform steps (b)-(e) responsive to said NMI occurring on said CPU (506), and (vii) hooking said real mode vector and said protected mode vector associated with said NMI, responsive to step (vi), to perform steps (b)-(e) responsive to said NMI occurring on said CPU (603, 604).
Claim 10
Dependent Claim 22 words
The resume processing method according to claim 9, characterized in that said dummy segment of memory has a length of 64 kilobytes.
Claim 11
Dependent Claim 25 words
The resume processing method according to claim 9, characterized in that steps (iii)-(v) save said registers into the top of said resume processing code segment.
Claim 12
Dependent Claim 95 words
The resume processing method according to claim 9, characterized in that step (vii) comprises the steps of: (A) setting said real mode vector associated with said NMI to point to a dummy real mode NMI handler routine responsive to an OS/2 loader operation (Fig. 3), (B) patching said dummy real mode NMI handler routine to perform a jump to a resume processing driver to perform steps (b)-(e), and (C) patching a protected mode NMI handler routine associated with said protected mode vector to perform a jump to said resume processing driver to perform steps (b)-(e).
Claim 13
Dependent Claim 24 words
The resume processing method according to claim 12, characterized in that step (vii) further comprises the initial step of; de-installing said timer handler (602).
Claim 14
Dependent Claim 56 words
The resume processing method according to claim 1, characterized in that step (b) comprises the steps of: (i) disabling interrupts associated with said CPU (702), (ii) saving registers, including a flag register, associated with said CPU (702), (iii) saving a programmable interrupt controller (PIC) mask associated with said CPU (703), and (iv) disabling said PIS (703).
Claim 15
Dependent Claim 26 words
The resume processing method according to claim 14, characterized in that said saving steps (ii)-(iii) save their respective data onto a stack associated with said CPU.
Claim 16
Dependent Claim 44 words
The resume processing method according to claim 14, characterized in that step (b) further comprises the steps of: (v) saving said flag register on said stack (702), and (vi) saving a return address associated with said CPU onto a stack associated with said CPU.
Claim 17
Dependent Claim 23 words
The resume processing method according to claim 16, characterized in that steps (i)-(vi) are performed when said CPU is in said real mode.
Claim 18
Dependent Claim 29 words
The resume processing method according to claim 16, characterized in that step (v) further comprises the initial step of: clearing a direction flag associated with said flag register (708).
Claim 19
Dependent Claim 40 words
The resume processing method according to claim 16, characterized in that step (b) further comprises the step of: (vii) resetting a floppy drive associated with said CPU if said floppy drive was active when said power-off signal was received (718).
Claim 20
Dependent Claim 76 words
The resume processing method according to claim 14, characterized in that step (b) further comprises the step of: (v) saving stack selector and pointer associated with said CPU, (vi) setting said stack pointers to point to a local stack area, (vii) switching said CPU to operate in said real mode, (viii) saving said flag register on said stack (707), and (ix) saving a return address associated with said CPU onto a stack associated with said CPU.
Claim 21
Dependent Claim 25 words
The resume processing method according to claim 20, characterized in that step (v) saves its respective data into a memory location associated with said CPU.
Claim 22
Dependent Claim 23 words
The resume processing method according to claim 20, characterized in that steps (i)-(ix) are performed when said CPU is in said protected mode.
Claim 23
Dependent Claim 29 words
The resume processing method according to claim 20, characterized in said step (viii) further comprises the initial step of: clearing a direction flag associated with said flag register (708).
Claim 24
Dependent Claim 40 words
The resume processing method according to claim 20, characterized in that step (b) further comprises the step of: (x) resetting a floppy drive associated with said CPU if said floppy drive was active when said power-off signal was received (718).
Claim 25
Dependent Claim 95 words
The resume processing method according to claim 1, characterized in that step (e) comprises the step of: (i) disabling interrupts associated with said CPU (714), (ii) enabling a programmable interrupt controller (PIC) associated with said CPU (714), (iii) restoring a previously saved PIC mask associated with said CPU (714), (iv) configuring a real time clock associated with said CPU (715), (v) enabling an A20 address line associated with said CPU (716), and (vi) resetting a floppy drive associated with said CPU if said floppy drive was active when said power-off signal was received (717, 718).
Claim 26
Dependent Claim 26 words
The resume processing method according to claim 25, characterized in that said restoring step (iii) restores the respective data from a stack associated with said CPU.
Claim 27
Dependent Claim 52 words
The resume processing method according to claim 25, characterized in that step (v) further comprises the step of: (vii) resetting a parallel port associated with said CPU (723), (viii) resetting RS-232 ports associated with said CPU, and (ix) restoring previously saved registers, including a flag register, associated with said CPU (721, 722).
Claim 28
Dependent Claim 23 words
The resume processing method according to claim 27, characterized in that steps (i)-(ix) are performed when said CPU is in said real mode.
Claim 29
Dependent Claim 25 words
The resume processing method according to claim 27, characterized in that step (ix) restores the respective data from a stack associated with said CPU (721).
Claim 30
Dependent Claim 141 words
The resume processing method according to claim 25, characterized in that step (e) further comprises the steps of: (vii) restoring a previously saved interrupt descriptor table (IDT) register value associated with said CPU (722), (viii) restoring a previously saved global descriptor table (GDT) register value associated with said CPU (722), (ix) setting a code segment register with a selector which references a driver capable of performing steps (b) and (e) (722), (x) setting a code segment register with a selector which references said driver (722), (xi) setting a protected mode enable bit in a machine status word (MSW) associated with said CPU (722), (xii) restoring a previously saved stack selector and pointer associated with said CPU (722), (xiii) resetting a parallel port associated with said CPU (723), and (xiv) restoring previously saved registers, including a flag register, associated with said CPU.
Claim 31
Dependent Claim 23 words
The resume processing method according to claim 30, characterized in that steps (i)-(xv) are performed when said CPU is in said protected mode.
Claim 32
Dependent Claim 27 words
The resume processing method according to claim 30, characterized in that steps (vii)-(viii), (xii), and (xv) restore their respective data from a stack associated with said CPU.

References Cited (Backward Citations)

No citation records indexed.

USPTO Annuity & Maintenance Windows

Maintenance schedule is calculated for granted US utility patents.

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag