1/*
2 * Copyright (c) 2014 ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group.
8 */
9
10#ifndef LIB_IOAT_DMA_DCA_H
11#define LIB_IOAT_DMA_DCA_H
12
13
14
15/**
16 * \brief enables direct cache access
17 */
18errval_t ioat_dma_dca_enable(void);
19
20
21/**
22 * \brief disables direct cache access
23 */
24errval_t ioat_dma_dca_disable(void);
25
26
27/**
28 * \brief checks whether DCA is enabled
29 *
30 * \returns 1 if DCA is enabled
31 *          0 if DCA is disabled
32 */
33uint8_t ioat_dma_dca_is_enabled(void);
34
35
36#endif  /* LIB_IOAT_DMA_DCA_H */
37