Timothy Chen | da12563 | 2021-06-25 16:01:19 -0700 | [diff] [blame] | 1 | // 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 | */ |
| 16 | void init_translation(uint32_t src_addr, uint32_t size, uint32_t dst_addr); |
| 17 | |
| 18 | #endif // OPENTITAN_SW_DEVICE_LIB_IBEX_PERI_H_ |