发明名称 Method and apparatus for a high-performance embedded memory management unit
摘要 The present invention provides a method and an apparatus for translating a virtual address to a physical address in a computer system. The system receives a virtual address during an execution or a fetch of a program instruction. The system determines if the virtual address is in an upper portion or a lower portion of a virtual address space. If the virtual address is in the lower portion of the virtual address space, the system adds the virtual address to a first base address to produce the physical address. The system also compares the virtual address against an upper bound. If the virtual address has a larger value than the upper bound, the system indicates an illegal access. If the virtual address is in the upper portion of the virtual address space, the system adds the virtual address to a second base address to produce the physical address. The system also compares the virtual address against a lower bound. If the virtual address has a lower value than the lower bound, the system indicates that the access is illegal. Thus, the system provides protection from illegal memory accesses. According to one aspect of the present invention, the system determines if the virtual address falls within portion of the virtual address space that is protected from write accesses. If so, the system disallows write accesses to the virtual address. Thus, the present invention dispenses with paging and reduces the virtual-to-physical address translation process to a simple addition operation. This leads to faster processor clock speeds, and can greatly reduce the cost of designing and fabricating a computer system.
申请公布号 US6233667(B1) 申请公布日期 2001.05.15
申请号 US19990263704 申请日期 1999.03.05
申请人 SUN MICROSYSTEMS, INC. 发明人 SHAYLOR NIK;CHAN JEFFREY M. W.;OBLOCK GARY R.;TREMBLAY MARC
分类号 G06F12/08;G06F12/02;G06F12/10;G06F12/14;G06F13/14;(IPC1-7):G06F12/06 主分类号 G06F12/08
代理机构 代理人
主权项
地址