梦见吃雪糕是什么意思| 喜鹊叫有什么兆头| 古早是什么意思| 五彩缤纷是什么意思| 味素是什么| 丁克什么意思| 湿气是什么东西| 手串13颗代表什么意思| 经期吃凉的东西有什么影响| 二手房是什么意思| 赤潮是什么意思| 睡觉脚抽筋是什么原因引起的| 腺瘤样增生是什么意思| 来大姨妈肚子疼是什么原因| 长命的动物是什么生肖| 什么时间量血压最准确| 苏轼是什么之一| 月经来了喝红糖水有什么好处| 颜字五行属什么| 龙胆草长什么样| 风热感冒和风寒感冒有什么区别| 7.21是什么日子| 四季如春是什么生肖| qrs波代表什么| 做头发是什么意思| 天上火是什么意思| 吃什么容易长胖| 心急吃不了热豆腐什么意思| 大学院长是什么级别| 困是什么意思| 什么蔬菜补血| 腰椎退行性改变是什么意思| 为什么穿堂风最伤人| 白手起家是什么意思| 能够握紧的就别放了是什么歌| 泌尿科主要看什么病| 检查肝脏挂什么科| 一月19日是什么星座| 口蜜腹剑是什么意思| 阴婚是什么意思| 韭菜不能和什么一起吃| 农业户口和非农业户口有什么区别| 蛇生肖和什么生肖相配| 母亲节什么时候| 什么人容易得眩晕症| 梦见母亲去世预示什么| 男人纹身纹什么运气好| 什么肉好吃| 梭织面料是什么面料| 孕妇梦见猫是什么意思| 梦遗是啥意思是什么| 急性肠胃炎吃什么水果| 恩字五行属什么| 1998年的虎是什么命| 村里入党需要什么条件| 老是打嗝什么原因| npc是什么意思| 奔跑吧什么时候更新| 孕妇红细胞偏低是什么原因| 老夫老妻什么意思| 羞明畏光是什么意思| 出冷汗是什么原因| 烫伤后擦什么药好得快| 豆五行属什么| 孩子感冒发烧吃什么药| 双肾尿盐结晶是什么| 胰岛素针头4mm和5mm有什么区别| 下午一点到三点是什么时辰| 一九九二年属什么生肖| 全友床垫属于什么档次| 黄体是什么意思| 吃糖醋蒜有什么好处和坏处| 身上起红斑是什么原因| 达芬奇发明了什么| 榻榻米是什么| 高血糖吃什么水果最好| 子宫内膜不典型增生是什么意思| 床咚是什么意思啊| 腹膜透析是什么意思| 12年义务教育什么时候开始| 吃什么最补钙| 外冷内热是什么症状| 我流是什么意思| 地黄是什么| 维生素k是什么| 鼻炎吃什么消炎药| 心衰竭是什么症状| 请问今晚买什么生肖| 终板炎是什么病| 受精卵发育成什么| 阴茎破皮擦什么药| 一什么山| 肺炎吃什么| 伪骨科什么意思| 经常做噩梦的原因是什么| 胡子发黄是什么原因| 什么药止痛效果最好| 26岁属什么生肖| 打歌是什么意思| 零四年属什么| 翻白眼是什么意思| 鱼胶是鱼的什么部位| 尿蛋白弱阳性是什么意思| 芹菜和什么菜搭配最好| 阑尾炎是什么病| 小孩咳嗽不能吃什么食物| 为什么头出汗特别多| 减肥喝什么茶最好最快| 坐围是什么| 吃什么会流产| 七月有什么花| 后壁是什么意思| 胰腺炎什么症状| 巡警是做什么的| 灰色鞋子搭配什么颜色裤子| 为什么有些人显老| 送女朋友什么礼物| laurel是什么牌子| 阴唇肥大有什么影响| 吃什么能长头发| 德巴金是什么药| 拉稀吃什么| 司马光和司马迁是什么关系| 退休工资什么时候补发| 什么时候开始暑伏| 买盘和卖盘是什么意思| 晨勃消失是什么原因| 左下眼皮跳是什么预兆| 三手烟是什么| 市政府办公室主任是什么级别| 出生证编号是什么| 放疗是什么意思| 右乳钙化灶是什么意思| ABA是什么植物激素| 孕晚期白细胞高是什么原因| 为什么手麻| 召力念什么| 舌头生疮是什么原因引起的| 检查妇科清洁度三是什么意思| 2008属什么| 眼睛充血什么原因| 血沉高说明什么问题| 胶原蛋白是什么东西| n标志的鞋子是什么牌子| 什么是高原反应| 事半功倍是什么意思| 小便尿道刺痛吃什么药| 极有家是什么意思| bk病毒是什么| 什么叫盗汗| 宫殿是什么意思| 冬菜是什么菜| 6月初9是什么日子| 特别是什么意思| 牙龈溃疡吃什么药| 猫一般吃什么| 女人心肌缺血吃什么药| 虫草泡水喝有什么功效| 蓝五行属什么| 塑料属于什么垃圾| 子代表什么意思| 庸俗是什么意思| 仗剑走天涯什么意思| 肠胃炎引起的发烧吃什么药| 头晕想吐吃什么药| 没胃口吃什么| abo溶血症是什么| 鼓风机是干什么用的| 天秤座女和什么星座最配| 备孕怀男孩做什么准备| 凤眼果什么时候成熟| 文采是什么意思| gop是什么| 健康状况填什么| 沙里瓦是什么意思| 拿手机手抖是什么原因| 牛奶丝是什么面料| 胆的作用和功能是什么| 补是什么偏旁| 放屁多吃什么药| 什么叫心肌桥| 鲁班姓什么| 放屁多是什么原因引起的| 断头婚是什么意思| 人参泡酒有什么功效| 少阳是什么意思| 奕什么意思| ray是什么意思| 泪腺堵塞是什么症状| 灯五行属什么| 老是做噩梦是什么原因| 吸血鬼初拥是什么意思| 眼花缭乱是什么意思| 1959年属猪的是什么命| 五花八门什么意思| 什么是熬夜| 扯证是什么意思| ks是什么意思| 为什么不建议光子嫩肤| 有色眼镜是什么意思| 莲蓬可以用来做什么| 外阴长水泡是什么原因| 多囊有什么危害| 让球是什么意思| 儿童口腔溃疡用什么药| 老年人吃什么钙片补钙好| 什么是逆商| 涂素颜霜之前要涂什么| 什么是命题| 小孩疝气看什么科室| 封闭抗体是什么意思| 维生素b1有什么作用| 手腕疼是什么原因| 经常嗓子疼是什么原因| 好好活着比什么都重要| 大土土什么字| 被利用的信任是什么歌| 甲亢都有什么症状| 头孢属于什么类药物| 中出是什么| 硅橡胶是什么材料| 庶母是什么意思| 舞蹈考级有什么用| 什么的藤| 送长辈什么礼物合适| 小便黄是什么原因引起的| 道观是什么意思| 竹棉和纯棉有什么区别| 什么叫牙冠| 农历六月是什么生肖| 尿道炎吃什么药最好| 1936年中国发生了什么| 可心是什么意思| 奇异是什么意思| 抗hp治疗是什么意思| 近水楼台先得月是什么生肖| 县长是什么级别的干部| 中性粒细胞比率偏低是什么意思| 蝴蝶效应比喻什么| 雪五行属什么| cpap是什么意思| 血常规检查能查出什么| 子宫结节是什么意思| 家婆是什么意思| 长期喝咖啡有什么危害| karcher是什么牌子| 楚怀王和芈月什么关系| 钛合金是什么材料| 男士检查精子挂什么科| 岗位等级是什么意思| 亚玛病是什么病| 肾火旺吃什么药| 晚上七点多是什么时辰| 梦见自己开车是什么意思| 小肝癌是什么意思| 法国公鸡是什么牌子| 宝付支付是什么| o型血为什么招蚊子| 天蝎座和什么星座最配| 正常尿液是什么颜色| 虫加合念什么| 深紫色配什么颜色好看| 一身傲骨是什么意思| 生理期肚子疼吃什么药| 百度Jump to content

