1/*
2 * Copyright 2018, Data61
3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4 * ABN 41 687 119 230.
5 *
6 * This software may be distributed and modified according to the terms of
7 * the GNU General Public License version 2. Note that NO WARRANTY is provided.
8 * See "LICENSE_GPLv2.txt" for details.
9 *
10 * @TAG(DATA61_GPL)
11 */
12
13/*
14 *
15 * Copyright 2016, 2017 Hesham Almatary, Data61/CSIRO <hesham.almatary@data61.csiro.au>
16 * Copyright 2015, 2016 Hesham Almatary <heshamelmatary@gmail.com>
17 */
18
19#include <types.h>
20#include <api/failures.h>
21#include <machine/registerset.h>
22#include <object/structures.h>
23#include <arch/machine.h>
24#include <object/tcb.h>
25
26word_t CONST
27Arch_decodeTransfer(word_t flags)
28{
29    return 0;
30}
31
32exception_t CONST
33Arch_performTransfer(word_t arch, tcb_t *tcb_src, tcb_t *tcb_dest)
34{
35    return EXCEPTION_NONE;
36}
37
38void
39Arch_setTCBIPCBuffer(tcb_t *thread, word_t bufferAddr)
40{
41    setRegister(thread, tp, bufferAddr);
42}
43