欢迎访问ic37.com |
会员登录 免费注册
发布采购

30036-23 参数 Datasheet PDF下载

30036-23图片预览
型号: 30036-23
PDF下载: 下载PDF文件 查看货源
内容描述: 的Geode ™ GXLV处理器系列的低功耗X86集成解决方案 [Geode⑩ GXLV Processor Series Low Power Integrated x86 Solutions]
分类和应用:
文件页数/大小: 247 页 / 4117 K
品牌: NSC [ National Semiconductor ]
 浏览型号30036-23的Datasheet PDF文件第70页浏览型号30036-23的Datasheet PDF文件第71页浏览型号30036-23的Datasheet PDF文件第72页浏览型号30036-23的Datasheet PDF文件第73页浏览型号30036-23的Datasheet PDF文件第75页浏览型号30036-23的Datasheet PDF文件第76页浏览型号30036-23的Datasheet PDF文件第77页浏览型号30036-23的Datasheet PDF文件第78页  
Processor Programming (Continued)  
Gate Descriptors  
Four kinds of gate descriptors are used to provide protec-  
tion during control transfers:  
The following privilege levels are tested during the transfer  
through the call gate:  
CPL = Current Privilege Level  
RPL = Segment Selector Field  
DPL = Descriptor Privilege Level in the call gate  
descriptor  
Call gates  
Trap gates  
Interrupt gates  
Task gates  
DPL = Descriptor Privilege Level in the destination  
code segment  
(For more information on protection refer to Section 3.9  
The maximum value of the CPL and RPL must be equal  
or less than the gate DPL. For a JMP instruction the desti-  
nation DPL equals the CPL. For a CALL instruction the  
destination DPL is less than or equal to the CPL.  
Protectionon page 91.)  
Call Gate Descriptor (CGD). Call gates are used to  
define legal entry points to a procedure with a higher priv-  
ilege level. The call gates are used by CALL and JUMP  
instructions in much the same manner as code segment  
descriptors. When a decoded instruction refers to a call  
gate descriptor in the GDT or LDT, the call gate is used to  
point to another descriptor in the table that defines the  
destination code segment.  
Conforming Code Segments. Transfer to a procedure  
with a higher privilege level can also be accomplished by  
bypassing the use of call gates, if the requested proce-  
dure is to be executed in a conforming code segment.  
Conforming code segments have the C bit set in the  
TYPE field in their descriptor.  
The bit structure and definitions for gate descriptors are  
shown in Tables 3-24 and 3-25.  
Table 3-24. Gate Descriptors  
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10  
Memory Offset +4  
9
8
7
6
5
4
3
2
1
0
OFFSET[31:16]  
P
DPL  
0
TYPE  
0
0
0
PARAMETERS  
Memory Offset +0  
SELECTOR[15:0]  
OFFSET[15:0]  
Table 3-25. Gate Descriptors Bit Definitions  
Memory  
Bit  
Offset  
Name  
Description  
31:16  
15:0  
31:16  
15  
+4  
+0  
+0  
+4  
+4  
+4  
OFFSET  
Offset: Offset used during a call gate to calculate the branch target.  
SELECTOR  
P
Segment Selector  
Segment Present  
14:13  
11:8  
DPL  
Descriptor Privilege Level  
Segment Type:  
TYPE  
0100 = 16-bit call gate  
0101 = Task gate  
0110 = 16-bit interrupt gate  
0111 = 16-bit trap gate  
1100 = 32-bit call gate  
1110 = 32-bit interrupt gate  
1111 = 32-bit trap gate  
4:0  
+4  
PARAMETERS Parameters: Number of parameters to copy from the callers stack to the called proce-  
dures stack.  
www.national.com  
74  
Revision 1.1