Virtual, Linear, and Physical Addresses
来源:互联网 发布:哈工大数据集 编辑:程序博客网 时间:2024/06/05 15:36
link: http://www.on-time.com/rtos-32-docs/rttarget-32/programming-manual/x86-cpu/protected-mode/virtual-linear-and-physical-addresses.htm
___________________________________________________________________________________________________________________________________
The 386 memory management can become quite confusing. Here is a summary of the different types of addresses and how one type is translated to another:
Virtual addresses are used by an application program. They consist of a 16-bit selector and a 32-bit offset. In the flat memory model, the selectors are preloaded into segment registers CS, DS, SS, and ES, which all refer to the same linear address. They need not be considered by the application. Addresses are simply 32-bit near pointers.
Linear addresses are calculated from virtual addresses by segment translation. The base of the segment referred to by the selector is added to the virtual offset, giving a 32-bit linear address. Under RTTarget-32, virtual offsets are equal to linear addresses since the base of all code and data segments is 0.
Physical addresses are calculated from linear addresses through paging. The linear address is used as an index into the Page Table where the CPU locates the corresponding physical address. If paging is not enabled, linear addresses are always equal to physical addresses. Under RTTarget-32, linear addresses are equal to physical addresses except for remapped RAM regions (see sectionRTLoc: Locating a Program, sections Virtual Command and FillRAM Command) and for memory allocated using the virtual memory manager.
- Virtual, Linear, and Physical Addresses
- the mapping between virtual addresses and physical addresses
- Understand in physical address, Virtual address, logical address and linear address
- physical interrupt and virtual interrupt
- 用windbg实现虚拟地址到物理地址转换(Converting Virtual Addresses to Physical Addresses)
- virtual address,logical address,physical address add linear address
- Differences between Physical Address and Virtual Address!
- How to translate virtual to physical addresses through /proc/pid/pagemap
- MDB: virtual and physical memory map for both kernel and application
- Memory Tips: Physical and Virtual Memory Management, Global Sections, System Parameters
- VDS Best Practices – Virtual and Physical Switch Parameters (Part 2 of 6)
- Linux to read the Processor model, physical cores, virtual cores and L1, L2 cache
- ARM Virtual - Physical memory translation
- Logical Address->Linear Address->Physical Address
- Win CE/Mobile Physical/Virtual cached/uncached
- yarn Container beyond physical/virtual memory limits
- linux pfn, page, physical/virtual address
- Paging – Virtual to Physical address translation
- 黑马程序员--java学习笔记第五天
- ScrollView中嵌套ListView,TextView只显示一行的高度解决方案
- 拉格朗日对偶性的一些总结
- 解决 debian8 中 /etc/default/docker 无效问题
- 黑马程序员--静态代理和动态代理
- Virtual, Linear, and Physical Addresses
- 黑马程序员——JAVA笔记——反射
- 欢迎使用CSDN-markdown编辑器
- 计算机概论(笔记)
- Android中View绘制优化二一---- 使用<include />标签复用布局文件
- 算法导论——0001
- HTML常用标签及其全称
- Android中View绘制优化之一---- 优化布局层次
- 45 个非常有用的 Oracle 查询语句