一种管态维护且目态共享的数据访问装置及方法

Data access device based on supervisor mode maintenance and problem mode share as well as method thereof

Abstract

The invention discloses a shared data access device based on supervisor mode maintenance and problem mode share as well as a method thereof, relating to the technical field of supervisor mode and problem mode sharing data in a computer system. The method of the invention comprises the following steps: mapping relationship between a distributed physical memory and a first virtual address range and the mapping relationship between the physical memory and a second virtual address range are respectively established, wherein the first virtual address range refers to the virtual address range in a distributed supervisor mode and problem mode sharing virtual address space, and the second virtual address range refers to the virtual address range in the distributed virtual address space exclusively shared by the supervisor mode; in the process of accessing the physical memory, a problem mode program conducts access only by the virtual address in the first virtual address space, and a supervisor mode program conducts the access through the first or second virtual address range. The technical scheme of the invention can provide a simple and efficient memory protection mechanism for a computer, thus the whole performance of the system can be improved.
本发明公开了一种管态维护且目态共享的数据访问装置及方法,涉及计算机系统中的管态和目态共享数据技术领域。本发明方法包括:分别建立已分配的物理内存与第一虚拟地址范围的映射关系,以及所述物理内存与第二虚拟地址范围的映射关系,其中,所述第一虚拟地址范围指已分配的管态和目态共享虚拟地址空间中的虚拟地址范围,所述第二虚拟地址范围指已分配的管态独享虚拟地址空间中的虚拟地址范围;在访问所述物理内存的过程中,目态程序仅通过所述第一虚拟地址范围中的虚拟地址进行访问,管态程序通过所述第一或第二虚拟地址范围中的虚拟地址进行访问。本发明技术方案为计算机系统提供简单、高效的存储保护机制,能够提高系统的整体性能。

Claims

Description

Topics

Download Full PDF Version (Non-Commercial Use)

Patent Citations (3)

    Publication numberPublication dateAssigneeTitle
    CN-101008922-AAugust 01, 2007浙江大学Segmentation and paging data storage space management method facing heterogeneous polynuclear system
    CN-1828557-ASeptember 06, 2006浙江大学Process mapping realization method in embedded type operation system
    US-2009222816-A1September 03, 2009Arm LimitedData processing apparatus and method for controlling access to secure memory by virtual machines executing on processing circuirty

NO-Patent Citations (0)

    Title

Cited By (3)

    Publication numberPublication dateAssigneeTitle
    CN-102929802-AFebruary 13, 2013国民技术股份有限公司Stored resource protection method and system
    CN-102929802-BDecember 02, 2015国民技术股份有限公司一种存储资源的保护方法及系统
    CN-103595784-AFebruary 19, 2014北京京东尚科信息技术有限公司, 北京京东世纪贸易有限公司一种文件共享方法及系统