1*3ca9928dSSoby Mathew /* 2*3ca9928dSSoby Mathew * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved. 3*3ca9928dSSoby Mathew * 4*3ca9928dSSoby Mathew * Redistribution and use in source and binary forms, with or without 5*3ca9928dSSoby Mathew * modification, are permitted provided that the following conditions are met: 6*3ca9928dSSoby Mathew * 7*3ca9928dSSoby Mathew * Redistributions of source code must retain the above copyright notice, this 8*3ca9928dSSoby Mathew * list of conditions and the following disclaimer. 9*3ca9928dSSoby Mathew * 10*3ca9928dSSoby Mathew * Redistributions in binary form must reproduce the above copyright notice, 11*3ca9928dSSoby Mathew * this list of conditions and the following disclaimer in the documentation 12*3ca9928dSSoby Mathew * and/or other materials provided with the distribution. 13*3ca9928dSSoby Mathew * 14*3ca9928dSSoby Mathew * Neither the name of ARM nor the names of its contributors may be used 15*3ca9928dSSoby Mathew * to endorse or promote products derived from this software without specific 16*3ca9928dSSoby Mathew * prior written permission. 17*3ca9928dSSoby Mathew * 18*3ca9928dSSoby Mathew * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 19*3ca9928dSSoby Mathew * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 20*3ca9928dSSoby Mathew * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 21*3ca9928dSSoby Mathew * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 22*3ca9928dSSoby Mathew * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 23*3ca9928dSSoby Mathew * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 24*3ca9928dSSoby Mathew * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 25*3ca9928dSSoby Mathew * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 26*3ca9928dSSoby Mathew * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 27*3ca9928dSSoby Mathew * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28*3ca9928dSSoby Mathew * POSSIBILITY OF SUCH DAMAGE. 29*3ca9928dSSoby Mathew */ 30*3ca9928dSSoby Mathew 31*3ca9928dSSoby Mathew #ifndef __XLAT_TABLES_PRIVATE_H__ 32*3ca9928dSSoby Mathew #define __XLAT_TABLES_PRIVATE_H__ 33*3ca9928dSSoby Mathew 34*3ca9928dSSoby Mathew void print_mmap(void); 35*3ca9928dSSoby Mathew void init_xlation_table(uintptr_t base_va, uint64_t *table, 36*3ca9928dSSoby Mathew int level, uintptr_t *max_va, 37*3ca9928dSSoby Mathew unsigned long long *max_pa); 38*3ca9928dSSoby Mathew 39*3ca9928dSSoby Mathew #endif /* __XLAT_TABLES_PRIVATE_H__ */ 40