发明名称 METHOD AND DEVICE FOR DETERMINING PHYSICAL ADDRESS
摘要 The present invention discloses a method and an apparatus for determining a physical address, which relate to the field of computer technologies, may use a set associative TLB that supports multiple page sizes to obtain the physical address, and reduce power consumption. According to the present disclosure, a page size is obtained according to the higher-order N bits of a linear address, where N is greater than 0 and less than a quantity of bits of the linear address; an index number of a translation lookaside buffer TLB is obtained according to the page size; a mask is obtained according to the page size and a supported minimum page size; a label of the TLB is obtained according to the mask; the higher-order MAC1 bits of a physical address corresponding to the linear address are obtained by searching the TLB-according to the index number and the label; and the physical address is obtained according to the mask, the supported minimum page, and the higher-order MAC1 bits of the physical address. It is appropriate to use the present disclosure when a physical address is determined by using a linear address.
申请公布号 EP3007071(A4) 申请公布日期 2016.04.13
申请号 EP20130885481 申请日期 2013.12.02
申请人 HUAWEI TECHNOLOGIES CO., LTD. 发明人 ZHANG, LIXIN;ZHANG, KE;ZHANG, YI;ZHANG, LELE
分类号 G06F12/10 主分类号 G06F12/10
代理机构 代理人
主权项
地址