Invention Grant
- Patent Title: Method and apparatus for determining physical address
-
Application No.: US14951608Application Date: 2015-11-25
-
Publication No.: US10303619B2Publication Date: 2019-05-28
- Inventor: Lixin Zhang , Ke Zhang , Yi Zhang , Lele Zhang
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Agency: Staas & Halsey LLP
- Priority: CN201310207412 20130529
- Main IPC: G06F12/10
- IPC: G06F12/10 ; G06F12/1027

Abstract:
A method and an apparatus for determining a physical address are disclosed. 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.
Public/Granted literature
- US20160098357A1 METHOD AND APPARATUS FOR DETERMINING PHYSICAL ADDRESS Public/Granted day:2016-04-07
Information query