国务院关于机构设置的通知

From Wikipedia, the free encyclopedia
百度 而在昨日,北上资金再度出现了与大盘走势反向的操作,在沪深两大股指双双回调的背景下,沪股通资金实现净流入亿元,深股通资金净流入亿元,北上金额合计约亿元。

In computing, protected mode, also called protected virtual address mode,[1] is an operational mode of x86-compatible central processing units (CPUs). It allows system software to use features such as segmentation, virtual memory, paging and safe multi-tasking designed to increase an operating system's control over application software.[2][3]

When a processor that supports x86 protected mode is powered on, it begins executing instructions in real mode, in order to maintain backward compatibility with earlier x86 processors.[4] Protected mode may only be entered after the system software sets up one descriptor table and enables the Protection Enable (PE) bit in the control register 0 (CR0).[5]

Protected mode was first added to the x86 architecture in 1982,[6] with the release of Intel's 80286 (286) processor, and later extended with the release of the 80386 (386) in 1985.[7] Due to the enhancements added by protected mode, it has become widely adopted and has become the foundation for all subsequent enhancements to the x86 (IA-32) architecture,[8] although many of those enhancements, such as added instructions and new registers, also brought benefits to the real mode.

History

[edit]

The first x86 processor, the Intel 8086, had a 20-bit address bus for its memory, as did its Intel 8088 variant.[9] This allowed them to access 220 bytes of memory, equivalent to 1 megabyte.[9] At the time, 1 megabyte was considered a relatively large amount of memory,[10] so the designers of the IBM Personal Computer reserved the first 640 kilobytes for use by applications and the operating system and the remaining 384 kilobytes for the BIOS (Basic Input/Output System) and memory for add-on devices.[11]

