X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fnds32_tlb.h;h=62512c11140dd92d6b9fe38d3d00aa22a02fa798;hb=1ba715422fba733bb5426ea887368e2dcf371b91;hp=a342d39e9d5919065283a58fd253d0d560ed860c;hpb=d0e763ac7ef6aa17b17bd00ccdfbccfb4eacda69;p=openocd.git diff --git a/src/target/nds32_tlb.h b/src/target/nds32_tlb.h index a342d39e9d..62512c1114 100644 --- a/src/target/nds32_tlb.h +++ b/src/target/nds32_tlb.h @@ -15,8 +15,9 @@ * You should have received a copy of the GNU General Public License * * along with this program. If not, see . * ***************************************************************************/ -#ifndef __NDS32_TLB_H__ -#define __NDS32_TLB_H__ + +#ifndef OPENOCD_TARGET_NDS32_TLB_H +#define OPENOCD_TARGET_NDS32_TLB_H #include "nds32.h" @@ -38,9 +39,9 @@ struct page_table_walker_info_s { uint32_t ppn_mask; }; -extern int nds32_probe_tlb(struct nds32 *nds32, const uint32_t virtual_address, - uint32_t *physical_address); -extern int nds32_walk_page_table(struct nds32 *nds32, const uint32_t virtual_address, - uint32_t *physical_address); +extern int nds32_probe_tlb(struct nds32 *nds32, const target_addr_t virtual_address, + target_addr_t *physical_address); +extern int nds32_walk_page_table(struct nds32 *nds32, const target_addr_t virtual_address, + target_addr_t *physical_address); -#endif +#endif /* OPENOCD_TARGET_NDS32_TLB_H */