US5255379A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Method for automatically transitioning from V86 mode to protected mode in a computer system using an Intel 80386 or 80486 processor
Assignee: Sun Microsystems Inc
•
Filing: 1990-12-28
•
Granted: 1993-10-19
•
Expires: 2010-12-28
Abstract
Abstract A method for transitioning an Intel processor from virtual 8086 (V86) mode to protected mode operation which detects when a virtual V86 processor attempts to transition to protected mode, stores all of the information concerning the virtual processor at the time of the attempt to transition to protected mode, remaps the memory allotted to the virtual processor to the memory space used in running a process in real mode, sets up a dummy stack to provide for operation during a transition to protected mode, moves a process for transitioning to real memory space, shifts all of the register values to values for real memory space, and finally reactivates the transition to protected mode.
Inventors
- 👤 Michael D. Melo
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-23 13:20
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/48; G06F9/4806; G06F9/4812; G06F9/44; G06F9/455; G06F9/45533; G06F9/461
Claims Analysis
Total Claims: 17
Claim 1
Independent Claim
173 words
In a system comprising a processor, real memory space, and virtual memory space, said processor capable of operating in a real mode of operation, a protected mode of operation, and a virtual 8086 (V86) mode of operation utilizing a stack and a monitor program, a method of transitioning said processor from V86 mode to protected mode operation comprising the steps of: detecting when a V86 processor attempts to transition to protected mode, preserving predesignated information concerning the V86 processor at the time of the attempt to transition to protected mode, copying data from real memory space used in running a process in real mode to high memory beyond real address range, remapping the virtual memory space allotted to the V86 processor to the real memory space used in running a process in real mode, moving a process for transitioning to said real memory space, switching said V86 processor to said real mode of operation, when in real mode, executing said process for transitioning, said process of transitioning causing a transition to protected mode.
Claim 2
Dependent Claim
173 words
In a system comprising a processor, real memory space, and virtual memory space, said processor capable of operating in a real mode of operation, a protected mode of operation, and a virtual 8086 (V86) mode of operation utilizing a stack and a monitor program, a method of transitioning said processor from V86 mode to protected mode operation comprising the steps of: detecting when a V86 processor attempts to transition to protected mode, preserving predesignated information concerning the V86 processor at the time of the attempt to transition to protected mode, copying data from real memory space used in running a process in real mode to high memory beyond real address range, remapping the virtual memory space allotted to the V86 processor to the real memory space used in running a process in real mode, moving a process for transitioning to said real memory space, switching said V86 processor to said real mode of operation, when in real mode, executing said process for transitioning, said process of transitioning causing a transition to protected mode.
Claim 3
Dependent Claim
221 words
In a system comprising a processor, real memory addresses, and virtual memory addresses, and registers associated with said processor, said processor capable of operating in a real mode of operation, a protected mode of operation, and a virtual 8086 (V86) mode of operation including paging, a method for transitioning said processor from V86 mode to protected mode operation comprising the steps of: detecting when a V86 processor attempts to transition to protected mode; copying data from real memory space used in running a process in real mode to high memory beyond real address range, mapping virtual memory addresses of the V86 processor attempting to transition to protected mode to real memory addresses used for real mode; copying to said real memory addresses: a process for transitioning to protected mode, values in said registers associated with the V86 processor attempting to transition to protected mode, an interrupt descriptor table of the V86 processor attempting to transition to protected mode, and a global descriptor table of the V86 processor attempting to transition to protected mode; setting values in a global descriptor table register and an interrupt descriptor table register to point to the global descriptor table and the interrupt descriptor table stored in real memory space; turning off said paging by the processor; and switching to the process for transitioning to protected mode.
Claim 4
Dependent Claim
221 words
In a system comprising a processor, real memory addresses, and virtual memory addresses, and registers associated with said processor, said processor capable of operating in a real mode of operation, a protected mode of operation, and a virtual 8086 (V86) mode of operation including paging, a method for transitioning said processor from V86 mode to protected mode operation comprising the steps of: detecting when a V86 processor attempts to transition to protected mode; copying data from real memory space used in running a process in real mode to high memory beyond real address range, mapping virtual memory addresses of the V86 processor attempting to transition to protected mode to real memory addresses used for real mode; copying to said real memory addresses: a process for transitioning to protected mode, values in said registers associated with the V86 processor attempting to transition to protected mode, an interrupt descriptor table of the V86 processor attempting to transition to protected mode, and a global descriptor table of the V86 processor attempting to transition to protected mode; setting values in a global descriptor table register and an interrupt descriptor table register to point to the global descriptor table and the interrupt descriptor table stored in real memory space; turning off said paging by the processor; and switching to the process for transitioning to protected mode.
Claim 5
Dependent Claim
91 words
The method for transitioning said processor from V86 mode to protected mode operation as claimed in claim 2, in which the process for transitioning to protected mode comprises the steps of: utilizing the global descriptor table stored in real memory space, loading the interrupt descriptor table register with a pointer to the interrupt descriptor table stored in real memory space, returning to real mode, clearing a prefetch queue, returning to the program running on the virtual V86 processor attempting to transition to protected mode, and initiating said transition to protected mode.
Claim 6
Dependent Claim
198 words
In a system comprising a processor, real memory space, and virtual memory space, said processor capable of operating a real mode of operation, a protected mode of operation, and a virtual 8086 (V86) mode of operation, a method for transitioning said processor from said V86 mode of operation to said protected mode of operation, said method comprising the steps of: while said processor is operating in said V86 mode of operation, said processor detecting whether an instruction indicates a transition into said protected mode of operation; in response to an instruction indicating a transition into said protected mode of operation, in accordance with a programmed method of operation: said processor interrupting the execution of said instruction indicating a transition and transferring predesignated information into said real memory space; following said transfer of predesignated information into said real memory space, said processor switching to said real mode of operation such that said processor utilizes said predesignated information in said real memory space to run in said real mode of operation; said processor restarting said instruction indicating a transition into said protected mode of operation and responsively transitioning from said real mode of operation into said protected mode of operation.
Claim 7
Dependent Claim
198 words
In a system comprising a processor, real memory space, and virtual memory space, said processor capable of operating a real mode of operation, a protected mode of operation, and a virtual 8086 (V86) mode of operation, a method for transitioning said processor from said V86 mode of operation to said protected mode of operation, said method comprising the steps of: while said processor is operating in said V86 mode of operation, said processor detecting whether an instruction indicates a transition into said protected mode of operation; in response to an instruction indicating a transition into said protected mode of operation, in accordance with a programmed method of operation: said processor interrupting the execution of said instruction indicating a transition and transferring predesignated information into said real memory space; following said transfer of predesignated information into said real memory space, said processor switching to said real mode of operation such that said processor utilizes said predesignated information in said real memory space to run in said real mode of operation; said processor restarting said instruction indicating a transition into said protected mode of operation and responsively transitioning from said real mode of operation into said protected mode of operation.
Claim 8
Dependent Claim
49 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said step of said processor detecting whether an instruction indicates a transition into said protected mode of operation includes detecting whether an interrupt has occurred.
Claim 9
Dependent Claim
59 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said step of said processor detecting whether an instruction indicates a transition into said protected mode comprises detecting whether any one of the following instructions is to be executed: CLTS, LGDT, LIDT, LMSW, and MOV.
Claim 10
Dependent Claim
46 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, further comprising the step of: aligning any virtual memory space used by the processor when in V86 mode when said real memory space.
Claim 11
Dependent Claim
52 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said predesignated information includes a wakeup code and said step of transitioning from said real mode of operation into said protected mode of operation utilizes said wakeup code.
Claim 12
Dependent Claim
37 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said predesignated information includes: a global descriptor table and in interrupt descriptor table.
Claim 13
Dependent Claim
59 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 9, wherein said system further comprises an interrupt descriptor table register, and said method further comprises the step of: loading said interrupt descriptor table register with a real memory space address associated with said interrupt descriptor table.
Claim 14
Dependent Claim
59 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 9, wherein said system further comprises a global descriptor table register and said method further comprises the step of: loading said global descriptor table register with a real memory space address associated with said global descriptor table.
Claim 15
Dependent Claim
57 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said system further comprises virtual memory hardware support and said method further comprises the step of: disabling said virtual memory hardware support prior to said processor switching to said real mode of operation.
Claim 16
Dependent Claim
57 words
The method of transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said system further comprises a control register, and said step of said processor switching to said real mode of operation includes: changing the status of at least one bit in said control register.
Claim 17
Dependent Claim
57 words
The method for transitioning said processor from said V86 mode of operation to said protected mode of operation as provided in claim 4, wherein said system further comprises a segment register, and said step of said processor switching to said real mode of operation includes: changing the status of at least one bit in said segment register.
References Cited (Backward Citations)
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 1996-10-18 | 1997-04-19 | 1997-10-19 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2000-10-18 | 2001-04-19 | 2001-10-19 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2004-10-18 | 2005-04-19 | 2005-10-19 | $7700.00 | Window Closed / Lapsed |