As the cost of memory decreased and memory use increased, the 1 MB limitation became a significant problem. Intel intended to solve this limitation along with others with the release of the 286.[11]

The 286

[edit]

The initial protected mode, released with the 286, was not widely used;[11] for example, it was used by Coherent (from 1982),[12] Microsoft Xenix (around 1984)[13] and Minix.[14] Several shortcomings such as the inability to make BIOS and DOS calls due to inability to switch back to real mode without resetting the processor prevented widespread usage.[15] Acceptance was additionally hampered by the fact that the 286 allowed memory access in 64 kilobyte segments, addressed by its four segment registers, meaning that only 4 × 64 KB, equivalent to 256 KB, could be accessed at a time.[11] Because changing a segment register in protected mode caused a 6-byte segment descriptor to be loaded into the CPU from memory, the segment register load instruction took many tens of processor cycles, making it much slower than on the 8086 and 8088; therefore, the strategy of computing segment addresses on-the-fly in order to access data structures larger than 128 kilobytes (the combined size of the two data segments) became impractical, even for those few programmers who had mastered it on the 8086 and 8088.

The 286 maintained backward compatibility with the 8086 and 8088 by initially entering real mode on power up.[4] Real mode functioned virtually identically to the 8086 and 8088, allowing the vast majority of existing software for those processors to run unmodified on the newer 286. Real mode also served as a more basic mode to set up and bootstrap into protected mode. To access the extended functionality of the 286, the operating system would set up some tables in memory that controlled memory access in protected mode, set the addresses of those tables into some special registers of the processor, and then set the processor into protected mode. This enabled 24-bit addressing, which allowed the processor to access 224 bytes of memory, equivalent to 16 megabytes.[9]

The 386

[edit]
An Intel 80386 microprocessor

With the release of the 386 in 1985,[7] many of the issues preventing widespread adoption of the previous protected mode were addressed.[11] The 386 was released with an address bus size of 32 bits, which allows for 232 bytes of memory accessing, equivalent to 4 gigabytes.[16] The segment sizes were also increased to 32 bits, meaning that the full address space of 4 gigabytes could be accessed without the need to switch between multiple segments.[16] In addition to the increased size of the address bus and segment registers, many other new features were added with the intention of increasing operational security and stability.[17] Protected mode is now used in virtually all modern operating systems which run on the x86 architecture, such as Microsoft Windows, Linux, and many others.[18]

Furthermore, learning from the failures of the 286 protected mode to satisfy the needs for multiuser DOS, Intel added a separate virtual 8086 mode,[19] which allowed multiple virtualized 8086 processors to be emulated on the 386. Hardware x86 virtualization required for virtualizing the protected mode itself, however, had to wait for another 20 years.[20]

386 additions to protected mode

[edit]

With the release of the 386, the following additional features were added to protected mode:[2]

Entering and exiting protected mode

[edit]

Until the release of the 386, protected mode did not offer a direct method to switch back into real mode once protected mode was entered. IBM devised a workaround (implemented in the IBM AT) which involved resetting the CPU via the keyboard controller and saving the system registers, stack pointer and often the interrupt mask in the real-time clock chip's RAM. This allowed the BIOS to restore the CPU to a similar state and begin executing code before the reset.[clarification needed] Later, a triple fault was used to reset the 286 CPU, which was a lot faster and cleaner than the keyboard controller method.

