内存映射io和io映射io有什么区别 [英] what is the difference between memory mapped io and io mapped io

查看:714
本文介绍了内存映射io和io映射io有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请解释内存映射IO和IO映射IO之间的区别

Pls explain the difference between memory mapped IO and IO mapped IO

推荐答案

在x86上,有两个不同的地址空间,一个用于内存,另一个用于I/O端口.

On x86 there are two different address spaces, one for memory, and another one for I/O ports.

端口地址空间限制为65536个端口,可以使用IN/OUT指令进行访问.

The port address space is limited to 65536 ports, and is accessed using the IN/OUT instructions.

例如,可以使用某些I/O端口访问视频卡的VGA功能,但是帧缓冲区是内存映射的.

As an example, a video card's VGA functionality can be accessed using some I/O ports, but the framebuffer is memory-mapped.

其他CPU体系结构只有一个地址空间.在那些体系结构中,所有设备都是内存映射的.

Other CPU architectures only have one address space. In those architectures, all devices are memory-mapped.

这篇关于内存映射io和io映射io有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