blob: ec96df64de33a5d1356b0ee7ab9853bb5004e783 [file] [log] [blame]
Timothy Chenda125632021-06-25 16:01:19 -07001// Copyright lowRISC contributors.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5#ifndef OPENTITAN_SW_DEVICE_LIB_IBEX_PERI_H_
6#define OPENTITAN_SW_DEVICE_LIB_IBEX_PERI_H_
7
8#include <stdbool.h>
9#include <stdint.h>
10
11/**
12 * @src_addr The source base address of the translate region
13 * @size The size of the target translate block
14 * @dst_addr The destination address after translation
15 */
16void init_translation(uint32_t src_addr, uint32_t size, uint32_t dst_addr);
17
18#endif // OPENTITAN_SW_DEVICE_LIB_IBEX_PERI_H_