To enter protected mode, the Global Descriptor Table (GDT) must first be created with a minimum of three entries: a null descriptor, a code segment descriptor and data segment descriptor. Then, the PE bit must be set in the CR0 register and a far jump must be made to clear the prefetch input queue.[22][23] Also, on an IBM-compatible machine, in order to enable the CPU to access all 16 MB of the address space (instead of only the 8 even megabytes), the A20 line (21st address line) must be enabled. (A20 is disabled at power-up, causing each odd megabyte of the address space to be aliased to the previous even megabyte, in order to guarantee compatibility with older software written for the Intel 8088-based IBM PC and PC/XT models).[24] Enabling A20 is not strictly required to run in protected mode; the CPU will operate normally in protected mode with A20 disabled, only without the ability to access half of the memory addresses.

; MASM program
; enter protected mode (set PE bit)
mov EBX, CR0   ; save control register 0 (CR0) to EBX
or EBX, PE_BIT ; set PE bit by ORing, save to EBX
mov CR0, EBX   ; save EBX back to CR0

; clear prefetch queue; (using far jump instruction jmp)
jmp CLEAR_LABEL
CLEAR_LABEL:

With the release of the 386, protected mode could be exited by loading the segment registers with real mode values, disabling the A20 line and clearing the PE bit in the CR0 register, without the need to perform the initial setup steps required with the 286. [25]

Features

[edit]

Protected mode has a number of features designed to enhance an operating system's control over application software, in order to increase security and system stability.[3] These additions allow the operating system to function in a way that would be significantly more difficult or even impossible without proper hardware support.[26]

Privilege levels

[edit]
Example of privilege ring usage in an operating system using all rings

In protected mode, there are four privilege levels or rings, numbered from 0 to 3, with ring 0 being the most privileged and 3 being the least. The use of rings allows for system software to restrict tasks from accessing data, call gates or executing privileged instructions.[27] In most environments, the operating system and some device drivers run in ring 0 and applications run in ring 3.[27]

Real mode application compatibility

[edit]

According to the Intel 80286 Programmer's Reference Manual,[28]

the 80286 remains upwardly compatible with most 8086 and 80186 application programs. Most 8086 application programs can be re-compiled or re-assembled and executed on the 80286 in Protected Mode.

For the most part, the binary compatibility with real-mode code, the ability to access up to 16 MB of physical memory, and 1 GB of virtual memory, were the most apparent changes to application programmers.[29] This was not without its limitations. If an application utilized or relied on any of the techniques below, it would not run:[30]

  • Segment arithmetic
  • Privileged instructions
  • Direct hardware access
  • Writing to a code segment
  • Executing data
  • Overlapping segments
  • Use of BIOS functions, due to the BIOS interrupts being reserved by Intel[31]

In reality, almost all DOS application programs violated these rules.[32] Due to these limitations, virtual 8086 mode was introduced with the 386. Despite such potential setbacks, Windows 3.0 and its successors can take advantage of the binary compatibility with real mode to run many Windows 2.x (Windows 2.0 and Windows 2.1x) applications in protected mode, which ran in real mode in Windows 2.x.[33]

Virtual 8086 mode

[edit]

With the release of the 386, protected mode offers what the Intel manuals call virtual 8086 mode. Virtual 8086 mode is designed to allow code previously written for the 8086 to run unmodified and concurrently with other tasks, without compromising security or system stability.[34]

Virtual 8086 mode, however, is not completely backward compatible with all programs. Programs that require segment manipulation, privileged instructions, direct hardware access, or use self-modifying code will generate an exception that must be served by the operating system.[35] In addition, applications running in virtual 8086 mode generate a trap with the use of instructions that involve input/output (I/O), which can negatively impact performance.[36]

Due to these limitations, some programs originally designed to run on the 8086 cannot be run in virtual 8086 mode. As a result, system software is forced to either compromise system security or backward compatibility when dealing with legacy software. An example of such a compromise can be seen with the release of Windows NT, which dropped backward compatibility for "ill-behaved" DOS applications.[37]

Segment addressing

[edit]
Virtual segments of 80286

Real mode

[edit]

