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 XEON_PHI_MANAGER_CARDS_H_
11#define XEON_PHI_MANAGER_CARDS_H_
12
13
14/**
15 * \brief   Inserts the information about the new Xeon Phi into the
16 *          card manager
17 *
18 * \param   binding the flounder binding for this card
19 * \param   driver  the iref to the driver
20 * \param   id      returns the id of the newly inserted card
21 */
22errval_t cm_new_xeon_phi(struct xeon_phi_manager_binding *binding,
23                         iref_t driver,
24                         uint8_t *id);
25
26
27/**
28 * \brief  returns an array of irefs with the assciated xeon phi drivers
29 *
30 * \param  iref the iref array
31 * \param  num  the number of irefs in the iref array
32 *
33 * \return SYS_ERR_OK
34 */
35errval_t cm_get_irefs(iref_t *iref, uint8_t *num);
36
37#endif /* XEON_PHI_MANAGER_CARDS_H_ */
38