1/* 2 * Copyright (c) 2013, 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, Universitaetstrasse 6, CH-8092 Zurich. Attn: Systems Group. 8 */ 9 10#ifndef DEVICE_CAPS_H 11#define DEVICE_CAPS_H 12 13errval_t device_id_cap_create(struct capref dest, uint8_t type, uint16_t segment, 14 uint8_t bus, uint8_t device, 15 uint8_t function, uint16_t flags); 16errval_t get_device_cap(lpaddr_t address, size_t size, struct capref* devframe); 17errval_t init_device_caps_manager(void); 18 19#endif // DEVICE_CAPS_H 20