In real mode each logical address points directly into a physical memory location, every logical address consists of two 16-bit parts: The segment part of the logical address contains the base address of a segment with a granularity of 16 bytes, i.e. a segment may start at physical address 0, 16, 32, ..., 220 ? 16. The offset part of the logical address contains an offset inside the segment, i.e. the physical address can be calculated as physical_address = segment_part × 16 + offset, if the address line A20 is enabled, or (segment_part × 16 + offset) mod 220, if A20 is off.[clarification needed] Every segment has a size of 216 bytes.

Protected mode

[edit]

In protected mode, the segment_part is replaced by a 16-bit selector, in which the 13 upper bits (bit 3 to bit 15) contain the index of an entry inside a descriptor table. The next bit (bit 2) specifies whether the operation is used with the GDT or the LDT. The lowest two bits (bit 1 and bit 0) of the selector are combined to define the privilege of the request, where the values of 0 and 3 represent the highest and the lowest privilege, respectively. This means that the byte offset of descriptors in the descriptor table is the same as the 16-bit selector, provided the lower three bits are zeroed.

The descriptor table entry defines the real linear address of the segment, a limit value for the segment size, and some attribute bits (flags).

286

[edit]

The segment address inside the descriptor table entry has a length of 24 bits so every byte of the physical memory can be defined as bound of the segment. The limit value inside the descriptor table entry has a length of 16 bits so segment length can be between 1 byte and 216 byte. The calculated linear address equals the physical memory address.

386

[edit]

The segment address inside the descriptor table entry is expanded to 32 bits so every byte of the physical memory can be defined as bound of the segment. The limit value inside the descriptor table entry is expanded to 20 bits and completed with a granularity flag (G-bit, for short):

  • If G-bit is zero limit has a granularity of 1 byte, i.e. segment size may be 1, 2, ..., 220 bytes.
  • If G-bit is one limit has a granularity of 212 bytes, i.e. segment size may be 1 × 212, 2 × 212, ..., 220 × 212 bytes. If paging is off, the calculated linear address equals the physical memory address. If paging is on, the calculated linear address is used as input of paging.

The 386 processor also uses 32 bit values for the address offset.

For maintaining compatibility with 286 protected mode a new default flag (D-bit, for short) was added. If the D-bit of a code segment is off (0) all commands inside this segment will be interpreted as 16-bit commands by default; if it is on (1), they will be interpreted as 32-bit commands.

Structure of segment descriptor entry

[edit]
80286 Segment descriptor
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Base[0..15] Limit[0..15]
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
Unused P DPL S X C R A Base[16..23]
80386 Segment descriptor
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00
Base[0..15] Limit[0..15]
63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
Base[24..31] G D 0 U Limit[16..19] P DPL S X C R A Base[16..23]

Where:

  • A is the Accessed bit;
  • R is the Readable bit;
  • C (Bit 42) depends on X:[38]
    • if X = 1 then C is the Conforming bit, and determines which privilege levels can far-jump to this segment (without changing privilege level):
      • if C = 0 then only code with the same privilege level as DPL may jump here;
      • if C = 1 then code with the same or a lower privilege level relative to DPL may jump here.
    • if X = 0 then C is the direction bit:
      • if C = 0 then the segment grows up;
      • if C = 1 then the segment grows down.
  • X is the Executable bit:[38]
    • if X = 1 then the segment is a code segment;
    • if X = 0 then the segment is a data segment.
  • S is the Segment type bit, which should generally be cleared for system segments;[38]
  • DPL is the Descriptor Privilege Level;
  • P is the Present bit;
  • D is the Default operand size;
  • G is the Granularity bit;
  • Bit 52 of the 80386 descriptor is not used by the hardware.

Paging

[edit]
Common method of using paging to create a virtual address space
Paging (on Intel 80386) with page size of 4K

In addition to adding virtual 8086 mode, the 386 also added paging to protected mode.[39] Through paging, system software can restrict and control a task's access to pages, which are sections of memory. In many operating systems, paging is used to create an independent virtual address space for each task, preventing one task from manipulating the memory of another. Paging also allows for pages to be moved out of primary storage and onto a slower and larger secondary storage, such as a hard disk drive.[40] This allows for more memory to be used than physically available in primary storage.[40]

