1#!/usr/bin/env python 2# -*- coding: utf-8 -*- 3 4# 5# Copyright 2017, Data61 6# Commonwealth Scientific and Industrial Research Organisation (CSIRO) 7# ABN 41 687 119 230. 8# 9# This software may be distributed and modified according to the terms of 10# the BSD 2-Clause license. Note that NO WARRANTY is provided. 11# See "LICENSE_BSD2.txt" for details. 12# 13# @TAG(DATA61_BSD) 14# 15 16''' 17A mapping from abstract CAmkES generated files to implementations for a 18specific platform. Callers are intended to invoke `lookup` with a path to the 19template they need, using dots as path separators. E.g. call 20`lookup('seL4.seL4RPC.from.source')` to get the template for the source file 21for the from end of a seL4RPC connector on seL4. 22''' 23 24from __future__ import absolute_import, division, print_function, \ 25 unicode_literals 26 27from .exception import TemplateError 28from . import macros, arch_helpers 29