首页> 外国专利> Protection domains in a single address space

Protection domains in a single address space

机译:单个地址空间中的保护域

摘要

Protection among threads executing in the same address space of a computer system is provided without using virtual memory techniques. This is achieved by grouping the threads into protection domains, each of the threads in a protection domain having the same rights to access memory as the other threads in that protection domain, so that each thread in a protection domain can access all the information available to the others. At least one protection domain, referred to herein as the "system" domain, which typically is the protection domain of the operating system and has unrestricted access to the entire memory, is predefined prior to execution of any threads. Prior to execution, the single address space is divided into non-overlapping pages. Each page has at least one access permission set for it. Only threads that belong to a protection domain having permission to access a page may do so. During operation, when a request to access memory is issued by an executing thread, it is determined whether or not the protection domain of the executing thread has permission to perform the requested type of access. If the protection domain of the executing thread is permitted to perform the type of access requested, access is granted and the executing thread's execution proceeds normally. However, if the protection domain of the executing thread does not have permission to perform the requested type of access, a protection fault is generated.
机译:无需使用虚拟内存技术即可在计算机系统的同一地址空间中执行的线程之间提供保护。这是通过将线程分组到保护域中来实现的,保护域中的每个线程都具有与该保护域中的其他线程相同的访问内存的权限,以便保护域中的每个线程都可以访问可用于其他。在执行任何线程之前,预先定义至少一个保护域,在此称为“系统”域,通常是操作系统的保护域,并且对整个内存具有不受限制的访问权限。在执行之前,单个地址空间被分为非重叠页面。每个页面至少设置了一个访问权限。只有属于保护域的具有访问页面权限的线程才可以这样做。在操作期间,当执行线程发出访问存储器的请求时,确定执行线程的保护域是否具有执行所请求的访问类型的权限。如果允许执行线程的保护域执行所请求的访问类型,则将授予访问权限,并且执行线程的执行将正常进行。但是,如果执行线程的保护域没有执行所请求的访问类型的权限,则会生成保护错误。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号