The x86 architecture allows control of pages through two arrays: page directories and page tables. Originally, a page directory was the size of one page, four kilobytes, and contained 1,024 page directory entries (PDE), although subsequent enhancements to the x86 architecture have added the ability to use larger page sizes. Each PDE contained a pointer to a page table. A page table was also originally four kilobytes in size and contained 1,024 page table entries (PTE). Each PTE contained a pointer to the actual page's physical address and are only used when the four-kilobyte pages are used. At any given time, only one page directory may be in active use.[41]

Multitasking

[edit]

Through the use of the rings, privileged call gates, and the Task State Segment (TSS), introduced with the 286, preemptive multitasking was made possible on the x86 architecture. The TSS allows general-purpose registers, segment selector fields, and stacks to all be modified without affecting those of another task. The TSS also allows a task's privilege level, and I/O port permissions to be independent of another task's.

In many operating systems, the full features of the TSS are not used.[42] This is commonly due to portability concerns or due to the performance issues created with hardware task switches.[42] As a result, many operating systems use both hardware and software to create a multitasking system.[43]

Operating systems

[edit]

Operating systems like OS/2 1.x try to switch the processor between protected and real modes. This is both slow and unsafe, because a real mode program can easily crash a computer. OS/2 1.x defines restrictive programming rules allowing a Family API or bound program to run in either real or protected mode. Some early Unix operating systems, OS/2 1.x, and Windows used this mode.

Windows 3.0 was able to run real mode programs in 16-bit protected mode; when switching to protected mode, it decided to preserve the single privilege level model that was used in real mode, which is why Windows applications and DLLs can hook interrupts and do direct hardware access. That lasted through the Windows 9x series. If a Windows 1.x or 2.x program is written properly and avoids segment arithmetic, it will run the same way in both real and protected modes. Windows programs generally avoid segment arithmetic because Windows implements a software virtual memory scheme, moving program code and data in memory when programs are not running, so manipulating absolute addresses is dangerous; programs should only keep handles to memory blocks when not running. Starting an old program while Windows 3.0 is running in protected mode triggers a warning dialog, suggesting to either run Windows in real mode or to obtain an updated version of the application. Updating well-behaved programs using the MARK utility with the MEMORY parameter avoids this dialog. It is not possible to have some GUI programs running in 16-bit protected mode and other GUI programs running in real mode. In Windows 3.1, real mode was no longer supported and could not be accessed.

In modern 32-bit operating systems, virtual 8086 mode is still used for running applications, e.g. DPMI compatible DOS extender programs (through virtual DOS machines) or Windows 3.x applications (through the Windows on Windows subsystem) and certain classes of device drivers (e.g. for changing the screen-resolution using BIOS functionality) in OS/2 2.0 (and later OS/2) and 32-bit Windows NT, all under control of a 32-bit kernel. However, 64-bit operating systems (which run in long mode) no longer use this, since virtual 8086 mode has been removed from long mode.

See also

[edit]

References

