X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Fnds32_tlb.h;h=62512c11140dd92d6b9fe38d3d00aa22a02fa798;hb=1ba715422fba733bb5426ea887368e2dcf371b91;hp=59e1157307ccbd89c1600108bf349a971829ff32;hpb=cf8a3c3d7075abad3c88cd604f8add4d06898abc;p=openocd.git diff --git a/src/target/nds32_tlb.h b/src/target/nds32_tlb.h index 59e1157307..62512c1114 100644 --- a/src/target/nds32_tlb.h +++ b/src/target/nds32_tlb.h @@ -13,12 +13,11 @@ * GNU General Public License for more details. * * * * You should have received a copy of the GNU General Public License * - * along with this program; if not, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * 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" @@ -40,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 */