參數資料
型號: intel386 DX
廠商: Intel Corp.
英文描述: 32-Bit CHMOS Microprocessor With Integrated Memory Management(32位CHMOS 微處理器帶集成存儲管理)
中文描述: 32位CHMOS微處理器集成內存管理(32位CHMOS微處理器帶集成存儲管理)
文件頁數: 47/139頁
文件大小: 1587K
代理商: INTEL386 DX
Intel386
TM
DX MICROPROCESSOR
instead. For diagrams of the I/O Permission Bitmap,
refer to Figures 4-15a and 4-15b. For further infor-
mation on how the I/O Permission Bitmap is used in
Protected Mode or in Virtual 8086 Mode, refer to
section 4.6.4 Protection and I/O Permission Bitmap.
The I/O privilege level (IOPL) also affects whether
several other instructions can be executed or cause
an exception 13 fault instead. These instructions are
called ‘‘IOPL-sensitive’’ instructions and they are
CLI and STI. (Note that the LOCK prefix isnot IOPL-
sensitive on the Intel386 DX.)
The IOPL also affects whether the IF (interrupts en-
able flag) bit can be changed by loading a value into
the EFLAGS register. When CPL
s
IOPL, then the
IF bit can be changed by loading a new value into
the EFLAGS register. When CPL
l
IOPL, the IF bit
cannot be changed by a new value POP’ed into (or
otherwise loaded into) the EFLAGS register; the IF
bit merely remains unchanged and no exception is
generated.
Table 4-2. Pointer Test Instructions
Instruction Operands
Function
ARPL
Selector,
Register
Adjust Requested Privi-
lege Level: adjusts the
RPL of the selector to the
numeric maximum of
current selector RPL value
and the RPL value in the
register. Set zero flag if
selector RPL was
changed.
VERR
Selector
VERify for Read: sets the
zero flag if the segment
referred to by the selector
can be read.
VERW
Selector
VERify for Write: sets the
zero flag if the segment
referred to by the selector
can be written.
LSL
Register,
Selector
Load Segment Limit: reads
the segment limit into the
register if privilege rules
and descriptor type allow.
Set zero flag if successful.
LAR
Register,
Selector
Load Access Rights: reads
the descriptor access
rights byte into the register
if privilege rules allow. Set
zero flag if successful.
4.4.3.4 PRIVILEGE VALIDATION
The Intel386 DX provides several instructions to
speed pointer testing and help maintain system in-
tegrity by verifying that the selector value refers to
an appropriate segment. Table 4-2 summarizes the
selector validation procedures available for the In-
tel386 DX.
This pointer verification prevents the common prob-
lem of an application at PL
e
3 calling a operating
systems routine at PL
e
0 and passing the operat-
ing system routine a ‘‘bad’’ pointer which corrupts a
data structure belonging to the operating system. If
the operating system routine uses the ARPL instruc-
tion to ensure that the RPL of the selector has no
greater privilege than that of the caller, then this
problem can be avoided.
4.4.3.5 DESCRIPTOR ACCESS
There are basically two types of segment accesses:
those involving code segments such as control
transfers, and those involving data accesses. Deter-
mining the ability of a task to access a segment in-
volves the type of segment to be accessed, the in-
struction used, the type of descriptor used and CPL,
RPL, and DPL as described above.
Any time an instruction loads data segment registers
(DS, ES, FS, GS) the Intel386 DX makes protection
validation checks. Selectors loaded in the DS, ES,
FS, GS registers must refer only to data segments or
readable code segments. The data access rules are
specified in section 4.2.2
Rules of Privilege
. The
only exception to those rules is readable conforming
code segments which can be accessed at any privi-
lege level.
Finally the privilege validation checks are performed.
The CPL is compared to the EPL and if the EPL is
more privileged than the CPL an exception 13 (gen-
eral protection fault) is generated.
The rules regarding the stack segment are slightly
different than those involving data segments. In-
structions that load selectors into SS must refer to
data segment descriptors for writeable data seg-
ments. The DPL and RPL must equal the CPL. All
other descriptor types or a privilege level violation
will cause exception 13. A stack not present fault
causes exception 12. Note that an exception 11 is
used for a not-present code or data segment.
4.4.4 Privilege Level Transfers
Inter-segment control transfers occur when a selec-
tor is loaded in the CS register. For a typical system
most of these transfers are simply the result of a call
47
相關PDF資料
PDF描述
Intel386 EX Highly Integrated, 32-Bit, Fully Static Embedded Micropocessor(32位高集成完全靜態(tài)嵌入式微處理器)
INTEL386 SXSA 5-V 32-Bit Fully Static Embedded Microprocessor(5V,32位完全靜態(tài)嵌入式微處理器)
intel386 SX 32-Bit CPU With a 16-Bit External Data Bus And a 24-bit External Address Bus(帶16位內部數據總線和24位內部地址總線32位微處理器)
INTEL386 Intel386 EX Embedded Microprocessor
Intel387 dx DX Math Coprocessor(32位數學協處理器)
相關代理商/技術參數
參數描述
INTEL386SX 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:MICROPROCESSOR
INTEL387 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:Intel387TM SX MATH COPROCESSOR
INTEL387DX 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Intel387 DX - MATH COPROCESSOR
INTEL387SX 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:Intel387 SX - MATH COPROCESSOR
INTEL387TMDX 制造商:INTEL 制造商全稱:Intel Corporation 功能描述:Intel387TM DX MATH COPROCESSOR