[edit]
  1. ^ "Memory access control method and system for realizing the same". US Patent 5483646. May 23, 1995. Archived from the original (Patent) on September 26, 2007. Retrieved 2025-08-05. The memory access control system according to claim 4, wherein said first address mode is a real address mode, and said second address mode is a protected virtual address mode.
  2. ^ a b Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture. Intel. May 2019. Section 2.1.3 The Intel 386 Processor (1985).
  3. ^ a b root (July 14, 2007). "Guide: What does protected mode mean?" (Guide). Delorie Software. Retrieved 2025-08-05. The purpose of protected mode is not to protect your program. The purpose is to protect everyone else (including the operating system) from your program.
  4. ^ a b Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture. Intel. May 2019. Section 3.1 Modes of Operation.
  5. ^ Collins, Robert (2007). "Protected Mode Basics". Retrieved 2025-08-05.
  6. ^ Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture. Intel. May 2019. Section 2.1.2 The Intel 286 Processor (1982).
  7. ^ a b "Intel Global Citizenship Report 2003". Archived from the original (Timeline) on 2025-08-05. Retrieved 2025-08-05. 1985 Intel launches Intel386 processor
  8. ^ Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture. Intel. May 2019. Section 2.1 Brief History of Intel 64 and IA-32 Architecture.
  9. ^ a b c "A+ - Hardware" (Tutorial/Guide). PC Microprocessor Developments and Features Tutorials. BrainBell.com. Retrieved 2025-08-05.
  10. ^ Risley, David (March 23, 2001). "A CPU History". PCMechanic. Archived from the original (Article) on August 29, 2008. Retrieved 2025-08-05. What is interesting is that the designers of the time never suspected anyone would ever need more than 1 MB of RAM.
  11. ^ a b c d e Kaplan, Yariv (1997). "Introduction to Protected-Mode". Internals.com. Archived from the original (Article) on 2025-08-05. Retrieved 2025-08-05.
  12. ^ "General Information FAQ for the Coherent Operating System". January 23, 1993.
  13. ^ "Microsoft XENIX 286 Press Release" (PDF) (Press release). Microsoft. Archived from the original (PDF) on 2025-08-05. Retrieved 2025-08-05.
  14. ^ "MINIX Information Sheet". Archived from the original on January 7, 2014.
  15. ^ Mueller, Scott (March 24, 2006). "P2 (286) Second-Generation Processors". Upgrading and Repairing PCs, 17th Edition (Book) (17 ed.). Que. ISBN 0-7897-3404-4. Retrieved 2025-08-05.
  16. ^ a b 80386 Programmer's Reference Manual (PDF). Santa Clara, CA: Intel. 1986. Section 2.1 Memory Organization and Segmentation.
  17. ^ Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture. Intel. May 2019. Section 3.1 Modes of Operation.
  18. ^ Hyde, Randall (November 2004). "12.10. Protected Mode Operation and Device Drivers". Write Great Code. O'Reilly. ISBN 1-59327-003-8.
  19. ^ Charles Petzold, Intel's 32-bit Wonder: The 80386 Microprocessor, PC Magazine, November 25, 1986, pp. 150-152
  20. ^ Tom Yager (6 November 2004). "Sending software to do hardware's job". InfoWorld. Retrieved 24 November 2014.
  21. ^ Shvets, Gennadiy (June 3, 2007). "Intel 80386 processor family" (Article). Retrieved 2025-08-05. 80386SX — low cost version of the 80386. This processor had 16 bit external data bus and 24-bit external address bus.
  22. ^ "Intel 64 and IA-32 Architectures Software Developer's Manual Combined Volumes 3A, 3B, 3C, and 3D: System Programming Guide". Intel. 9.9.1 Switching to Protected Mode, page 9-13.
  23. ^ "Intel 64 and IA-32 Architectures Software Developer's Manual Combined Volumes 3A, 3B, 3C, and 3D: System Programming Guide". Intel. Section 9.10.2 STARTUP.ASM Listing, page 9-19.
  24. ^ "Intel 64 and IA-32 Architectures Software Developer's Manual Combined Volumes 3A, 3B, 3C, and 3D: System Programming Guide". Intel. Section 21.33.1 Segment Wraparound, page 21-34.
  25. ^ "Intel 64 and IA-32 Architectures Software Developer's Manual Combined Volumes 3A, 3B, 3C, and 3D: System Programming Guide". Intel. Section 9.9.2 Switching Back to Real-Address Mode, page 9-14.
  26. ^ Intel 80386 Programmer's Reference Manual 1986 (PDF). Santa Clara, CA: Intel. 1986. Chapter 7, Multitasking.
  27. ^ a b Intel 64 and IA-32 Architectures Software Developer's Manual Volume 1: Basic Architecture. Intel. May 2019. Section 6.3.5 Calls to Other Privilege Levels.
  28. ^ 80286 and 80287 Programmer's Reference Manual (PDF). Santa Clara, CA: Intel. 1987. Section 1.2 Modes of Operation.
  29. ^ 80286 and 80287 Programmer's Reference Manual (PDF). Santa Clara, California: Intel. 1987. Section 1.3.1 Memory Management.
  30. ^ 80286 and 80287 Programmer's Reference Manual (PDF). Santa Clara, California: Intel. 1987. Appendix C 8086/8088 Compatibility Considerations.
  31. ^ "Memory access control method and system for realizing the same" (Patent). US Patent 5483646. May 6, 1998. Retrieved 2025-08-05. This has been impossible to-date and has forced BIOS development teams to add support into the BIOS for 32 bit function calls from 32 bit applications.
  32. ^ Robinson, Tim (August 26, 2002). "Virtual 8086 Mode". berliOS. Archived from the original (Guide) on October 3, 2002. Retrieved 2025-08-05. ... secondly, protected mode was also incompatible with the vast amount of real-mode code around at the time.
  33. ^ Robinson, Tim (August 26, 2002). "Virtual 8086 Mode". berliOS. Archived from the original (Guide) on October 3, 2002. Retrieved 2025-08-05.
  34. ^ Intel 64 and IA-32 Architectures Software Developer's Manual Combined Volumes 3A, 3B, 3C, and 3D: System Programming Guide. Intel. May 2019. Section 20.2 Virtual 8086 Mode.
  35. ^ Intel 64 and IA-32 Architectures Software Developer's Manual Combined Volumes 3A, 3B, 3C, and 3D: System Programming Guide. Intel. May 2019. Section 20.2.7 Sensitive Instructions.
  36. ^ Robinson, Tim (August 26, 2002). "Virtual 8086 Mode". berliOS. Archived from the original (Guide) on October 3, 2002. Retrieved 2025-08-05. A downside to using V86 mode is speed: every IOPL-sensitive instruction will cause the CPU to trap to kernel mode, as will I/O to ports which are masked out in the TSS.
  37. ^ Dabak, Prasad; Millind Borate (October 1999). Undocumented Windows NT (Book). Hungry Minds. ISBN 0-7645-4569-8.
  38. ^ a b c "Global Descriptor table - OSDev Wiki".
  39. ^ "ProtectedMode overview [deinmeister.de]" (Website). Retrieved 2025-08-05.
  40. ^ a b "What Is PAE X86?". Microsoft TechNet. May 28, 2003. Archived from the original (Article) on 2025-08-05. Retrieved 2025-08-05. The paging process allows the operating system to overcome the real physical memory limits. However, it also has a direct impact on performance because of the time necessary to write or retrieve data from disk.
  41. ^ Gareau, Jean. "Advanced Embedded x86 Programming: Paging". Embedded.com. Archived from the original (Guide) on 2025-08-05. Retrieved 2025-08-05. Only one page directory may be active at a time, indicated by the CR3 register.
  42. ^ a b zwanderer (May 2, 2004). "news: Multitasking for x86 explained #1". NewOrer. NewOrder. Archived from the original (Article) on 2025-08-05. Retrieved 2025-08-05. The reason why software task switching is so popular is that it can be faster than hardware task switching. Intel never actually developed the hardware task switching, they implemented it, saw that it worked, and just left it there. Advances in multitasking using software have made this form of task switching faster (some say up to 3 times faster) than the hardware method. Another reason is that the Intel way of switching tasks isn't portable at all
  43. ^ zwanderer (May 2, 2004). "news: Multitasking for x86 explained #1". NewOrer. NewOrder. Archived from the original (Article) on 2025-08-05. Retrieved 2025-08-05. ... both rely on the Intel processors ability to switch tasks, they rely on it in different ways.
[edit]
舌吻是什么意思 孩子爱啃指甲是什么原因 领证需要准备什么 为什么会长水痘 淋巴结用什么药效果好
噫气是什么意思 孕妇脚肿是什么原因 750是什么金 罹是什么意思 尿急尿频吃什么药
做梦梦见牛是什么意思 孕酮是什么意思 项羽是什么生肖 怀孕了想打掉吃什么药 新生儿老是打嗝是什么原因
胃出血挂什么科室 同比和环比是什么意思 什么时候恢复的高考 欲购从速什么意思 药流没流干净有什么症状
克罗恩病有什么症状hcv8jop8ns1r.cn 分泌物豆腐渣状是什么原因gysmod.com 绝望是什么意思hcv9jop2ns9r.cn 梦见钱包丢了是什么意思hcv7jop6ns3r.cn 属鸡在脖子上戴什么好hcv9jop4ns8r.cn
褐色是什么颜色的图片hcv9jop8ns1r.cn 仙人掌煎鸡蛋治什么病hcv9jop5ns0r.cn 自相矛盾是什么意思hcv8jop7ns8r.cn 齿痕舌是什么原因weuuu.com 狗狗什么时候打疫苗hcv8jop4ns9r.cn
额头出油多是什么原因beikeqingting.com 经常咳嗽是什么病hcv8jop1ns0r.cn 你要做什么hcv9jop0ns9r.cn 三专是什么hcv7jop5ns6r.cn 李思思为什么离开央视wuhaiwuya.com
上行下效是什么意思hcv8jop7ns9r.cn 荨麻疹吃什么药效果好hcv7jop5ns0r.cn 天津市市长是什么级别aiwuzhiyu.com 两个脚脖子肿什么原因hcv9jop6ns6r.cn 请教意思是什么hcv9jop3ns4r.cn
百度